Date: Mon, 17 Mar 2008 21:50:26 -0500 From: Dan Olson <danolson@visi.com> To: Markus Brueffer <markus@FreeBSD.org> Cc: freebsd-acpi@freebsd.org Subject: Re: T61p and acpi_ibm Message-ID: <47DF2DF2.6060203@visi.com> In-Reply-To: <200803171834.49216.markus@FreeBSD.org> References: <47DB27BC.5050307@visi.com> <200803171834.49216.markus@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47DF2DF2.6060203>