WiFi USB2.0 adapter question

44 views
Skip to first unread message

KenUnix

unread,
Mar 25, 2020, 3:46:48 PM3/25/20
to BeagleBoard

I have a BBB with a tp-link adapter using the RTL8188EUS chip and it works well.
It is hung off a powered USB 2.0 hub from plugable.

I want to fire up another BBB but can not find inventory for RTL8188EUS based adapters.
It seems like they all disappeared!

I tried an adapter with a RTL8188CUS chip but it would not come up.
Inserting device lsusb sees it but connmanctl does not.
Is there a driver that needs to be enabled?
The adapter is off a powered USB hub.

I hesitated to buy one with RTL8188EU chipset.

Is there another adapter known to work on BBB Debian 9 out of the box?

If you could point me to one that would be great.

Ken




Robert Nelson

unread,
Mar 25, 2020, 4:04:00 PM3/25/20
to Beagle Board
On Wed, Mar 25, 2020 at 2:47 PM KenUnix <ken.un...@gmail.com> wrote:
>
>
> I have a BBB with a tp-link adapter using the RTL8188EUS chip and it works well.
> It is hung off a powered USB 2.0 hub from plugable.
>
> I want to fire up another BBB but can not find inventory for RTL8188EUS based adapters.
> It seems like they all disappeared!
>
> I tried an adapter with a RTL8188CUS chip but it would not come up.
> Inserting device lsusb sees it but connmanctl does not.
> Is there a driver that needs to be enabled?

Probally just firmware, can you share:

lsusb & dmesg

Regards,

--
Robert Nelson
https://rcn-ee.com/

Kenneth Martin

unread,
Mar 25, 2020, 4:49:56 PM3/25/20
to Beagle Board

[64951.855974] usb 1-1.4: new high-speed USB device number 4 using musb-hdrc
[64951.958847] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8176
[64951.958869] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[64951.958878] usb 1-1.4: Product: 802.11n WLAN Adapter
[64951.958886] usb 1-1.4: Manufacturer: Realtek
[64951.958893] usb 1-1.4: SerialNumber: 00e04c000001
[64952.320317] rtl8192cu: Chip version 0x10
[64952.379696] rtl8192cu: Board Type 0
[64952.379824] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[64952.380065] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[64952.395313] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[64952.430698] rtl8192cu: MAC auto ON okay!
[64952.448511] usbcore: registered new interface driver rtl8192cu
[64952.510986] rtl8192cu: Tx queue select: 0x05
[64953.605073] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

We are using IPv4 here if that matters at this point

connmanctl> scan wifi
Error /net/connman/technology/wifi: Device or resource busy
connmanctl> services

connmanctl> quit

Rebooted

[   48.991840] rtl8192cu: Board Type 0
[   48.992075] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[   48.992234] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[   49.013842] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[   49.096529] usbcore: registered new interface driver rtl8192cu
[   49.340722] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   49.366991] rtl8192cu: MAC auto ON okay!
[   49.484842] rtl8192cu: Tx queue select: 0x05
[   51.316606] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   51.928223] tether: port 1(wlan0) entered blocking state
[   51.928245] tether: port 1(wlan0) entered disabled state
[   51.933545] device wlan0 entered promiscuous mode
[   52.210410] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   52.220801] tether: port 1(wlan0) entered blocking state
[   52.220826] tether: port 1(wlan0) entered forwarding state

connmanctl> scan wifi
Error /net/connman/technology/wifi: Device or resource busy
connmanctl> agent on
Agent registered
connmanctl> services
*AO CALnet               wifi_e84e06601cb9_43414c6e6574_managed_psk
connmanctl> [  631.904954] rtlwifi: AP off, try to reconnect now
[  641.985975] rtlwifi: AP off, try to reconnect now
connmanctl> connect wifi_e84e06601cb9_43414c6e6574_managed_psk
Error /net/connman/service/wifi_e84e06601cb9_43414c6e6574_managed_psk: Operation aborted
connmanctl> services
[  692.376844] rtlwifi: AP off, try to reconnect now
*AO CALnet               wifi_e84e06601cb9_43414c6e6574_managed_psk
    DIRECT-9b[TV]Samsung~Ken wifi_e84e06601cb9_4449524543542d39625b54565d53616d73756e677e4b656e_managed_psk
    CALguest             wifi_e84e06601cb9_43414c6775657374_managed_psk
    DIRECT-roku-874-FF7DDF wifi_e84e06601cb9_4449524543542d726f6b752d3837342d464637444446_managed_psk
