** Description changed: On Acer Aspire One, Karmic + proposed + backports, luk...@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 tactile (slide it to the right, will return by - itself back) + 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 : luk...@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 luk...@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.
-- acer aspire one wifi switch produces 2 scancodes https://bugs.launchpad.net/bugs/497689 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs