[ibm-acpi-devel] [ltp] Re: CALL FOR TESTING: thinkpad-acpi BETA release 0.14-20070708

Michael Olbrich linux-thinkpad@linux-thinkpad.org
Sat, 14 Jul 2007 17:02:20 +0200


--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D46 -> actual_brightness=3D50)
>=20
> 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).
>=20
> If sysfs is accepting percentages, then it is something the backlight cla=
ss
> 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)
>=20
> 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


--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGmOV73fK8vSqP5HsRAo7MAKCUeAeiF795upQfH8tVyRavrQHkcgCeOpqm
NZhxOcUHdsIsa9jiDza2zjs=
=Hgml
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--