Re: thinkpad-acpi: fn-f4 issues

From: Henrique de Moraes Holschuh
Date: Tue Jan 25 2011 - 19:30:47 EST


On Wed, 26 Jan 2011, Jeff Chua wrote:
> > Which thinkpad do you have that need CONFIG_THINKPAD_ACPI_HOTKEY_POLL to
> > handle Fn+F4?   I don't expect that to be needed on anything newer than a
> > T32...
>
> X201s which is quite new.

Yay. Send me dmidecode (XXX-out UUID and serial numbers) and output of of
acpidump, please. And check that you have the latest version of the
firmware installed.

> thinkpad_acpi: ThinkPad ACPI Extras v0.24
> thinkpad_acpi: http://ibm-acpi.sf.net/
> thinkpad_acpi: ThinkPad BIOS 6QET62WW (1.32 ), EC 6QHT31WW-1.12
> thinkpad_acpi: Lenovo ThinkPad X201s, model 5413FGA
> thinkpad_acpi: detected a 8-level brightness capable ThinkPad
> thinkpad_acpi: radio switch found; radios are enabled
> thinkpad_acpi: possible tablet mode switch found; ThinkPad in laptop mode
> thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked

Well, it didn't complain about hotkeys, so it probably got all those that it
requested, which includes Fn+F4. When in doubt, please either run the
driver in debug mode, or check the hotkey_mask in sysfs.

Please check with xev and something like input-events or some other
input-device snooper whether you get events when you press Fn+F4. Maybe
userspace is ignoring it.

It should be something else, since poll mode seems to fix it, but let's get
the easy stuff out of the way first.

> thinkpad_acpi: volume: disabled as there is no ALSA support in this kernel
> input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input5
>
> And the volume up/down does not work either even with thinkpad ALSA
> support enabled.

Check if something in userspace is listening to these keys. They go over
the regular keyboard interface. You don't have volume hotkeys or a mixer,
you just have two regular keys. You'll be lucky if you still have a real
MUTE gate outside of the control of the HDA mixer...

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/