Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - USB WiFi hangs: (4 Items)
   
USB WiFi hangs  
Hi,

i have an issue with usb wifi connection
i use io-pkt-v4-hc, the devnp-rum.so driver mounts without problem, i configure the network with wpa_supplicant, and i 
get ip address with dhcp
everything seems fine but after some time - usually during heavy network traffic - the connection hangs.
the board only has usb 1.1 controller but it should be compatible as far as i know. i also tried to limit the wifi speed
 by setting the mode and media parameters of the driver to different values but i had the same results.

the board is Advantech PCI-6871
the usb stick is ASUS WL-167g

here is the output from sloginfo:
Jan 12 00:09:03    5    14     0 en0USB device vendor 0xb05, device 0x1723 matched.
Jan 12 00:09:03    5    14     0 rum0 at pci0 dev 0 function 0rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:
1b:fc:8f:ff:96
Jan 12 00:09:03    5    14     0 ether_ifattach: rum0 null if_stop
Jan 12 00:09:03    5    14     0 rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Jan 12 00:09:03    5    14     0 rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 
48Mbps 54Mbps

Jan 12 00:11:38    5    14     0 rum0: device timeout
Jan 12 00:11:39    5    14     0 USB error 0x06000000 encountered  in io-pkt.
Jan 12 00:11:44    5    14     0 rum0: device timeout
Jan 12 00:11:49    5    14     0 USB error 0x06000000 encountered  in io-pkt.
Jan 12 00:11:57    5    14     0 rum0: could not multi read MAC register: NOMEM
Jan 12 00:13:34    5    14     0 rum0: could not multi read MAC register: NOMEM
Jan 12 00:13:51    5    14     0 USB error 0x06000000 encountered  in io-pkt.

Jan 12 00:27:40    5    14     0 rum0: timeout waiting for BBP/RF to wakeup
Jan 12 00:27:40    5    14     0 rum0: could not multi read MAC register: NO_ADDR
Jan 12 00:27:40    5    14     0 rum0: could not multi write MAC register: NO_ADDR
Jan 12 00:27:40    5    14     0 rum0: could not multi write MAC register: NO_ADDR
Jan 12 00:27:40    5    14     0 rum0: could not multi write MAC register: NO_ADDR
RE: USB WiFi hangs  
What type of target platform are you on?  We have seen errors like that
when the target wasn't capable of supplying enough power to the dongle.
In those instances, we recommended plugging the dongle into a powered
USB hub and that usually fixed things.  

   R. 

-----Original Message-----
From: Agoston Feher [mailto:community-noreply@qnx.com] 
Sent: Tuesday, April 14, 2009 12:35 PM
To: drivers-networking
Subject: USB WiFi hangs

Hi,

i have an issue with usb wifi connection i use io-pkt-v4-hc, the
devnp-rum.so driver mounts without problem, i configure the network with
wpa_supplicant, and i get ip address with dhcp everything seems fine but
after some time - usually during heavy network traffic - the connection
hangs.
the board only has usb 1.1 controller but it should be compatible as far
as i know. i also tried to limit the wifi speed by setting the mode and
media parameters of the driver to different values but i had the same
results.

the board is Advantech PCI-6871
the usb stick is ASUS WL-167g

here is the output from sloginfo:
Jan 12 00:09:03    5    14     0 en0USB device vendor 0xb05, device
0x1723 matched.
Jan 12 00:09:03    5    14     0 rum0 at pci0 dev 0 function 0rum0:
MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:1b:fc:8f:ff:96
Jan 12 00:09:03    5    14     0 ether_ifattach: rum0 null if_stop
Jan 12 00:09:03    5    14     0 rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps
11Mbps
Jan 12 00:09:03    5    14     0 rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps
11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

Jan 12 00:11:38    5    14     0 rum0: device timeout
Jan 12 00:11:39    5    14     0 USB error 0x06000000 encountered  in
io-pkt.
Jan 12 00:11:44    5    14     0 rum0: device timeout
Jan 12 00:11:49    5    14     0 USB error 0x06000000 encountered  in
io-pkt.
Jan 12 00:11:57    5    14     0 rum0: could not multi read MAC
register: NOMEM
Jan 12 00:13:34    5    14     0 rum0: could not multi read MAC
register: NOMEM
Jan 12 00:13:51    5    14     0 USB error 0x06000000 encountered  in
io-pkt.

Jan 12 00:27:40    5    14     0 rum0: timeout waiting for BBP/RF to
wakeup
Jan 12 00:27:40    5    14     0 rum0: could not multi read MAC
register: NO_ADDR
Jan 12 00:27:40    5    14     0 rum0: could not multi write MAC
register: NO_ADDR
Jan 12 00:27:40    5    14     0 rum0: could not multi write MAC
register: NO_ADDR
Jan 12 00:27:40    5    14     0 rum0: could not multi write MAC
register: NO_ADDR

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post26946
Re: RE: USB WiFi hangs  
Thank you for the fast response, it solved the problem
Re: RE: USB WiFi hangs  
I have a similar problem. Bought a Belkin F5D7050, plugged into a powered hub and ran the following commands:
io-pkt-v4-hc -d /fs/hd1/lib/devnp-rum.so 
wpa_supplicant -B -i rum0 -c /fs/hd1/etc/wpa_supplicant.conf

my conf file:
network={
ssid="mgtsciences"
key_mgmt=WPA-PSK
psk="abcdefghij"
}

ifconfig shows:
rum0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ssid "" nwkey 65536:"","","",""
        powersave off
        address: 94:44:52:03:ad:89
        media: IEEE802.11 autoselect (DS1 mode 11g)
        status: no network

sloginfo shows:
Jan 16 08:39:59    5    14     0 USB device vendor 0x50d, device 0x705a matched.
Jan 16 08:39:59    5    14     0 rum0 at pci0 dev 0 function 0rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 94:
44:52:03:ad:89
Jan 16 08:39:59    5    14     0 ether_ifattach: rum0 null if_stop
Jan 16 08:39:59    5    14     0 rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Jan 16 08:39:59    5    14     0 rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 
48Mbps 54Mbps
Jan 16 08:42:46    5    14     0 USB error 0x06000000 encountered  in io-pkt.
Jan 16 08:42:51    5    14     0 USB error 0x06000000 encountered  in io-pkt.
Jan 16 08:43:03    5    14     0 USB error 0x06000000 encountered  in io-pkt.
Jan 16 08:43:08    5    14     0 USB error 0x06000000 encountered  in io-pkt.
Jan 16 08:43:20    5    14     0 USB error 0x06000000 encountered  in io-pkt.
Jan 16 08:43:31    5    14     0 USB error 0x06000000 encountered  in io-pkt.

Any ideas?

Thanks,
Todd

> What type of target platform are you on?  We have seen errors like that
> when the target wasn't capable of supplying enough power to the dongle.
> In those instances, we recommended plugging the dongle into a powered
> USB hub and that usually fixed things.  
> 
>    R. 
> 
> -----Original Message-----
> From: Agoston Feher [mailto:community-noreply@qnx.com] 
> Sent: Tuesday, April 14, 2009 12:35 PM
> To: drivers-networking
> Subject: USB WiFi hangs
> 
> Hi,
> 
> i have an issue with usb wifi connection i use io-pkt-v4-hc, the
> devnp-rum.so driver mounts without problem, i configure the network with
> wpa_supplicant, and i get ip address with dhcp everything seems fine but
> after some time - usually during heavy network traffic - the connection
> hangs.
> the board only has usb 1.1 controller but it should be compatible as far
> as i know. i also tried to limit the wifi speed by setting the mode and
> media parameters of the driver to different values but i had the same
> results.
> 
> the board is Advantech PCI-6871
> the usb stick is ASUS WL-167g
> 
> here is the output from sloginfo:
> Jan 12 00:09:03    5    14     0 en0USB device vendor 0xb05, device
> 0x1723 matched.
> Jan 12 00:09:03    5    14     0 rum0 at pci0 dev 0 function 0rum0:
> MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:1b:fc:8f:ff:96
> Jan 12 00:09:03    5    14     0 ether_ifattach: rum0 null if_stop
> Jan 12 00:09:03    5    14     0 rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps
> 11Mbps
> Jan 12 00:09:03    5    14     0 rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps
> 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> 
> Jan 12 00:11:38    5    14     0 rum0: device timeout
> Jan 12 00:11:39    5    14     0 USB error 0x06000000 encountered  in
> io-pkt.
> Jan 12 00:11:44    5    14     0 rum0: device timeout
> Jan 12 00:11:49    5    14     0 USB error 0x06000000 encountered  in
> io-pkt.
> Jan 12 00:11:57    5    14     0 rum0: could not multi read MAC
> register: NOMEM
> Jan 12 00:13:34    5    14     0 rum0: could not multi read MAC
> register: NOMEM
> Jan 12 00:13:51    5    14     0 USB error 0x06000000 encountered  in
> io-pkt.
> 
> Jan 12 00:27:40    5    14     0...
View Full Message