You are not logged in.
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
I do execute:
echo enable,0xffff >/proc/acpi/ibm/hotkey
to enable the hotkeys ... no help again
Would appreciate more info on this matter. I tried everything
Thanks
Last edited by gemidjy (2007-07-16 10:24:21)
Offline
i think you have the same problem. but no one has recognized this thread. so please post there to solve the problem.
http://bbs.archlinux.org/viewtopic.php?id=35111
mfg iggy
sorry for my bad english
Offline
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
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
Offline
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
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
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
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
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
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