bump (hoping someone will see this and have run into the issue)

On Wed, Sep 14, 2016 at 11:36 PM, Andrew Kirch <trel...@trelane.net> wrote:

> I have a Beaglebone Black with an rtl8169cu attached via usb. It
> apparently comes up in an invalid state during boot. This means I have to
> powercycle the USB bus to get it to start.  I've reset the USB bus during
> boot with the following in /etc/rc.local as a workaround:
> devmem2 0x47401c60 b 0x00
> sleep 1
> echo "usb1" > /sys/bus/usb/drivers/usb/unbind
> sleep 20
> echo "usb1" > /sys/bus/usb/drivers/usb/bind
> sleep 1
> devmem2 0x47401c60 b 0x01
> systemctl restart connman-wait-online
>
> By adding this wifi comes up at the end of the boot process, and
> connman-wait-online no longer shows as failed.
> Unfortunately this mean that booting with wifi takes well over a minute.
> Both connman-wait-online, and a 22 second script need to run.  dmesg output
> is below
> Thanks in advance and let me know if there's any further information I can
> provide!
>
>
> [   23.761353] rtl8192cu: Chip version 0x10
> [   23.867608] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
> [   23.922520] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
> [   24.749649] rtl8192cu: MAC address: 00:9e:95:9b:56:16
> [   24.749680] rtl8192cu: Board Type 0
> [   24.750696] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
> [   24.750856] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
> [   24.798308] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
> [   24.810284] usbcore: registered new interface driver rtl8192cu
> [   24.812598] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [   26.618448] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping
> ok
> [   27.010110] cfg80211: World regulatory domain updated:
> [   27.010139] cfg80211:  DFS Master region: unset
> [   27.010148] cfg80211:   (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp), (dfs_cac_time)
> [   27.010161] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
> 2000 mBm), (N/A)
> [   27.010170] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
> 2000 mBm), (N/A)
> [   27.010179] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
> 2000 mBm), (N/A)
> [   27.010191] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000
> KHz AUTO), (N/A, 2000 mBm), (N/A)
> [   27.010201] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
> KHz AUTO), (N/A, 2000 mBm), (0 s)
> [   27.010211] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
> 2000 mBm), (0 s)
> [   27.010219] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
> 2000 mBm), (N/A)
> [   27.010228] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
> (N/A, 0 mBm), (N/A)
> [  141.506192] usb 1-1: USB disconnect, device number 2
> [  141.506676] rtl_usb: reg 0x102, usbctrl_vendorreq TimeOut!
> status:0xffffffed value=0x80
> [  141.518118] rtl_usb: reg 0x422, usbctrl_vendorreq TimeOut!
> status:0xffffffed value=0x80208002
> [  141.526878] rtl_usb: reg 0x542, usbctrl_vendorreq TimeOut!
> status:0xffffffed value=0x80208002
> [  161.612842] hub 1-0:1.0: USB hub found
> [  161.618472] hub 1-0:1.0: 1 port detected
> [  162.061318] usb 1-1: new high-speed USB device number 3 using musb-hdrc
> [  162.193762] usb 1-1: New USB device found, idVendor=0bda, idProduct=8176
> [  162.193817] usb 1-1: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [  162.193848] usb 1-1: Product: 802.11n WLAN Adapter
> [  162.193877] usb 1-1: Manufacturer: 802.11n WLPN Adapter
> [  162.193906] usb 1-1: SerialNumber: 00e04c000001
> [  162.210429] rtl8192cu: Chip version 0x10
> [  162.322262] rtl8192cu: MAC address: 00:9e:95:9b:56:16
> [  162.322356] rtl8192cu: Board Type 0
> [  162.322593] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
> [  162.322864] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
> [  162.344819] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
> [  162.391775] rtl8192cu: MAC auto ON okay!
> [  162.498403] rtl8192cu: Tx queue select: 0x05
> [  163.385799] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [  164.175367] wlan0: authenticate with 00:25:9c:13:b0:84
> [  164.190122] wlan0: send auth to 00:25:9c:13:b0:84 (try 1/3)
> [  164.194594] wlan0: authenticated
> [  164.201239] wlan0: associate with 00:25:9c:13:b0:84 (try 1/3)
> [  164.207797] wlan0: RX AssocResp from 00:25:9c:13:b0:84 (capab=0x431
> status=0 aid=10)
> [  164.312904] wlan0: associated
> [  164.330618] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> [  164.399682] cfg80211: Regulatory domain changed to country: US
> [  164.399717] cfg80211:  DFS Master region: FCC
> [  164.399731] cfg80211:   (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp), (dfs_cac_time)
> [  164.399751] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
> 3000 mBm), (N/A)
> [  164.399769] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000
> KHz AUTO), (N/A, 1700 mBm), (N/A)
> [  164.399786] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
> KHz AUTO), (N/A, 2300 mBm), (0 s)
> [  164.399801] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
> 3000 mBm), (N/A)
> [  164.399815] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
> (N/A, 4000 mBm), (N/A)
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALA5tJKBqC1QqHT7FFWjLY07ewujQG7MamNqKSrV3EkpXk2PBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to