Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-26 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 08:00:35PM -0300, Henrique de Moraes Holschuh wrote:
> On Mon, 25 Feb 2008, Lukas Hejtmanek wrote:
> > volume keys work. But anything through acpid does not. Even AC/battery 
> > switch
> > is not signalized. So the bug may be somewhere else?
> 
> Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your
> thinkpad.  I don't have a link to it right now, but if you look for the
> messages to LKML on the last 48h, you will find it.

this one fixes all my troubles with thinkpad hotkeys in rc3.
http://lkml.org/lkml/2008/2/25/400
 
> > [  418.816087] thinkpad_acpi: requested hot key mask 0x, but 
> > firmware forced it to 0x00ff
> 
> Don't do this.  Just let the driver select the default mask, unless you
> *really* know better.

OK, thanks.

-- 
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-26 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 08:00:35PM -0300, Henrique de Moraes Holschuh wrote:
 On Mon, 25 Feb 2008, Lukas Hejtmanek wrote:
  volume keys work. But anything through acpid does not. Even AC/battery 
  switch
  is not signalized. So the bug may be somewhere else?
 
 Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your
 thinkpad.  I don't have a link to it right now, but if you look for the
 messages to LKML on the last 48h, you will find it.

this one fixes all my troubles with thinkpad hotkeys in rc3.
http://lkml.org/lkml/2008/2/25/400
 
  [  418.816087] thinkpad_acpi: requested hot key mask 0x, but 
  firmware forced it to 0x00ff
 
 Don't do this.  Just let the driver select the default mask, unless you
 *really* know better.

OK, thanks.

-- 
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Rafael J. Wysocki
On Tuesday, 26 of February 2008, Henrique de Moraes Holschuh wrote:
> On Mon, 25 Feb 2008, Lukas Hejtmanek wrote:
> > volume keys work. But anything through acpid does not. Even AC/battery 
> > switch
> > is not signalized. So the bug may be somewhere else?
> 
> Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your
> thinkpad.  I don't have a link to it right now, but if you look for the
> messages to LKML on the last 48h, you will find it.

http://bugzilla.kernel.org/show_bug.cgi?id=10100

(easy to remember ;=))

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Tomas Carnecky

Lukas Hejtmanek wrote:

On Mon, Feb 25, 2008 at 06:01:13PM -0300, Henrique de Moraes Holschuh wrote:

Not even over the new netlink socket?  Or the thinkpad-acpi input device?


how can I check this?


A while ago I worked on a new acpi daemon that could receive events from 
both netlink and /dev/input devices. Right now it's more like a testing 
tool then a real replacement for the current acpid. I haven't had time 
to work on it.


http://git.dbservice.com/?p=acpid;a=summary
$ git clone git://dbservice.com/acpid

You'll need dbus and lua to compile it. There's also a readme that 
describes how to get it running and how it works. In its default 
configuration it will print the events into stdout.


tom

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Henrique de Moraes Holschuh
On Mon, 25 Feb 2008, Lukas Hejtmanek wrote:
> volume keys work. But anything through acpid does not. Even AC/battery switch
> is not signalized. So the bug may be somewhere else?

Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your
thinkpad.  I don't have a link to it right now, but if you look for the
messages to LKML on the last 48h, you will find it.

> [  418.816087] thinkpad_acpi: requested hot key mask 0x, but firmware 
> forced it to 0x00ff

Don't do this.  Just let the driver select the default mask, unless you
*really* know better.

> > Sure, try this one:
> 
> not better.

It wouldn't fix any EC issues.  If you just revert the
6c231bd5eb07ce546517019f334652b9ecfc329a commit entirely (note, I don't mean
revert TO THE COMMIT), by doing something like this:

git checkout v2.6.25-rc3
git show 6c231bd5eb07ce546517019f334652b9ecfc329a | patch -p1 -R

Does it fix anything ?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 06:01:13PM -0300, Henrique de Moraes Holschuh wrote:
> Not even over the new netlink socket?  Or the thinkpad-acpi input device?

how can I check this?

volume keys work. But anything through acpid does not. Even AC/battery switch
is not signalized. So the bug may be somewhere else?

> Please send me the debug output of thinkpad-acpi loading, just in case.

