Hi all, ** Debian testing/unstable **
I'm having some trouble here with kbdrate. The problem is that on resume from an apmd suspend, my laptop defaults back to a keyboard repeat rate of 10, and that is _really_ slow. Manually executing kbdrate -r30 as root solves that problem. But of course I don't work as root, and it obviously should be automatable. I've tried putting a little script in /etc/apm/event.d called 'kbdrate', that looks like this: #!/bin/bash # /etc/apm/event.d/kbdrate if [ "$1" = "resume" ] ; then /sbin/kbdrate -r30 -d250 fi But that doesn't do it. Also, when executing /sbin/kbdrate as a user, one gets 'Cannot open /dev/port: permission denied'. I've tried setuid & setguid'ing /dev/port, doesn't help. I've even tried setuid & setguid'ing my little kbdrate script in /etc/apm/event.d, but that doesn't help either. Any suggestions? Thanks in advance, Ward. -- Pong.be -( "Free Software as in free speech, not free beer. Think )- Virtual hosting -( of freedom, not price." -- Richard Stallman )- http://pong.be -( )- GnuPG public key: http://gpg.dtype.org
msg16442/pgp00000.pgp
Description: PGP signature