[ltp] Low Typematic-Rate after suspend

Frederic Gaus linux-thinkpad@linux-thinkpad.org
Thu, 25 Sep 2003 16:23:39 +0200


--tVmo9FyGdCe4F4YN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Thank you for your help guys, I've just found the error. I renamed the
script to 01kbdrate and its executed after the suspend now.

But nevertheless it is not working for me. Apm reports the following
error:


ioctl(KDKBDREP): Inappropriate ioctl for device
run-parts: /etc/apm/event.d/01kbdrate exited with return code 1
apmd: Proxy exited with status 1

Does someone has an idea?

Freddy


On Thu, Sep 25, 2003 at 04:13:57PM +0200, Frederic Gaus wrote:
> On Thu, Sep 25, 2003 at 02:46:41PM +0200, Martin Hermanowski wrote:
> > On Thu, Sep 25, 2003 at 01:55:55PM +0200, Frederic Gaus wrote:
> > > On Wed, Sep 24, 2003 at 04:35:15PM -0700, Peter Theunis wrote:
> > > > Start apmd in debug mode (-d ); this should tell you what's going o=
n.
> > > >=20
> > > > p
> > >=20
> > > Okay, i've done so (apmd --verbose 7 is the right command I think)
> > >=20
> > [...]
> > >=20
> > > Maybe the line Executing proxy: '/etc/apm//apmd_proxy' is the problem,
> > > because it is not /etc/apm/apmd_proxy but i don't know how to fix this
> >=20
> > I don't think so, the extra slash should not change anything.
> >=20
> > You could try to append a line to a file (echo test >> /tmp/test) right
> > before calling kbdrate, to see if these commands are run by apmd at all
> > (they should).
> Patently they are not. None such testfile is createt (neither the script
> in /etc/apmd/event.d/ or /etc/apmd/resume.d/ creates my testfile
>=20
> echo testing_over >> /tmp/test
> if [ "$1" =3D "resume" ]; then
> /sbin/kbdrate -r 30.0
> fi
>=20
> >=20
> > LLAP, Martin
>=20
>=20



--tVmo9FyGdCe4F4YN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/cvprq1TY6JPmkDwRAjMfAKCvoeDw1ywldONekr99JlkLrzK4rQCcCcGF
9BucHaOuUUuvSpECFvU69u4=
=PnQq
-----END PGP SIGNATURE-----

--tVmo9FyGdCe4F4YN--