[Quantal] [Precise SRU] drm/radeon: fix unintended display toggles
alex.hung at canonical.com
Tue Feb 5 19:06:21 UTC 2013
An additional KEY_SWITCHVIDEOMODE keycode is sent with when
brightness up/down hotkey are pressed on some systems with AMD's
VGA chips. It toggles displays unintendedly when multiple monitors
are connected or causes LCD panel flickers with no external monitors.
The standard video events may be overloaded for device specific
purposes. For example AMD ACPI interface overloads
ACPI_VIDEO_NOTIFY_PROBE (0x81) to signal AMD-specific events.
This patch gives the handlers the chance to examine the event and
block the keypress if the event is device specific.
I tested on ASUS 1015U, and it removed the additional keycode.
The patches are included in upstream, but it is needed to be included
in precise lts-backport-quantal and quantal kernels:
A number of previous commits are also required:
More information about the kernel-team