LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
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).

Notices

Reply
 
LinkBack Search this Thread
Old 04-06-2004, 10:52 AM   #1
mcquay18
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
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
 
Old 04-06-2004, 06:09 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
Look over this idea.
http://www.linuxquestions.org/questi...light=volumeup
 
Old 08-14-2004, 08:52 AM   #3
narensr
Member
 
Registered: Apr 2004
Location: NY
Distribution: RHEL and Fedora
Posts: 30

Rep: Reputation: 15
Thinkpad buttons

Hi,
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.

Regards/Naren
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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:07 PM.

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