Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2008 00:18:58 +1100
From:      Norberto Meijome <freebsd@meijome.net>
To:        freebsd-acpi@freebsd.org
Subject:   Re: T61p  and acpi_ibm
Message-ID:  <20080320001858.5629f19e@meijome.net>
In-Reply-To: <47DF2DF2.6060203@visi.com>
References:  <47DB27BC.5050307@visi.com> <200803171834.49216.markus@FreeBSD.org> <47DF2DF2.6060203@visi.com>

index | next in thread | previous in thread | raw e-mail

(my apologies if this email arrives twice...)
On Mon, 17 Mar 2008 21:50:26 -0500
Dan Olson <danolson@visi.com> wrote:

> 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.

Hi Dan et al,
what you experience is the same to what I see in my older z60m. A solution would be great :)

Anyway, you may find these 
http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008948.html
and

http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008959.html

useful wrt to handling devd and custom scripts... AFAIK, you don't need sysctl values to be changed for devd events to be triggered, but I could be wrong.

cheers,


_________________________
{Beto|Norberto|Numard} Meijome

"Everything is interesting if you go into it deeply enough"
  Richard Feynman

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080320001858.5629f19e>