If I run kbdrate as root from the command line:
# kbdrate -r 23
Typematic Rate set to 21.8 cps (delay = 250 ms)
it works fine. But if I run it from a script in /etc/apmd/event.d
#!/bin/sh
case "$1" in
resume)
kbdrate -r 23 2>&1 | logger
;;
esac
I get
ioctl(KDKBDREP): Inappropriate ioctl for device
in my log files.
Any idea how to work around this?
Please cc me on replies.
Thanks,
Dan