Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Henrique de Moraes Holschuh
On Thu, 05 Jul 2007, Chris Hanson wrote: > I'm using 2.6.21.5 with the whoopie patches (which include an older > version of thinkpad-acpi 0.14). On this system the brightness keys work > fine, as does tpb's on-screen display. Do you need me to try the > current version of thinkpad-acpi, or doe

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Chris Hanson
Henrique de Moraes Holschuh wrote: >> The brightness controls _are_ implemented in SSDT1. Maybe they even >> work. How do I test that? > > The ACPI video module is supposed to know how to talk to them... and it > shouldn't be too broken since 2.6.21. I'm using 2.6.21.5 with the whoopie patche

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Henrique de Moraes Holschuh
On Thu, 05 Jul 2007, Chris Hanson wrote: > Henrique de Moraes Holschuh wrote: > > On Thu, 05 Jul 2007, Chris Hanson wrote: > >> Henrique de Moraes Holschuh wrote: > >>> It is also a good idea to read the ACPI specification 3.0b, and check what > >>> is the ACPI standard way of dealing with display

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Chris Hanson
Henrique de Moraes Holschuh wrote: > On Thu, 05 Jul 2007, Chris Hanson wrote: >> Henrique de Moraes Holschuh wrote: >>> It is also a good idea to read the ACPI specification 3.0b, and check what >>> is the ACPI standard way of dealing with display brightness. If Lenovo is >>> supporting that one, i

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Henrique de Moraes Holschuh
On Thu, 05 Jul 2007, Chris Hanson wrote: > Henrique de Moraes Holschuh wrote: > > It is also a good idea to read the ACPI specification 3.0b, and check what > > is the ACPI standard way of dealing with display brightness. If Lenovo is > > supporting that one, it is best to just switch to it on Leno

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Chris Hanson
Henrique de Moraes Holschuh wrote: > It is also a good idea to read the ACPI specification 3.0b, and check what > is the ACPI standard way of dealing with display brightness. If Lenovo is > supporting that one, it is best to just switch to it on Lenovo thinkpads. According to the spec, the standar

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Henrique de Moraes Holschuh
On Thu, 05 Jul 2007, Antti P Miettinen wrote: > > > Please check if position 0x5E in the output of > > > hexdump -C /dev/nvram > > > has the brightness level (0..7) in the lowest three bits. > > > > Yeap, it's there, and updated. > > Same for me. More details at > http://permalink.gmane.org/gmane

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Antti P Miettinen
> > Please check if position 0x5E in the output of > > hexdump -C /dev/nvram > > has the brightness level (0..7) in the lowest three bits. > > Yeap, it's there, and updated. Same for me. More details at http://permalink.gmane.org/gmane.linux.acpi.ibm-acpi.devel/383 -- http://www.iki.fi/~ananaza

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Alfredo Matos
On Thu, 2007-07-05 at 10:37 -0300, Henrique de Moraes Holschuh wrote: > On Thu, 05 Jul 2007, Alfredo Matos wrote: > > 4 brigs up the brightness, while 5 lowers. It works, though no change > > detected in the 0x31 register. > > That's the old CMOS API for changing brightness. So, that means we *ca

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Henrique de Moraes Holschuh
On Thu, 05 Jul 2007, Alfredo Matos wrote: > 4 brigs up the brightness, while 5 lowers. It works, though no change > detected in the 0x31 register. That's the old CMOS API for changing brightness. So, that means we *can* support it in these machines, and I won't even bitch at Lenovo for switching

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Alfredo Matos
On Wed, 2007-07-04 at 23:26 -0300, Henrique de Moraes Holschuh wrote: > On Wed, 04 Jul 2007, Alfredo Matos wrote: > > > What does "echo 0x31 N" > /proc/acpi/ibm/ecdump (where N is a number from > > > 0 > > > to 7) do in your thinkpad? Does a cat /proc/acpi/ibm/ecdump show that the > > > value chan

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Henrique de Moraes Holschuh
On Thu, 05 Jul 2007, Richard Hughes wrote: > On Wed, 2007-07-04 at 23:26 -0300, Henrique de Moraes Holschuh wrote: > > If it does nothing, that means the end of thinkpad-acpi brightness > > support for these thinkpads. Your only hope will be that the standard > > ACPI brightness interface works, o

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Richard Hughes
On Wed, 2007-07-04 at 23:26 -0300, Henrique de Moraes Holschuh wrote: > If it does nothing, that means the end of thinkpad-acpi brightness > support for these thinkpads. Your only hope will be that the standard > ACPI brightness interface works, or that someone reverse engineers > whichever new in

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-05 Thread Henrique de Moraes Holschuh
On Wed, 04 Jul 2007, Alfredo Matos wrote: > > What does "echo 0x31 N" > /proc/acpi/ibm/ecdump (where N is a number from 0 > > to 7) do in your thinkpad? Does a cat /proc/acpi/ibm/ecdump show that the > > value changed as expected? > > Uhmm, it updates the value, but the brightness does not change

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-04 Thread Alfredo Matos
On Tue, 2007-07-03 at 23:30 -0300, Henrique de Moraes Holschuh wrote: > On Tue, 03 Jul 2007, Henrique de Moraes Holschuh wrote: > > On Tue, 03 Jul 2007, Alfredo Matos wrote: > > > > Is it EC register 0x31? > > > > > > Done. It's 0xa0 from what i can see. > > > > Ok. This is the first EC incompa

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-03 Thread Henrique de Moraes Holschuh
On Tue, 03 Jul 2007, Henrique de Moraes Holschuh wrote: > On Tue, 03 Jul 2007, Alfredo Matos wrote: > > > Is it EC register 0x31? > > > > Done. It's 0xa0 from what i can see. > > Ok. This is the first EC incompatibility fallout from the Lenovo move, > then. > > Time to hunt down this in ACPI E

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-03 Thread Henrique de Moraes Holschuh
On Tue, 03 Jul 2007, Alfredo Matos wrote: > > Is it EC register 0x31? > > Done. It's 0xa0 from what i can see. Ok. This is the first EC incompatibility fallout from the Lenovo move, then. Time to hunt down this in ACPI ECOR space. If it is not there, it will be bad. We can always *try* to us

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-03 Thread Alfredo Matos
On Tue, 2007-07-03 at 00:26 -0300, Henrique de Moraes Holschuh wrote: > On Mon, 25 Jun 2007, Alfredo Matos wrote: > > [2.6.20] > > > > Working, booted into single mode. Brightness changes but does not > > reflect on /proc/acpi/ibm/brighntess. Always shows level 7. > > > > [2.6.22] > > > > Workin

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-07-02 Thread Henrique de Moraes Holschuh
On Mon, 25 Jun 2007, Alfredo Matos wrote: > [2.6.20] > > Working, booted into single mode. Brightness changes but does not > reflect on /proc/acpi/ibm/brighntess. Always shows level 7. > > [2.6.22] > > Working, same as above, but /proc/acpi/ibm/brightness always shows 0. Both of you, please tes

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-06-24 Thread Alfredo Matos
On Thu, 2007-06-14 at 19:49 -0300, Henrique de Moraes Holschuh wrote: > On Wed, 13 Jun 2007, Alfredo Matos wrote: > > The problems seems to be that when changing the brightness via fn+[pgup| > > pgdown] does not reflects changes on /proc/ibm/acpi/brighness level, and > > therefore is not picked up

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-06-24 Thread Henrique de Moraes Holschuh
On Sun, 24 Jun 2007, Antti P Miettinen wrote: > Henrique de Moraes Holschuh <[EMAIL PROTECTED]> writes: > > 1. Is the BIOS a 2.x version? If it is, make sure you are running the latest > > version first, please. > > Hmm.. according to Lenovo/IBM web pages the latest BIOS for my X60 > tablet is 1.0

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-06-24 Thread Antti P Miettinen
Henrique de Moraes Holschuh <[EMAIL PROTECTED]> writes: > 1. Is the BIOS a 2.x version? If it is, make sure you are running the latest > version first, please. Hmm.. according to Lenovo/IBM web pages the latest BIOS for my X60 tablet is 1.09. What I have is 1.04. How do these versions relate to 2.

Re: [ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-06-14 Thread Henrique de Moraes Holschuh
On Wed, 13 Jun 2007, Alfredo Matos wrote: > The problems seems to be that when changing the brightness via fn+[pgup| > pgdown] does not reflects changes on /proc/ibm/acpi/brighness level, and > therefore is not picked up by HAL, leading to the same value always on > the proc interface, and conseque

[ibm-acpi-devel] Bug on ibm-acpi and hal regarding brightness keys

2007-06-13 Thread Alfredo Matos
Hi, There have been quite a few bug reports on Ubuntu launchpad regarding the brightness keys not updating the gnome-power-manager sliders. https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/79135 The problems seems to be that when changing the brightness via fn+[pgup| pgdown] do