[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-thinkpad
Subject:    Re: [ibm-acpi-devel] [ltp] Re: CALL FOR TESTING: thinkpad-acpi
From:       Michael Olbrich <michael.olbrich () gmx ! net>
Date:       2007-07-14 15:02:20
Message-ID: 20070714150220.GA29758 () c027 ! apm ! etc ! tu-bs ! de
[Download RAW message or body]

On Sat, Jul 14, 2007 at 10:20:40AM -0300, Henrique de Moraes Holschuh wrote:
> On Tue, 10 Jul 2007, Michael Olbrich wrote:
> > brightness:
> > keys work. procfs and sysfs are updated correctly.
> > setting with procfs works.
> > sysfs accepts 30, 40, 50, 60, 70, 80, 90, 100 only. All other values do
> > not affect actual_brightness at all. I would expect that the next best
> > setting is used. (e.g. brightness=46 -> actual_brightness=50)
> 
> Which kernel is this?  thinkpad-acpi uses a brightness scale from 0-7 (it
> needs to be fixed for 0-15 for the T61, but I didn't find a proper way to do
> that yet).
> 
> If sysfs is accepting percentages, then it is something the backlight class
> is doing by itself, and not something I can fix.  You'd need to report it to
> the backlight class maintainer...

ah, sorry I got that mixed up "ls /sys/class/backlight/"
gives me "acpi_video0  acpi_video1  thinkpad_screen". All three access
the same backlight. thinkpad_screen uses 0-7 properly. The other two do
no. So that's no thinkpad-acpi problem.

> > volume up/down/mute
> > <PgUp> (light)
> 
> Yeah, that's per thinkpad-acpi design. You can get events from them if you
> which, by activating their bits in hotkey_mask (and maybe changing the
> keymap using input-kbd).

That doesn't work for me:
$ echo 0xffffffff >/sys/devices/platform/thinkpad_acpi/hotkey_mask
$ cat /sys/devices/platform/thinkpad_acpi/hotkey_mask
0x00ffffff

and still no events for volume up/down/mute, <PgUp> (light)

michael


["signature.asc" (application/pgp-signature)]
-- 
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic