r73 wifi dongle reboots beagle board

Hi,

I am using a BB-xM and noticed a strange problem.

Using a TP-LINK TL-WN321G wifi dongle causes the BB to reboot immediately after uploading the firmware to the dongle!

I have this same dongle working on an ARM9 S3C2440, so I guess it should work with BB and there are no arch problems.

Here is my output:

running “ifconfig wlan0 up” reboots BB, as you see:

root@beagleboard:~# ifconfig wlan0 up
[ 254.633331] rt73usb 2-2.2:1.0: firmware: requesting rt73.bin
[ 254.833129] ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@beagleboard:~#

Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27)
Beagle xM Rev A
Reading boot sector
Loading u-boot.bin from mmc

Before running “ifconfig up wlan0”, my configuration is:

root@beagleboard:~# iwconfig
lo no wireless extensions.

usb0 no wireless extensions.

wlan0 IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

dmesg tail (before crash):

[ 17.081024] usb 2-2.2: New USB device found, idVendor=148f, idProduct=2573
[ 17.088348] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumbe0
[ 17.095916] usb 2-2.2: Product: 54M.USB…
[ 17.100555] usb 2-2.2: Manufacturer: Ralink
[ 17.798950] udev: starting version 151
[ 19.012634] cfg80211: Using static regulatory domain info
[ 19.018066] cfg80211: Regulatory domain: 00
[ 19.043243] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_)
[ 19.050811] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 19.076110] (2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
[ 19.090911] (2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
[ 19.106353] (5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 19.121795] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[ 19.128936] cfg80211: Calling CRDA to update world regulatory domain
[ 20.891143] phy0: Selected rate control algorithm ‘pid’
[ 20.891754] Registered led device: rt73usb-phy0::radio
[ 20.897766] Registered led device: rt73usb-phy0::assoc
[ 20.903228] Registered led device: rt73usb-phy0::quality
[ 20.911315] usbcore: registered new interface driver rt73usb

Distro:
Angstrom 2010.7-test-20100823

#uname -a
Linux beagleboard 2.6.32 #3 PREEMPT Wed Aug 18 15:53:03 UTC 2010 armv7l unknown

root@beagleboard:~# opkg list-installed |grep rt73
kernel-module-rt73usb - 2.6.32-r90+gitra6bad4464f985fdd3bed72e1b82dcbfc004d78696
rt73-firmware - 1.8-r1.6

Anyone had this kind of problem? Any ideas?

thanks

Just a thought. How are you powering the board? If you are powering it over the OTG USB port, it could be that once the device activates, the current exceeds what can be supplied by the PC.

Gerald

Hi Gerald, thank you very much. That was exactly the problem.

Actually I was powering the BB with a 5v USB wall adapter, which is 2 amps!

Anyway, i connected an external 5V dc power supply and got wifi working!

thanks again

Rafael

Great! 2A is most likely on the edge. Remember the -xM has a HUB on-board which consumes power and WiFi dongles take a lot as well.

Gerald