WiFi USB2.0 adapter question

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

Probally just firmware, can you share:

lsusb & dmesg

Regards,

[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

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

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

scan wifi
Error /net/connman/technology/wifi: Device or resource busy
agent on
Agent registered

services
*AO CALnet wifi_e84e06601cb9_43414c6e6574_managed_psk
[ 631.904954] rtlwifi: AP off, try to reconnect now
[ 641.985975] rtlwifi: AP off, try to reconnect now
connect wifi_e84e06601cb9_43414c6e6574_managed_psk
Error /net/connman/service/wifi_e84e06601cb9_43414c6e6574_managed_psk: Operation aborted
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

> scan wifi
Error /net/connman/technology/wifi: Device or resource busy
> agent on
Agent registered
> services
*AO CALnet wifi_e84e06601cb9_43414c6e6574_managed_psk
> [ 631.904954] rtlwifi: AP off, try to reconnect now
[ 641.985975] rtlwifi: AP off, try to reconnect now
> connect wifi_e84e06601cb9_43414c6e6574_managed_psk
Error /net/connman/service/wifi_e84e06601cb9_43414c6e6574_managed_psk: Operation aborted
> 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
> [ 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

Regards,

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)

Regards,

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