Openmoko Bug #1742: [illume] even the WiFi is off, the icon is still there in illume bar

Openmoko Public Trac bugs at docs.openmoko.org
Wed Oct 1 09:48:59 CEST 2008


#1742: [illume] even the WiFi is off, the icon is still there in illume bar
--------------------------------+-------------------------------------------
    Reporter:  wendy_hung       |        Owner:  openmoko-kernel
        Type:  defect           |       Status:  assigned       
    Priority:  high             |    Milestone:  Om2008.10      
   Component:  System Software  |      Version:                 
    Severity:  critical         |   Resolution:                 
    Keywords:                   |    Blockedby:                 
Reproducible:                   |     Blocking:                 
--------------------------------+-------------------------------------------
Changes (by raster):

  * component:  E - Illume => System Software


Comment:

 it's system software (even if interface down, wireless extensions still
 report it as having signal - no essid, not associated with anything, no
 wireless key, but it keeps a signal value that is also entirely bogus -
 should be less than 94, not greater than). illume simply uses the wireless
 extensions netlink loopback and asks the kernel what the signal of the
 first wifi device it finds is. same thing iwconfig does:

 root at om-gta02:/etc/network# ifconfig
 lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 usb0      Link encap:Ethernet  HWaddr 5E:EA:07:44:A6:0D
           inet addr:192.168.0.202  Bcast:192.168.0.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1457 errors:0 dropped:0 overruns:0 frame:0
           TX packets:772 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:96008 (93.7 KiB)  TX bytes:91861 (89.7 KiB)

 root at om-gta02:/etc/network# iwconfig
 lo        no wireless extensions.

 usb0      no wireless extensions.

 eth0      AR6000 802.11g  ESSID:""
           Mode:Managed  Bit Rate=54 Mb/s   Tx-Power=16 dBm
 Sensitivity=0/3
           Retry:on
           Encryption key:off
           Power Management:on
           Link Quality:189/94  Signal level:-162 dBm  Noise level:-96 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:2  Invalid misc:0   Missed beacon:0

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1742#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the openmoko-kernel mailing list