2013-03-04 21:38:30

by Borislav Petkov

[permalink] [raw]
Subject: x230: unhandled HKEY event 0x6050

Hi all,

I get this in dmesg with 3.9-rc1:

[ 12.951434] thinkpad_acpi: unhandled HKEY event 0x6050
[ 12.951438] thinkpad_acpi: please report the conditions when this event happened to [email protected]
[ 13.516752] thinkpad_acpi: unknown possible thermal alarm or keyboard event received

when pressing Fn+F8/F9, i.e. the display backlight keys. I'm loading
thinkpad_acpi with brightness_enable=1 and booting the kernel with
"acpi_backlight=vendor" so that the backlight intensity gets controlled
by thinkpad_acpi. But the last maybe shouldn't complain about it, no?

Thanks.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--


Subject: Re: x230: unhandled HKEY event 0x6050

On Mon, 04 Mar 2013, Borislav Petkov wrote:
> I get this in dmesg with 3.9-rc1:
>
> [ 12.951434] thinkpad_acpi: unhandled HKEY event 0x6050
> [ 12.951438] thinkpad_acpi: please report the conditions when this event happened to [email protected]
> [ 13.516752] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
>
> when pressing Fn+F8/F9, i.e. the display backlight keys. I'm loading
> thinkpad_acpi with brightness_enable=1 and booting the kernel with
> "acpi_backlight=vendor" so that the backlight intensity gets controlled
> by thinkpad_acpi. But the last maybe shouldn't complain about it, no?

It shouldn't even work right on a x230, that box should be doing standard
ACPI backlight control...

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

2013-03-07 08:43:37

by Borislav Petkov

[permalink] [raw]
Subject: Re: x230: unhandled HKEY event 0x6050

On Wed, Mar 06, 2013 at 09:30:16PM -0300, Henrique de Moraes Holschuh wrote:
> On Mon, 04 Mar 2013, Borislav Petkov wrote:
> > I get this in dmesg with 3.9-rc1:
> >
> > [ 12.951434] thinkpad_acpi: unhandled HKEY event 0x6050
> > [ 12.951438] thinkpad_acpi: please report the conditions when this event happened to [email protected]
> > [ 13.516752] thinkpad_acpi: unknown possible thermal alarm or keyboard event received
> >
> > when pressing Fn+F8/F9, i.e. the display backlight keys. I'm loading
> > thinkpad_acpi with brightness_enable=1 and booting the kernel with
> > "acpi_backlight=vendor" so that the backlight intensity gets controlled
> > by thinkpad_acpi. But the last maybe shouldn't complain about it, no?
>
> It shouldn't even work right on a x230, that box should be doing standard
> ACPI backlight control...

The standard ACPI crap doesn't work - if I don't boot with
acpi_backlight=vendor I get a blinding max level backlight which cannot
be modified by pressing the keys.

The thing is, with "acpi_backlight=vendor" and thinkpad_acpi loaded
with "brightness_enable=1" the backlight actually gets modified nicely
so thinkpad_acpi supports it after all. Maybe the simplest fix is for
thinkpad_acpi to shut up about this button when brightness_enable is set
and maybe when the model is x230?

Hmm.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

2013-03-09 08:07:49

by Yves-Alexis Perez

[permalink] [raw]
Subject: Re: [ibm-acpi-devel] x230: unhandled HKEY event 0x6050

On mer., 2013-03-06 at 21:30 -0300, Henrique de Moraes Holschuh wrote:
> On Mon, 04 Mar 2013, Borislav Petkov wrote:
> > I get this in dmesg with 3.9-rc1:
> >
> > [ 12.951434] thinkpad_acpi: unhandled HKEY event 0x6050
> > [ 12.951438] thinkpad_acpi: please report the conditions when this
> event happened to [email protected]
> > [ 13.516752] thinkpad_acpi: unknown possible thermal alarm or
> keyboard event received
> >
> > when pressing Fn+F8/F9, i.e. the display backlight keys. I'm loading
> > thinkpad_acpi with brightness_enable=1 and booting the kernel with
> > "acpi_backlight=vendor" so that the backlight intensity gets
> controlled
> > by thinkpad_acpi. But the last maybe shouldn't complain about it,
> no?
>
> It shouldn't even work right on a x230, that box should be doing
> standard
> ACPI backlight control...

Also see https://bugzilla.kernel.org/show_bug.cgi?id=51231 and
https://patchwork.kernel.org/patch/2124861/

Regards,
--
Yves-Alexis


Attachments:
signature.asc (490.00 B)
This is a digitally signed message part

2013-03-09 11:36:41

by Borislav Petkov

[permalink] [raw]
Subject: Re: [ibm-acpi-devel] x230: unhandled HKEY event 0x6050

On Sat, Mar 09, 2013 at 09:06:46AM +0100, Yves-Alexis Perez wrote:
> Also see https://bugzilla.kernel.org/show_bug.cgi?id=51231 and
> https://patchwork.kernel.org/patch/2124861/

Great, another fit-the-hardware-to-the-software idiocy because those
dimwits which call their pile of stinking software running in ring 0 the
parts of a house want to control every-f*cking-thing. Sigh :(.

Thanks for the links Yves-Alexis, certainly a sad read.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

Subject: Re: [ibm-acpi-devel] x230: unhandled HKEY event 0x6050

On Sat, 09 Mar 2013, Borislav Petkov wrote:
> On Sat, Mar 09, 2013 at 09:06:46AM +0100, Yves-Alexis Perez wrote:
> > Also see https://bugzilla.kernel.org/show_bug.cgi?id=51231 and
> > https://patchwork.kernel.org/patch/2124861/
>
> Great, another fit-the-hardware-to-the-software idiocy because those
> dimwits which call their pile of stinking software running in ring 0 the
> parts of a house want to control every-f*cking-thing. Sigh :(.
>
> Thanks for the links Yves-Alexis, certainly a sad read.

Hmm, I don't follow. thinkpad-acpi does run on ring 0, so was that aimed at
me? Or are you complaining about the Win-8 bug-to-bug compatibility madness
Lenovo added to the ACPI firmware?

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

2013-03-09 22:13:21

by Borislav Petkov

[permalink] [raw]
Subject: Re: [ibm-acpi-devel] x230: unhandled HKEY event 0x6050

On Sat, Mar 09, 2013 at 05:49:13PM -0300, Henrique de Moraes Holschuh wrote:
> Hmm, I don't follow. thinkpad-acpi does run on ring 0, so was that aimed at
> me?

Huh, is "thinkpad-acpi" the name of a part of a house? :-)

> Or are you complaining about the Win-8 bug-to-bug compatibility madness
> Lenovo added to the ACPI firmware?

Of course, I was simply ranting at the fact that hw vendors like lenovo
need to do all kinds of dancing in the BIOS just so they can get their
windoze certification. I know, I know, they don't have a choice and we
have more of those windoze workarounds in the kernel but we shouldn't.

Btw, what your signature says is very fitting to the occasion. :)

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

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--