acer aspire one wifi switch produces 2 scancodes

Bug #497689 reported by el es
12
This bug affects 2 people
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://bugs.launchpad.net/ubuntu/+source/linux/+bug/319825 due to which acer-wmi is blacklisted on this hardware)

The rfkill command works on this computer : rfkill [un]block wifi works, if you are sure that the current hard-block status is correct.

el es (el-es-poczta)
description: updated
description: updated
el es (el-es-poczta)
description: updated
Revision history for this message
Eugene (varnav) wrote :

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.

Revision history for this message
el es (el-es-poczta) wrote :

Due to the operating system wiped out and winxp installed, no further report will be available from me on this case, sorry.

Changed in ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.