[  247.170385] thinkpad_acpi: ThinkPad ACPI Extras v0.19
[  247.170398] thinkpad_acpi: http://ibm-acpi.sf.net/
[  247.170402] thinkpad_acpi: ThinkPad BIOS 7LETB0WW (2.10 ), EC 7KHT24WW-1.08
[  247.170407] thinkpad_acpi: Lenovo ThinkPad T61
[  247.171289] thinkpad_acpi: radio switch found; radios are enabled
[  247.184889] thinkpad_acpi: requested hot key mask 0x, but firmware 
forced it to 0x00ff
[  247.188509] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[  247.189027] input: ThinkPad Extra Buttons as /devices/virtual/input/input10
[  418.790341] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle 
\_SB.PCI0.LPC.EC for ec
[  418.793747] thinkpad_acpi: ibm_init: probing for driver
[  418.793758] thinkpad_acpi: ThinkPad ACPI Extras v0.19
[  418.793762] thinkpad_acpi: http://ibm-acpi.sf.net/
[  418.793766] thinkpad_acpi: ThinkPad BIOS 7LETB0WW (2.10 ), EC 7KHT24WW-1.08
[  418.793771] thinkpad_acpi: Lenovo ThinkPad T61
[  418.793775] thinkpad_acpi: ibm_init: driver installed
[  418.793780] thinkpad_acpi: ibm_init: probing for hotkey
[  418.793827] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for 
hkey
[  428.258389] thinkpad_acpi: radio switch found; radios are enabled
[  428.258423] thinkpad_acpi: hotkey_init: using Lenovo default hot key map
[  428.258431] thinkpad_acpi: hotkey_init: enabling hot key handling
[  428.264778] thinkpad_acpi: hotkey_init: legacy hot key reporting over procfs 
enabled
[  418.806536] thinkpad_acpi: register_tpacpi_subdriver: registering hotkey as 
an ACPI driver
[  418.808594] thinkpad_acpi: ibm_init: hotkey installed
[  418.816087] thinkpad_acpi: requested hot key mask 0x, but firmware 
forced it to 0x00ff
[  418.816100] thinkpad_acpi: ibm_init: probing for bluetooth
[  418.816114] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for 
hkey
[  418.821862] thinkpad_acpi: ibm_init: bluetooth installed
[  418.821875] thinkpad_acpi: ibm_init: probing for wan
[  418.821890] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for 
hkey
[  418.828238] thinkpad_acpi: wan_init: wan hardware not installed
[  418.828251] thinkpad_acpi: ibm_init: probing for light
[  418.828266] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \UCMS for 
cmos
[  418.842964] thinkpad_acpi: ibm_init: light installed
[  418.843021] thinkpad_acpi: ibm_init: probing for bay
[  418.843050] thinkpad_acpi: ibm_init: probing for cmos
[  418.843060] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \UCMS for 
cmos
[  418.843378] thinkpad_acpi: ibm_init: cmos installed
[  418.843385] thinkpad_acpi: ibm_init: probing for led
[  418.843402] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle LED for 
led
[  418.843407] thinkpad_acpi: ibm_init: led installed
[  418.843412] thinkpad_acpi: ibm_init: probing for beep
[  418.843418] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle BEEP for 
beep
[  418.843422] thinkpad_acpi: ibm_init: beep installed
[  418.843429] thinkpad_acpi: ibm_init: probing for thermal
[  418.849384] thinkpad_acpi: ibm_init: thermal installed
[  418.849392] thinkpad_acpi: ibm_init: probing for ecdump
[  418.849396] thinkpad_acpi: ibm_init: ecdump installed
[  418.849401] thinkpad_acpi: ibm_init: probing for brightness
[  418.849406] thinkpad_acpi: brightness_init: selected brightness_mode=2
[  418.849424] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle 
\_SB.PCI0.VID for vid
[  418.849464] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[  418.850526] thinkpad_acpi: ibm_init: brightness installed
[  418.850534] thinkpad_acpi: ibm_init: probing for volume
[  418.850538] thinkpad_acpi: ibm_init: volume installed
[  418.850545] thinkpad_acpi: ibm_init: probing for fan
[  418.850853] thinkpad_acpi: ibm_init: fan installed
[  418.850952] input: ThinkPad Extra Buttons as /devices/virtual/input/input11

> > I would be happy to test fixes to see whether things go well.
> 
> Sure, try this one:

not better.
 
-- 
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Henrique de Moraes Holschuh
On Mon, 25 Feb 2008, Lukas Hejtmanek wrote:
> On Mon, Feb 25, 2008 at 05:03:54PM -0300, Henrique de Moraes Holschuh wrote:
> > This commit is indeed broken, and I have a tentative fix for it.  But I'd
> > like to have a better description of just "how" the thinkpad keys do not
> > work anymore, to make sure I fix the entire breakage in one go.  I will
> > stare at the code and the fix a bit more before sending in any patches,
> > though.
> 
> Well, keys generate ACPI interrupt but acpid never receives any event.

Not even over the new netlink socket?  Or the thinkpad-acpi input device?
Please send me the debug output of thinkpad-acpi loading, just in case.

> I would be happy to test fixes to see whether things go well.

Sure, try this one:

diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
index 7500c44..0f74351 100644
--- a/drivers/misc/thinkpad_acpi.c
+++ b/drivers/misc/thinkpad_acpi.c
@@ -1078,7 +1078,8 @@ static int hotkey_get_tablet_mode(int *status)
if (!acpi_evalf(hkey_handle, , "MHKG", "d"))
return -EIO;
 
-   return ((s & TP_HOTKEY_TABLET_MASK) != 0);
+   *status = ((s & TP_HOTKEY_TABLET_MASK) != 0);
+   return 0;
 }
 
 /*

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 05:03:54PM -0300, Henrique de Moraes Holschuh wrote:
> This commit is indeed broken, and I have a tentative fix for it.  But I'd
> like to have a better description of just "how" the thinkpad keys do not
> work anymore, to make sure I fix the entire breakage in one go.  I will
> stare at the code and the fix a bit more before sending in any patches,
> though.

Well, keys generate ACPI interrupt but acpid never receives any event.

I would be happy to test fixes to see whether things go well.

-- 
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Henrique de Moraes Holschuh
On Mon, 25 Feb 2008, Rafael J. Wysocki wrote:
> > 2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.
> > 
> > Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a

This commit is indeed broken, and I have a tentative fix for it.  But I'd
like to have a better description of just "how" the thinkpad keys do not
work anymore, to make sure I fix the entire breakage in one go.  I will
stare at the code and the fix a bit more before sending in any patches,
though.

> Also, CCing the author and the relevant list on a report usually is a good
> idea. :-)

Make it "mandatory" if you want a fast reply :^)

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Rafael J. Wysocki
On Monday, 25 of February 2008, Lukas Hejtmanek wrote:
> Hello, 

Hi,

Thanks for the report.

> 2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.
> 
> Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a

Please always provide the commit subject along with the hash in bug reports.

Also, CCing the author and the relevant list on a report usually is a good
idea. :-)

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
Hello, 

2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.

Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a

-- 
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
Hello, 

2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.

Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a

-- 
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Rafael J. Wysocki
On Monday, 25 of February 2008, Lukas Hejtmanek wrote:
 Hello, 

Hi,

Thanks for the report.

 2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.
 
 Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a

Please always provide the commit subject along with the hash in bug reports.

Also, CCing the author and the relevant list on a report usually is a good
idea. :-)

Thanks,
Rafael
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Henrique de Moraes Holschuh
On Mon, 25 Feb 2008, Rafael J. Wysocki wrote:
  2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.
  
  Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a

This commit is indeed broken, and I have a tentative fix for it.  But I'd
like to have a better description of just how the thinkpad keys do not
work anymore, to make sure I fix the entire breakage in one go.  I will
stare at the code and the fix a bit more before sending in any patches,
though.

 Also, CCing the author and the relevant list on a report usually is a good
 idea. :-)

Make it mandatory if you want a fast reply :^)

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 05:03:54PM -0300, Henrique de Moraes Holschuh wrote:
 This commit is indeed broken, and I have a tentative fix for it.  But I'd
 like to have a better description of just how the thinkpad keys do not
 work anymore, to make sure I fix the entire breakage in one go.  I will
 stare at the code and the fix a bit more before sending in any patches,
 though.

Well, keys generate ACPI interrupt but acpid never receives any event.

I would be happy to test fixes to see whether things go well.

-- 
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Henrique de Moraes Holschuh
On Mon, 25 Feb 2008, Lukas Hejtmanek wrote:
 On Mon, Feb 25, 2008 at 05:03:54PM -0300, Henrique de Moraes Holschuh wrote:
  This commit is indeed broken, and I have a tentative fix for it.  But I'd
  like to have a better description of just how the thinkpad keys do not
  work anymore, to make sure I fix the entire breakage in one go.  I will
  stare at the code and the fix a bit more before sending in any patches,
  though.
 
 Well, keys generate ACPI interrupt but acpid never receives any event.

Not even over the new netlink socket?  Or the thinkpad-acpi input device?
Please send me the debug output of thinkpad-acpi loading, just in case.

 I would be happy to test fixes to see whether things go well.

Sure, try this one:

diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
index 7500c44..0f74351 100644
--- a/drivers/misc/thinkpad_acpi.c
+++ b/drivers/misc/thinkpad_acpi.c
@@ -1078,7 +1078,8 @@ static int hotkey_get_tablet_mode(int *status)
if (!acpi_evalf(hkey_handle, s, MHKG, d))
return -EIO;
 
-   return ((s  TP_HOTKEY_TABLET_MASK) != 0);
+   *status = ((s  TP_HOTKEY_TABLET_MASK) != 0);
+   return 0;
 }
 
 /*

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 06:01:13PM -0300, Henrique de Moraes Holschuh wrote:
 Not even over the new netlink socket?  Or the thinkpad-acpi input device?

how can I check this?

volume keys work. But anything through acpid does not. Even AC/battery switch
is not signalized. So the bug may be somewhere else?

 Please send me the debug output of thinkpad-acpi loading, just in case.

[  247.170385] thinkpad_acpi: ThinkPad ACPI Extras v0.19
[  247.170398] thinkpad_acpi: http://ibm-acpi.sf.net/
[  247.170402] thinkpad_acpi: ThinkPad BIOS 7LETB0WW (2.10 ), EC 7KHT24WW-1.08
[  247.170407] thinkpad_acpi: Lenovo ThinkPad T61
[  247.171289] thinkpad_acpi: radio switch found; radios are enabled
[  247.184889] thinkpad_acpi: requested hot key mask 0x, but firmware 
forced it to 0x00ff
[  247.188509] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[  247.189027] input: ThinkPad Extra Buttons as /devices/virtual/input/input10
[  418.790341] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle 
\_SB.PCI0.LPC.EC for ec
[  418.793747] thinkpad_acpi: ibm_init: probing for driver
[  418.793758] thinkpad_acpi: ThinkPad ACPI Extras v0.19
[  418.793762] thinkpad_acpi: http://ibm-acpi.sf.net/
[  418.793766] thinkpad_acpi: ThinkPad BIOS 7LETB0WW (2.10 ), EC 7KHT24WW-1.08
[  418.793771] thinkpad_acpi: Lenovo ThinkPad T61
[  418.793775] thinkpad_acpi: ibm_init: driver installed
[  418.793780] thinkpad_acpi: ibm_init: probing for hotkey
[  418.793827] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for 
hkey
[  428.258389] thinkpad_acpi: radio switch found; radios are enabled
[  428.258423] thinkpad_acpi: hotkey_init: using Lenovo default hot key map
[  428.258431] thinkpad_acpi: hotkey_init: enabling hot key handling
[  428.264778] thinkpad_acpi: hotkey_init: legacy hot key reporting over procfs 
enabled
[  418.806536] thinkpad_acpi: register_tpacpi_subdriver: registering hotkey as 
an ACPI driver
[  418.808594] thinkpad_acpi: ibm_init: hotkey installed
[  418.816087] thinkpad_acpi: requested hot key mask 0x, but firmware 
forced it to 0x00ff
[  418.816100] thinkpad_acpi: ibm_init: probing for bluetooth
[  418.816114] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for 
hkey
[  418.821862] thinkpad_acpi: ibm_init: bluetooth installed
[  418.821875] thinkpad_acpi: ibm_init: probing for wan
[  418.821890] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for 
hkey
[  418.828238] thinkpad_acpi: wan_init: wan hardware not installed
[  418.828251] thinkpad_acpi: ibm_init: probing for light
[  418.828266] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \UCMS for 
cmos
[  418.842964] thinkpad_acpi: ibm_init: light installed
[  418.843021] thinkpad_acpi: ibm_init: probing for bay
[  418.843050] thinkpad_acpi: ibm_init: probing for cmos
[  418.843060] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \UCMS for 
cmos
[  418.843378] thinkpad_acpi: ibm_init: cmos installed
[  418.843385] thinkpad_acpi: ibm_init: probing for led
[  418.843402] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle LED for 
led
[  418.843407] thinkpad_acpi: ibm_init: led installed
[  418.843412] thinkpad_acpi: ibm_init: probing for beep
[  418.843418] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle BEEP for 
beep
[  418.843422] thinkpad_acpi: ibm_init: beep installed
[  418.843429] thinkpad_acpi: ibm_init: probing for thermal
[  418.849384] thinkpad_acpi: ibm_init: thermal installed
[  418.849392] thinkpad_acpi: ibm_init: probing for ecdump
[  418.849396] thinkpad_acpi: ibm_init: ecdump installed
[  418.849401] thinkpad_acpi: ibm_init: probing for brightness
[  418.849406] thinkpad_acpi: brightness_init: selected brightness_mode=2
[  418.849424] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle 
\_SB.PCI0.VID for vid
[  418.849464] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
[  418.850526] thinkpad_acpi: ibm_init: brightness installed
[  418.850534] thinkpad_acpi: ibm_init: probing for volume
[  418.850538] thinkpad_acpi: ibm_init: volume installed
[  418.850545] thinkpad_acpi: ibm_init: probing for fan
[  418.850853] thinkpad_acpi: ibm_init: fan installed
[  418.850952] input: ThinkPad Extra Buttons as /devices/virtual/input/input11

  I would be happy to test fixes to see whether things go well.
 
 Sure, try this one:

not better.
 
-- 
Lukáš Hejtmánek
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Tomas Carnecky

Lukas Hejtmanek wrote:

On Mon, Feb 25, 2008 at 06:01:13PM -0300, Henrique de Moraes Holschuh wrote:

Not even over the new netlink socket?  Or the thinkpad-acpi input device?


how can I check this?


A while ago I worked on a new acpi daemon that could receive events from 
both netlink and /dev/input devices. Right now it's more like a testing 
tool then a real replacement for the current acpid. I haven't had time 
to work on it.


http://git.dbservice.com/?p=acpid;a=summary
$ git clone git://dbservice.com/acpid

You'll need dbus and lua to compile it. There's also a readme that 
describes how to get it running and how it works. In its default 
configuration it will print the events into stdout.


tom

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Rafael J. Wysocki
On Tuesday, 26 of February 2008, Henrique de Moraes Holschuh wrote:
 On Mon, 25 Feb 2008, Lukas Hejtmanek wrote:
  volume keys work. But anything through acpid does not. Even AC/battery 
  switch
  is not signalized. So the bug may be somewhere else?
 
 Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your
 thinkpad.  I don't have a link to it right now, but if you look for the
 messages to LKML on the last 48h, you will find it.

http://bugzilla.kernel.org/show_bug.cgi?id=10100

(easy to remember ;=))

Thanks,
Rafael
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Henrique de Moraes Holschuh
On Mon, 25 Feb 2008, Lukas Hejtmanek wrote:
 volume keys work. But anything through acpid does not. Even AC/battery switch
 is not signalized. So the bug may be somewhere else?

Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your
thinkpad.  I don't have a link to it right now, but if you look for the
messages to LKML on the last 48h, you will find it.

 [  418.816087] thinkpad_acpi: requested hot key mask 0x, but firmware 
 forced it to 0x00ff

Don't do this.  Just let the driver select the default mask, unless you
*really* know better.

  Sure, try this one:
 
 not better.

It wouldn't fix any EC issues.  If you just revert the
6c231bd5eb07ce546517019f334652b9ecfc329a commit entirely (note, I don't mean
revert TO THE COMMIT), by doing something like this:

git checkout v2.6.25-rc3
git show 6c231bd5eb07ce546517019f334652b9ecfc329a | patch -p1 -R

Does it fix anything ?

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/