thinkpad_acpi: unhandled HKEY event 0x6050

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Thinkpad T530, BIOS 2.07:

Event 0x6050 is generated when there's a brightness change generated by
the firmware (not from the kernel through _BCM). This only happens when
the ACPI video driver is not loaded, or acpi_backlight=vendor.
(actually, when _BCL has not been called).

It should probably be ignored, like TP_HKEY_EV_BRGHT_CHANGED (0x5010).

Whether _BCL has been called is stored in variable \NBCF.

ACPI dump is here:
http://www.bjencks.net/t530/acpidump.out.xz

The full logic in the firmware appears to be:

When a brightness key is pressed:
  If the key is unmasked:
    Report the key to thinkpad-acpi
  If _BCL has been called:
    Report the key (video event) to acpi video
  Else:
    Adjust the brightness
    Report event 0x6050 to thinkpad-acpi

This results in correct behavior when acpi video is loaded, since
thinkpad-acpi automatically masks the brightness keys in that case.
However, without acpi video the keys are unmasked, so keypresses
generate two brightness changes -- one from the firmware and one from
userspace.

It seems like the brightness keys should always be masked on this type
of firmware.

-Ben Jencks

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel




[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux