You are not logged in.

#1 2007-07-15 15:16:00

gemidjy
Member
Registered: 2007-06-29
Posts: 10

Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

I have IBM/Lenovo Thinkpad T60. On it there is ArchLinux installed with all necessary patches and tweaks to make it work smoothly.

I use the Fn-keys pretty often, I got used to them. Not that my question is crucial for the work of the laptop but...It is annoying. So I have Fn+F4 key to put the notebook suspend to Ram. It was workinf perfectly. The system was noticing it and I gave action to that key through /etc/acpi/events/sleep file which was set to execute the

echo -n mem > /sys/power/state

command. It was fine...

yesterday suddenly from nowhere, the Key combination stopped working. I press Fn+F4 and nothing happens. I checked /var/log/acpid to see if ACPI notices if the Fn+F4 is pressed, but nope...nothing in there since yesterday. I use ~/.xprofile and ~/.Xmodmap files which have this within them:

.xprofile:

setxkbmap -model thinkpad -layout 'us,mk' -option grp:switch -option grp_led:scroll -option grp:menu_toggle -option grp:lwin_switch -option compose:rwin

.Xmodmap:

keycode 234 = XF86Back
keycode 233 = XF86Forward
keycode 159 = XF86Start
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 153 = XF86AudioNext
keycode 144 = XF86AudioPrev
keycode 227 = XF86LaunchF
keycode 249 = XF86ZoomIn
keycode 115 = F13
keycode 227 = F35

Even without those two files the Fn+F4 is not recognized hmm

I do execute:

echo enable,0xffff >/proc/acpi/ibm/hotkey

to enable the hotkeys ... no help again hmm

Would appreciate more info on this matter. I tried everything

Thanks

Last edited by gemidjy (2007-07-16 10:24:21)

Offline

#2 2007-07-15 21:49:24

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

i think you have the same problem. but no one has recognized this thread. so please post there to solve the problem. smile

http://bbs.archlinux.org/viewtopic.php?id=35111

mfg iggy


sorry for my bad english smile

Offline

#3 2007-07-15 22:08:28

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

Hello,

I don't know how to fix your problems, but I can give you one bit of info: The new acpid package does not log to /var/log/acpid anymore.  Check out everything.log instead.  I had to create entries in syslogd/logrotate to get acpi logging to go back to acpid.log.

ciao.

Offline

#4 2007-07-16 01:38:41

gemidjy
Member
Registered: 2007-06-29
Posts: 10

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

The fact is that ACPI and stuff works fine, it just doesn't recognizes the Fn+key combinations...

Earlier, with 'xev' I could get Fn+F4 keycode and info, now nothing is send to output when I press Fn+F4 while 'xev' is running hmm

Offline

#5 2007-07-16 10:25:35

gemidjy
Member
Registered: 2007-06-29
Posts: 10

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

I just disabled hotkeys

echo disable,0xfff > /proc/acpi/ibm/hotkey

and it works!!

Last edited by gemidjy (2007-07-16 10:26:01)

Offline

#6 2007-11-06 15:53:43

yukonho
Member
Registered: 2007-10-20
Posts: 3

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

gemidjy wrote:

I just disabled hotkeys

echo disable,0xffff > /proc/acpi/ibm/hotkey

and it works!!

This fixed it for me on a T40 thinkpad, too - thanks! 
This is probably a real newbie question, but how would I make it so it's disabled each time I reboot?  Right now it re-enables itself each time I start up.

Offline

#7 2007-11-06 22:04:30

steve-e
Member
Registered: 2007-10-03
Posts: 37

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

Just put the line above into /etc/rc.local and enjoy :-)

rc.local is the last boot script to be called and was just made for stuff like this.

Offline

#8 2007-11-06 23:16:19

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

gemidjy wrote:

I just disabled hotkeys

echo disable,0xfff > /proc/acpi/ibm/hotkey

and it works!!

Thanks for this - I've been missing Fn-F4 on my T40p.  Are there any drawbacks/side effects to disabling hotkeys?

Offline

#9 2007-11-12 21:40:45

steve-e
Member
Registered: 2007-10-03
Posts: 37

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

PeterMo, you can modifiy the bitmask to change only the bluetooth behaviour. For more info check thinkwiki.org.

Gemidjy, what does your setxkbmap command do?

Can all thinkpad users please run the following comamnd and post the output here? I guess there is somehow a bug in the halinfo package.

lshal | grep system.hardware

How the result may look like:

 system.hardware.primary_video.product = 29001  (0x7149)  (int)
  system.hardware.primary_video.vendor = 4098  (0x1002)  (int)
  system.hardware.product = '2007PAG'  (string)
  system.hardware.vendor = 'LENOVO'  (string)
  system.hardware.version = 'ThinkPad T60'  (string)

Offline

#10 2007-11-12 21:48:41

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: Fn+F4 suddenly stopped workin on Thinkpad T60 [SOLVED]

steve-e wrote:

Can all thinkpad users please run the following comamnd and post the output here? I guess there is somehow a bug in the halinfo package.

lshal | grep system.hardware

I'm not running hal/dbus so I get no useful output.

Offline

Board footer

Powered by FluxBB