Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 04-06-2004, 10:52 AM   #1
LQ Newbie
Registered: Mar 2003
Location: Pennsylvania
Distribution: Redhat 9.0
Posts: 17

Rep: Reputation: 0
Question Thinkpad G40 function keys not working

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 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

# Start/stop the tpb daemon.

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
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
Old 04-06-2004, 06:09 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Look over this idea.
Old 08-14-2004, 08:52 AM   #3
Registered: Apr 2004
Location: NY
Distribution: RHEL and Fedora
Posts: 30

Rep: Reputation: 15
Thinkpad buttons

I am using SuSE9.1 Pro, and i installed Thinkpad related packages (tpn, configure-configure, ..etc) available with SuSE9.1Pro DVD.
When i do this command on consile all buttons are working
tpb --osd=on --verbose --thinkpad="/usr/bin/X11/xterm -T ntpctl -e ntpctl"

How to configure my tpb to start automatically when system booted.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mdk10.1 official: function keys not working Sjonnie48 Mandriva 0 11-03-2005 05:07 AM
Using Function Keys with SSH bad_andy Linux - Networking 3 01-26-2005 06:41 PM
Install SuSE 9.1 Linux on IBM Thinkpad G40. leessusan Linux - Laptop and Netbook 3 08-04-2004 09:58 PM
hwo to enable ACPI on my thinkpad G40 narensr Red Hat 1 04-29-2004 08:33 PM
Function Keys under Redhat 9 nick81 Linux - Software 0 03-08-2004 12:25 AM

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration