Heres the thing I just installed Redhat 9.0 on my new Thinkpad G40 almost every thing worked out of the box. I am having a problem getting the function keys to work (really all im concerned about is the volume keys) so i looked up Linux for Laptops and saw this article
http://www.hardeman.nu/~david/thinkpad/#keyboard and I did exactly what it said but I keep getting stuck on the part where it says update-rc.d tpb defaults 99 I get command not found. I used man update and didn't really find any help there. I also know tpb is installed because when I type tpb in a terminal I get this message:
[root@Zane-Domain init.d]# tpb
There is already a application grabbing some ThinkPad keys.
Possibly you restarted tpb too fast.
and I also tried this:
[root@Zane-Domain init.d]# /etc/init.d/tpb restart
Restarting ThinkPad button daemon: tpb/etc/init.d/tpb: line 17: start-stop-daemon: command not found
/etc/init.d/tpb: line 19: start-stop-daemon: command not found
and this:
[root@Zane-Domain init.d]# /etc/init.d/tpb force-reload
Restarting ThinkPad button daemon: tpb/etc/init.d/tpb: line 17: start-stop-daemon: command not found
/etc/init.d/tpb: line 19: start-stop-daemon: command not found
here is my script in /etc/init.d fot tpb
#!/bin/sh
# Start/stop the tpb daemon.
DAEMON=/usr/bin/tpb
test -f $DAEMON || exit 0
case "$1" in
start) echo -n "Starting ThinkPad button daemon: tpb"
start-stop-daemon --start --quiet --exec $DAEMON -- -d
echo "."
;;
stop) echo -n "Stopping ThinkPad button daemon: tpb"
start-stop-daemon --stop --quiet --exec $DAEMON
echo "."
;;
restart|reload|force-reload) echo -n "Restarting ThinkPad button daemon: tpb"
start-stop-daemon --stop --quiet --exec $DAEMON
sleep 2
start-stop-daemon --start --quiet --exec $DAEMON -- -d
echo "."
;;
*) echo "Usage: /etc/init.d/tpb start|stop|restart|reload|force-reload"
exit 1
;;
esac
exit 0
So if any one has had this problem or knows what program that might be causing this one to malfunction let me know because if you noticed it says that there is already a program trying to grab the thinkpad keys