Comment 17 for bug 295216

Revision history for this message
Luca Ferretti (elle.uca) wrote : Re: Wireless toggle function key not connected

Jerome, with your suggested change in udev rule, now Fn+2 in Inspiron 910 produces the proper keycode.

Unfortunately `lshal -m` seems unable to capture keycodes produced by any Fn+N combination[1]. So I've tested it with xev[2], that produces the following output:

keycode 246 = (keysym 0x1008ff95, XF86WLAN), state = 0x0

Ilya, the wifi doesn't toggle 'cause with this change you are simply producing the proper keycode. In order to toggle the wifi you need a program that excute the action (aircraft-manager seems unavailable for lucid, and I'm not sure NetworkManager has support for this action).

[1] also, hal is not installed in 10.04 UNE
[2] xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), .*$/keycode \2 = \3, state = \1/p'