connmanctl> [  702.458695] rtlwifi: AP off, try to reconnect now



--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/Vg7VbuAtvqg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYjaRcn11HZHSJwYGHTKZT4vrSvyYrYNA5BjrvUwqfMp%3DQ%40mail.gmail.com.

Robert Nelson

unread,
Mar 25, 2020, 5:21:14 PM3/25/20
to Beagle Board
> connmanctl> scan wifi
> Error /net/connman/technology/wifi: Device or resource busy
> connmanctl> agent on
> Agent registered
> connmanctl> services
> *AO CALnet wifi_e84e06601cb9_43414c6e6574_managed_psk
> connmanctl> [ 631.904954] rtlwifi: AP off, try to reconnect now
> [ 641.985975] rtlwifi: AP off, try to reconnect now
> connmanctl> connect wifi_e84e06601cb9_43414c6e6574_managed_psk
> Error /net/connman/service/wifi_e84e06601cb9_43414c6e6574_managed_psk: Operation aborted
> connmanctl> services
> [ 692.376844] rtlwifi: AP off, try to reconnect now
> *AO CALnet wifi_e84e06601cb9_43414c6e6574_managed_psk
> DIRECT-9b[TV]Samsung~Ken wifi_e84e06601cb9_4449524543542d39625b54565d53616d73756e677e4b656e_managed_psk
> CALguest wifi_e84e06601cb9_43414c6775657374_managed_psk
> DIRECT-roku-874-FF7DDF wifi_e84e06601cb9_4449524543542d726f6b752d3837342d464637444446_managed_psk
> connmanctl> [ 702.458695] rtlwifi: AP off, try to reconnect now


This connect & reconnect kinda looks like the hdmi bug..

Are you using the hdmi? can you disable it?

If your on v4.14.x-ti, i'd give v4.19.x-ti a quick shot:

sudo /opt/scripts/tools/update_kernel.sh --ti-channel --lts-4_19

Kenneth Martin

unread,
Mar 25, 2020, 5:55:23 PM3/25/20
to Beagle Board

Not using hdmi. It's disabled in uEnv.txt

Did kernel update

Linux beaglebone 4.19.94-ti-r41 #1stretch SMP PREEMPT Sat Mar 21 03:13:39 UTC 2020 armv7l GNU/Linux


No luck.

So, does this mean I'm stuck with only one RTL8188EUS with
no other options?


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/Vg7VbuAtvqg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Robert Nelson

unread,
Mar 25, 2020, 6:44:21 PM3/25/20
to Beagle Board
On Wed, Mar 25, 2020 at 4:55 PM Kenneth Martin <ken.un...@gmail.com> wrote:
>
>
> Not using hdmi. It's disabled in uEnv.txt
>
> Did kernel update
>
> Linux beaglebone 4.19.94-ti-r41 #1stretch SMP PREEMPT Sat Mar 21 03:13:39 UTC 2020 armv7l GNU/Linux
>
>
> No luck.
>
> So, does this mean I'm stuck with only one RTL8188EUS with
> no other options?

If your adventurous, 5.4.x-ti is available, with a caveat*

sudo /opt/scripts/tools/update_kernel.sh --ti-channel --lts-5_4

Disable u-boot overlays in /boot/uEnv.txt (#enable_uboot_overlays=1)

Kenneth Martin

unread,
Mar 25, 2020, 7:29:22 PM3/25/20
to Beagle Board

sudo /opt/scripts/tools/update_kernel.sh --ti-channel --lts-5_4

returned a list and asked me to choose one so I tried

sudo /opt/scripts/tools/update_kernel.sh --ti-channel --testing

No good. So I tried

sudo /opt/scripts/tools/update_kernel.sh --ti-channel --lts-4_19

And it put me back where I was. 5_4 was not on the list.

Linux beaglebone 4.19.94-ti-r41 #1stretch SMP PREEMPT Sat Mar 21 03:13:39 UTC 2020 armv7l GNU/Linux

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/Vg7VbuAtvqg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages