Add keycodes for wireless button on Acer Travelmate 8100
Bug #57849 reported by
Jools Wills
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
/usr/share/
on = e055
off = e056
for example
setkeycodes e055 $KEY_F13 # Wireless on
setkeycodes e056 $KEY_F14 # Wireless off
This is useful, as you can then configure some keys under X with xmodmap
for example:
keycode 182 = XF86User1KB
keycode 183 = XF86User2KB
And then you can configure hotkeys with kde to do something useful. I have it set up so that when I press the wireless button, kde does an ifup on the wireless device (wlan0).
Changed in hotkey-setup: | |
status: | Needs Info → Confirmed |
affects: | hotkey-setup (Ubuntu) → udev-extras (Ubuntu) |
To post a comment you must log in.
the file /usr/share/ hotkey- setup/acer- aspire- 1600.hk
is also suitable for the travelmate-8100 series.
I also un-commented the Wireless On/Off keys in this file. Why are they commented out? It is very useful to be able to map the "wireless on" button to something like "kdesu ifup wlan0"
so, on my system i copy
/usr/share/ hotkey- setup/acer- aspire- 1600.hk to
/usr/share/ hotkey- setup/acer- travelmate- 8100.hk
uncomment the wireless lines.
and in /etc/init. d/hotkey- setup i added an entry into the Acer case.
(Diff attached)