acer aspire one wifi switch produces 2 scancodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On Acer Aspire One, Karmic + proposed + backports,
lukasz@workhorse:~$ uname -a
Linux workhorse 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux
the wifi killswitch is a mono-stable switch (slide it to the right, will return by itself back)
and produces 2 different scancodes depending on whether the hardware has been switched on or off :
lukasz@workhorse:~$ sudo showkey
kb mode was RAW
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]
press any key (program terminates 10s after last keypress)...
keycode 238 release # here the switch was pushed once and returned
keycode 238 press # here pushed and returned for a second time
lukasz@workhorse:~$ sudo showkey -s
kb mode was RAW
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]
press any key (program terminates 10s after last keypress)...
0xe0 0xf3
0xe0 0xf3
0xe0 0x73 0xe0 0xf3 # I suppose due to the polling interval, this shows two pushes of the switch
0xe0 0xf3
0xe0 0xf3
0xe0 0xf3
0xe0 0xf3
0xe0 0xf3
0xe0 0xf3
0xe0 0x73 0xe0 0xf3 # ditto
Only produces one code (0xf3) if you have too small gap in between pressing (sliding) it;
Also the showkey program won't show if sometimes,
I suppose it has something to do with the computer's firmware reporting the current status (on or off) after actually doing it, press too fast, it will get confused, or resume without sending a scancode again.
xev only recognizes code 246 (XF86WLAN). There could be a code to turn on or off, can we introduce one ?
The killswitch disables radio hw independently, but the rfkill has no way of knowing it due to the non-functional wmi interface (always showing off, there is another bug filed about that: https:/
The rfkill command works on this computer : rfkill [un]block wifi works, if you are sure that the current hard-block status is correct.
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu: | |
status: | New → Invalid |
I own Aspire One AOA110 and this switch is a pain. Sometimes It works but with biig delay, sometimes It does not work at all.
This is the reason why I'm currently typing this text from Windows.