You are not logged in.

#1 2007-10-17 20:21:24

pirx
Member
Registered: 2007-10-14
Posts: 15

ThinkPad T60: special keys, control kde volume and HAL problems

I am using arch for quite some time now and I really love it. But I could not figure out how to activate some of my special keys.

Problems:
- tpb does work, but its ugly and does not control the system mixer (eg, kde kmix does not recognize it)
- I can't define the ThinkVantage button for custom actions (open up konsole wink )
- navigation keys page next and page prev do not work

any help is much appreciated.. after some reading I think HAL is the way to go, since the nice ubuntu package is not portable across distributions (or noone is interested in doing so..)

problem with HAL is that I get the following errors and it does not start up:
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/10-recall-battery-dell.fdi:8: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/10-recall-battery-fujitsu.fdi:7: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/10-recall-battery-gateway.fdi:7: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/10-recall-battery-ibm.fdi:8: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/10-recall-battery-toshiba.fdi:7: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi:35: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/10-usbcsr-mice.fdi:29: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi:9: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-asus.fdi:12: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi:34: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-hp.fdi:14: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi:33: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-lenovo.fdi:6: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-toshiba.fdi:20: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/30-keymap-acer.fdi:12: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/30-keymap-dell.fdi:67: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/30-keymap-hp.fdi:25: Bad rule: unknown type_match
Oct 17 22:15:38 ps-laptop hald[7899]: error in fdi file /usr/share/hal/fdi/information/10freedesktop/30-keymap-module-thinkpad-acpi.fdi:39: Bad rule: unknown type_match

Offline

#2 2007-12-22 19:11:37

mariahoney
Member
Registered: 2007-03-21
Posts: 6

Re: ThinkPad T60: special keys, control kde volume and HAL problems

Did you get this working yet?  I may have some tips.

Offline

#3 2009-04-30 14:19:53

ralle
Member
From: Hannover
Registered: 2009-04-25
Posts: 20

Re: ThinkPad T60: special keys, control kde volume and HAL problems

@mariahoney: I would love to have get some clarification on this topic!

Here's my setup! From my understanding U get to choose from 2 possible ways to tackle this problem. The one considered to be kinda deprecated ist the acpi, acpid, acpihandler.sh way whereas the hal, fdi files way seems to be the way to go these days. This is what I learned mostly from ThinkWiki... Anybody feel free to correct me if I'm wrong!

Okay, now if I where to follow the first path, which I did up to some point, I added the acpid to my deamons and stopped where I was to edit the acpihandler.sh script. At that it seemed obvious to me that you need to grab those events via acpi_listen and edit the shell script --- DONE! Funny thing is, with this configuration I was able to toggle my bluetooth adapter using Fn+F5.... Like I said, I wanted the "modern" HAL, fdi way...

So basically I added the thinkpad_acpi to my modules and added the 30- ....thinkpad_acpi.fdi file to my /etc/hal/fdi ... /information folder. xorg.conf looks fine... acpi_listen shows me now a lot more events now, which I tend to feel good about, BUT for example an Fn+F5 key isn't toggling my bluetooth anymore!!! WTF?!

So where do I go from here? What am I missing what am I supposed to do? BTW my DE is KDE 4.2.2...

Thanks in advance people...

ralle

Offline

#4 2009-05-06 11:29:29

flateric
Member
Registered: 2007-08-28
Posts: 52

Re: ThinkPad T60: special keys, control kde volume and HAL problems

Hello,

try this command : echo "disable" > /proc/acpi/ibm/hotkey
and touch FN+F5 again. (I have z61m and this works)

FlatEric

Offline

Board footer

Powered by FluxBB