Fix Fn+Arrow "Brightness Up" key on Acer laptops
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal-info (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: hal-info
Using Jaunty alpha 4 with all available updates.
On my laptop Acer TravelMate 6292, the keys Fn+Arrow Right ("Brightness Up" key) sends plusminus and XF86MonBrightnessUp keysyms.
Here is the output of xev when I pressed Fn+Arrow Right:
$ xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), .*$/keycode \2 = \3, state = \1/p'
keycode 126 = (keysym 0xb1, plusminus), state = 0x10
keycode 233 = (keysym 0x1008ff02, XF86MonBrightne
keycode 233 = (keysym 0x1008ff02, XF86MonBrightne
keycode 126 = (keysym 0xb1, plusminus), state = 0x10
keycode 233 = (keysym 0x1008ff02, XF86MonBrightne
keycode 233 = (keysym 0x1008ff02, XF86MonBrightne
By the way I don't why _one_ key press send 6 events...
By remapping the scancode e04e to XF86MonBrightnessUp in the /usr/share/
A patch is attached doing that.
Please note that several Acer models are impacted by this :
- Acer Aspire One : http://
- Acer 5920 (all variant) : http://
In the patch, remapping is only done for TravelMate 6292 but may be we should generalize it to all acer models ?
I don't have enough experience to judge the risks.
Hi, thanks for taking the time to submit a bug report.
It would be really useful if you could confirm the version of hal-info you have installed - the output of 'apt-cache policy hal-info' would be perfect.
Thank you