T61p and acpi_ibm

Dan Olson danolson at visi.com
Tue Mar 18 03:50:32 UTC 2008


Markus Brueffer wrote:
> Am Samstag, 15. März 2008 02:34:52 schrieb Dan Olson:
>> So I just got a new Lenovo T61p and thought I'd try the acpi_ibm kernel
>> module to see if it works.  Well it loads with out errors and the
>> thinklight changes from 0 to 1.   The lcd_brightness variable doesn't
>> change but the buttons works. Also it looks like the mute and volume are
>> real keys now as they are registered in X as key presses.
>>
>> Most of the buttons actually work but is there any thing that can be
>> done to get some more buttons to be seen by acpi_ibm?  I played with
>> changing the eventmask with no luck. Any suggestions?
> 
> I suppose, you already set dev.acpi_ibm.0.events=1 and 
> dev.acpi_ibm.0.eventmask=16777215 ?
> 
> A lot of keys throw acpi events which are being handled by devd. Did you 
> already have a look at these?
> 
> Which keys exactly don't work?
> 
> In order to analyze this further, we need a copy of the DSDT:
> 
> # acpidump -dt > t61p.asl
> 
> Please put the resulting file t61p.asl on a webserver and provide a link to 
> that file.

Yeah, I've tried those events and eventmask sysctls.

I've read the devd man pages and don't know how to configure it to 
respond to key presses that don't change the sysctls states.

The only keys that I have noticed that don't change the corresponding 
sysctls are the lcd brightness up and down, the volume up and down, and 
the mute. These keys actually work it is just the sysctls don't change.

dev.acpi_ibm.0.lcd_brightness: 0
dev.acpi_ibm.0.volume: 7
dev.acpi_ibm.0.mute: 0

The lcd_brightness is always 0, the volume is always 7 and mute is 
always 0.

Reading the mailing list for the linux driver for thinkpads make me 
think that Lenovo changed stuff for the T6x series.

Here is the acpi dump.

http://209.98.225.50/~olson/t61p.asl

I'm starting to look at the ACPI Spec Rev 3.0b.  What part of the asl 
file deals with the key presses?

Thanks much for taking an interest.

Dan


More information about the freebsd-acpi mailing list