[ltp] Low Typematic-Rate after suspend

Frederic Gaus linux-thinkpad@linux-thinkpad.org
Thu, 25 Sep 2003 01:29:21 +0200


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

On Wed, Sep 24, 2003 at 04:03:22PM -0700, Peter Theunis wrote:
> A few things to try:
>=20
> restart apmd
> make sure the script has the right permissions.
I restarted apmd every time. the script is owned by root and has the
permission 755
>=20
> Maybe the script doesn't get the right input.
> Can you paste the last lines of your /etc/apm/apmd_proxy file ?
> I *think* that I had to change a few things.
> I have the following:
>=20
> # new-style event.d directory.  All new event scripts go here.
> #
> run-parts --arg=3D"${1}" --arg=3D"${2}" /etc/apm/event.d
I have the same line in my apmd_proxy-file

Freddy
>=20
> p
>=20
> Frederic Gaus [ml-linux-thinkpad@necroshine.de] wrote:
> > On Wed, Sep 24, 2003 at 02:33:24PM -0700, Peter Theunis wrote:
> > > If your apmd version supports new-style event.d directories, try this:
> > >=20
> > > create a script in /etc/apm/event.d; i.e: keyboard_resume.sh
> > >=20
> > > containing the following:
> > > <CODE>
> > >=20
> > > #!/bin/sh
> > > =20
> > > if [ "$1" =3D "resume" ]; then
> > > /sbin/kbdrate -r 30.0
> > > fi
> > >=20
> > > </CODE>
> > This event.d directory exists on my system. So I created that file ..=
=20
> > but there seems to be no effect of it.=20
> >=20
> > I also tried to put this file into /etc/apm/resume.d .. but no effect at
> > all. I still get slow keyrate after resume
> >=20
> > Simply writing /sbin/kbdrate -r 30.0 in the script (without the if)
> > stays without any effect.=20
> >=20
> > Who can help me?
> >=20
> > Freddy
> > >=20
> > > If your apmd version doesn't support that directory layout, have a lo=
ok at /etc/apm/apmd_proxy to figure out what you should do,
> > >=20
> > > cheers
> > >=20
> > > peter
> > >=20
> > > Frederic Gaus [ml-linux-thinkpad@necroshine.de] wrote:
> > > > Hi people
> > > >=20
> > > > Suspend (Fn+F4) works fine for me in most cases, only one problem is
> > > > left: After Suspend i got a really low typematic-rate (holding one =
key
> > > > pressed, the letter only repeats very slow)
> > > >=20
> > > > I can fix this by executing /sbin/kbdrate -r 30.0, so it is not a r=
eal
> > > > problem. But it would be nice if I could automate this.
> > > >=20
> > > > Thanks for your hints
> > > >=20
> > > > Freddy
> > >=20
> > >=20
> > >=20
> > > --=20
> > > I'm a VIP at my local liquor store and I'm root. Fear me !
> > > --=20
> > > The linux-thinkpad mailing list home page is at:
> > > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> > >=20
>=20
>=20
>=20
> --=20
> I'm a VIP at my local liquor store and I'm root. Fear me !
> --=20
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>=20

--RnlQjJ0d97Da+TV1
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE/cijRq1TY6JPmkDwRApqGAKDDl2uApthaxWh0jBuCI3p5oG0bpQCeLjuN
fDBy+qA13vjcEryV+X1f6Vs=
=lTAp
-----END PGP SIGNATURE-----

--RnlQjJ0d97Da+TV1--