IBM R52 Laptop, LCD/CRT toggle doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hotkey-setup (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: hotkey-setup
Fn+F7 should toggle LCD/CRT modes. Worked in Ubuntu 7.04, doesn't work on a clean install of Ubuntu 7.10.
As reported by dmidecode the machine is:
IBM
1859BBU
ThinkPad R52
Looking at the tail of /var/log/acpid while pressing the combination Fn+F7 gives:
[Wed Oct 31 18:54:54 2007] received event "ibm/hotkey HKEY 00000080 00001007"
[Wed Oct 31 18:54:54 2007] notifying client 4872[107:116]
[Wed Oct 31 18:54:54 2007] notifying client 5198[0:0]
[Wed Oct 31 18:54:54 2007] executing action "/bin/true"
[Wed Oct 31 18:54:54 2007] BEGIN HANDLER MESSAGES
[Wed Oct 31 18:54:54 2007] END HANDLER MESSAGES
[Wed Oct 31 18:54:54 2007] action exited with status 0
[Wed Oct 31 18:54:54 2007] completed event "ibm/hotkey HKEY 00000080 00001007"
It's clear that it's getting to
/etc/acpi/
Unfortunately, the action variable in the file is the trivial action=/bin/true
What I don't get is that when I went back to the Ubuntu 7.04 source and looked through the acpi-support package, this file is the same. I don't know why it worked in 7.04 and not in 7.10.
Well, I just finished installing 7.04 and indeed the video switching works just fine there.
In 7.10, I suspect it's a problem with the hotkey keymask in /etc/modprobe. d/thinkpad_ acpi.modprobe
the contents of which are, by default:
options thinkpad_acpi hotkey= enable, 0xffff8f experimental=1
As near as I can tell, this should set the mask to 0xffff8f in /proc/acpi/ ibm/hotkey to that value, but instead it has the following contents:
status: enabled
mask: 0xffffff
commands: enable, disable, reset, <mask>
as you can see the mask is trivial, capturing all key strokes.
In 7.04, Fn+F7 doesn't generate an acpi event. I'm guessing it goes straight to the hardware and does the right thing.
To fix this, I somehow have to get the mask in /proc/acpi/ ibm/hotkey to be what it was in 7.04, but all of my attempts to change it have been ignored.
Any help?