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
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux