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

Bug#522472: eeepc-laptop: report brightness control events via the input layer



Package: linux-2.6
Version: 2.6.29-1
Severity: wishlist
Tags: patch

The attached patch maps the brightness control events to one of two keys,
either KEY_BRIGHTNESSDOWN or KEY_BRIGHTNESSUP, as needed.

Some mapping has to be done due to the fact that the BIOS reports them as
<base value> + <current brightness index>; the selection is done according to
the sign of the change in brightness (if this is 0, no keypress is reported).

This was prompted by the following posting to debian-eeepc-devel:
http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2009-April/002001.html
and has been sent upstream:
http://patchwork.kernel.org/patch/16215/

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Output *more* particulate pollutants.      BUFFER AGAINST GLOBAL WARMING.

I cut down trees, I eat my lunch, I go to the lavatory.

Attachment: 2.6.29-eee-brightness-key.patch
Description: Binary data


Reply to: