[ltp] Re: [PATCH] Set osi=Linux for the ThinkPad X200s

Matthew Garrett linux-thinkpad@linux-thinkpad.org
Tue, 10 Nov 2009 12:42:42 +0000


On Tue, Nov 10, 2009 at 07:24:18AM -0200, Henrique de Moraes Holschuh wrote:

> It is supposed to go over the KDC.  But I would be _really_ interested on
> any events related to volume key presses on the X200s.  I expect it is
> issuing one of the ACPI volume notification events with OSI(Linux), and none
> without.

It appears over the KDC when OSI(Linux) is passed, and doesn't 
otherwise.

> AFAIK, the native volume control through windows is being done in a
> different way, nowadays.  I'd need to know, without OSI(Linux), where the
> events are going.  That'd be enough to know when to read EC 0x30 and check
> if it is now mute/unmute.

Yeah. There's clearly some way to hook this (given that it works in 
Windows when the Thinkpad-specific driver is installed) - I'll try to 
find a recent machine to test.

-- 
Matthew Garrett | mjg59@srcf.ucam.org