by bickhardt » Sat Aug 04, 2012 6:56 am
Whatever it is (and I still think it is related to to the weak signal reception) here is a protocol:
after booting up to no avail with the mini-adapter, I simply insert the other adapter.. et voila it works!
and it kept the connection (on wifi alone) for 48 hours in a stretch (the I rebooted)!
>boot with miniAdapter and USB-cable installed<
root@beaglebone:~# dmesg
…
[ 1.366131] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8176
[ 1.366153] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.366168] usb 1-1.3: Product: 802.11n WLAN Adapter
[ 1.366179] usb 1-1.3: Manufacturer: 802.11n WLPN Adapter
[ 1.366190] usb 1-1.3: SerialNumber: 00e04c000001
…
[ 5.403099] cfg80211: Calling CRDA to update world regulatory domain
[ 7.212542] rtl8192cu: MAC address: 00:9e:95:9b:5b:d9
[ 7.212580] rtl8192cu: Board Type 0
[ 9.480380] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 9.530312] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 9.531489] usbcore: registered new interface driver rtl8192cu
[ 9.579687] rtl8192cu: MAC auto ON okay!
[ 9.635872] rtl8192cu: Tx queue select: 0x05
[ 9.637315] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin
[ 10.280675] ADDRCONF(NETDEV_UP): wlan0: link is not ready
…
root@beaglebone:~# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:9E:95:9B:5B:D9
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@beaglebone:~# iwlist wlan0 scanning
wlan0 No scan results
>pull out the mini-adapter, insert the Belkin adapter, no reboot<
root@beaglebone:~# dmesg
...
[ 116.171685] usb 1-1.3: USB disconnect, device number 4
[ 116.172083] rtlwifi: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3800
...
[ 116.298166] rtlwifi: reg 0x42, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3f3f3f3f
[ 126.130708] usb 1-1.4: new high-speed USB device number 5 using musb-hdrc
[ 126.232749] usb 1-1.4: New USB device found, idVendor=050d, idProduct=845a
[ 126.232770] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 126.232784] usb 1-1.4: Product: Connect Wireless USB Adapter
[ 126.232796] usb 1-1.4: Manufacturer: Manufacturer Realtek
[ 126.232807] usb 1-1.4: SerialNumber: 00e04c000001
[ 126.264148] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[ 126.273340] r8712u: DriverVersion: v7_0.20100831
[ 126.273425] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 126.273443] r8712u: USB_SPEED_HIGH with 4 endpoints
[ 126.278472] r8712u: Boot from EFUSE: Autoload OK
[ 126.674023] r8712u: CustomerID = 0x0000
[ 126.674041] r8712u: MAC Address from efuse = 08:86:3b:07:da:e9
[ 126.674053] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 126.674367] usbcore: registered new interface driver r8712u
[ 127.480770] r8712u: 1 RCR=0x153f00e
[ 127.481270] r8712u: 2 RCR=0x553f00e
[ 127.600714] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 139.982664] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 144.077489] r8712u: [r8712_got_addbareq_event_callback] mac = c0:25:06:3b:ca:64, seq = 48, tid = 0
root@beaglebone:~# iwscan wlan0 scanning
wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 00:1F:3F:13:8D:91
ESSID:"blacktomcat"
Protocol:IEEE 802.11bg
...