I am having problems with wifi dongles with the pocketbeagle.
I have two dongles:
-
Edimax EW-7811Un:
EDIMAX - Wireless Adapters - N150 - N150 Wi-Fi Nano USB Adapter, Ideal for Raspberry Pi -
tp-link TL-WN725N V3
TL-WN725N | 150Mbps Wireless N Nano USB Adapter | TP-Link
I have tried them in two configurations:
-
I cut a usb-a female cable and wired it to the PB in accordance with:
https://i1.wp.com/www.teachmemicro.com/wp-content/uploads/2018/03/pocketbeagle-usb-type-a.jpg?w=590&ssl=1 -
2-port usb hub from tindie
2/4-port USB 2.0 HUB Cape for PocketBeagle from microwavemont on Tindie
Voltage Readings
Pin Function USB Power 5V 0.8A HUB 5V 8A power supply
P1-5 Vbus 0 0 0
P1-7 VIN 4.97 5.152 5.163
P1-14 3.3V 3.422 3.422 3.422
P 1.24 Vout 4.925 5.108 5.118
Set up:
- Image: https://debian.beagleboard.org/images/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz
- apt update
- apt upgrade
- init 6
- cd /opt/scripts/tools / git pull || true
- /opt/scripts/tools/update_kernel.sh
- init 6
- /opt/scripts/tools/version.sh
- init 6
- apt update
- apt upgrade
- init 6
ThingsI’ve tried:
-
Edimax driver update:
How to resolve EW-7811Un built-in driver issues in Linux kernel v3.10 or higher : EDiMAX (freshdesk.com) -
tp-link driver update
Download for TL-WN725N | TP-Link -
Installing Wifi dongle (rtl8192cu) on BeagleBone Black (google.com)
-
Overview | Setting up WiFi with BeagleBone Black | Adafruit Learning System
-
PocketBeagle Quick Start Guide and Connecting t… | element14 | BeagleBoard
-
Error using connmanctl> enable wifi BBBW (google.com)
GND TP1 then run as root:
dd if=/opt/scripts/device/bone/bbbw-eeprom.dump
of=/sys/devices/platform/ocp/44e0b000.i2c/i2c-0/0-0050/eeprom -
Derek Molloy’s book ch12 pg 565
apt-cache search RTL8188
- nothing found
Things I have not tried:
- Compiling my own kernel per Derek Molloy:
http://youtu.be/HJ9nUqYMjqs?t=41m50s
System Info:
root@beaglebone:/var/lib/cloud9# cat /etc/dogtag
BeagleBoard.org Debian Buster IoT Image 2020-04-06
root@beaglebone:/var/lib/cloud9# ifconfig -a
can0: flags=128 mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 39
can1: flags=128 mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 40
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 6632 bytes 779349 (761.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6632 bytes 779349 (761.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.7.2 netmask 255.255.255.0 broadcast 192.168.7.255
inet6 fe80::6264:5ff:fe5b:240c prefixlen 64 scopeid 0x20
ether 60:64:05:5b:24:0c txqueuelen 1000 (Ethernet)
RX packets 951 bytes 338310 (330.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 626 bytes 146942 (143.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.6.2 netmask 255.255.255.0 broadcast 192.168.6.255
ether 60:64:05:5b:24:10 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@beaglebone:/var/lib/cloud9# ifconfig -a
can0: flags=128 mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 39
can1: flags=128 mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 40
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 6632 bytes 779349 (761.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6632 bytes 779349 (761.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.7.2 netmask 255.255.255.0 broadcast 192.168.7.255
inet6 fe80::6264:5ff:fe5b:240c prefixlen 64 scopeid 0x20
ether 60:64:05:5b:24:0c txqueuelen 1000 (Ethernet)
RX packets 951 bytes 338310 (330.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 626 bytes 146942 (143.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.6.2 netmask 255.255.255.0 broadcast 192.168.6.255
ether 60:64:05:5b:24:10 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@beaglebone:/var/lib/cloud9# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@beaglebone:/var/lib/cloud9# /opt/scripts/tools/version.sh
git:/opt/scripts/:[389ba6b3b20209a713507ea4184cd976ec3125c8]
eeprom:[A335PBGL00A21736GPB20533]
model:[TI_AM335x_PocketBeagle]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-04-06]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot SPL 2019.04-00002-g07d5700e21 (Mar 06 2020 - 11:24:55 -0600)]:[location: dd MBR]
bootloader:[microSD]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-pocketbeagle.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
kernel:[4.19.94-ti-r64]
nodejs:[v10.24.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20210416.0-0~buster+20210416]
pkg:[bb-customizations]:[1.20210225.0-0~buster+20210225]
pkg:[bb-usb-gadgets]:[1.20200504.0-0~buster+20200504]
pkg:[bb-wl18xx-firmware]:[1.20210520.0-0~buster+20210520]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep remoteproc admin spi iio docker tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 61.024061] remoteproc remoteproc0: wkup_m3 is available
[ 61.488441] remoteproc remoteproc0: powering up wkup_m3
[ 61.488474] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[ 61.488762] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 63.708470] remoteproc remoteproc1: 4a334000.pru is available
[ 63.725681] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[ 63.708470] remoteproc remoteproc1: 4a334000.pru is available
[ 63.708678] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed successfully
[ 63.725681] remoteproc remoteproc2: 4a338000.pru is available
[ 63.725885] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed successfully
dmesg | grep pinctrl-single
[ 0.922862] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[ 0.931904] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END
root@beaglebone:/var/lib/cloud9# udevadm trigger
root@beaglebone:/var/lib/cloud9# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.94-ti-r64 (voodoo@rpi4b4g-07) (gcc version 8.3.0 (Debian 8.3.0-6)) #1buster SMP PREEMPT Fri May 21 23:57:28 UTC 2021
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x PocketBeagle
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9c800000
[ 0.000000] On node 0 totalpages: 130560
[ 0.000000] Normal zone: 1148 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130560 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x4c0 with crng_init=0
[ 0.000000] percpu: Embedded 17 pages/cpu s38988 r8192 d22452 u69632
[ 0.000000] pcpu-alloc: s38988 r8192 d22452 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 438104K/522240K available (13312K kernel code, 1140K rwdata, 4340K rodata, 1024K init, 350K bss, 34984K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0000000 - 0xff800000 ( 504 MB)
lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0x(ptrval) - 0x(ptrval) (14304 kB)
.init : 0x(ptrval) - 0x(ptrval) (1024 kB)
.data : 0x(ptrval) - 0x(ptrval) (1141 kB)
.bss : 0x(ptrval) - 0x(ptrval) ( 351 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 42210 entries in 124 pages
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000022] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000043] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000054] OMAP clocksource: timer1 at 24000000 Hz
[ 0.001524] timer_probe: no matching timers found
[ 0.001773] Console: colour dummy device 80x30
[ 0.001800] WARNING: Your ‘console=ttyO0’ has been replaced by ‘ttyS0’
[ 0.001805] This ensures that you still see kernel messages. Please
[ 0.001809] update your kernel commandline.
[ 0.001970] Calibrating delay loop (skipped) preset value… 995.32 BogoMIPS (lpj=1990656)
[ 0.001988] pid_max: default: 32768 minimum: 301
[ 0.002276] Security Framework initialized
[ 0.002291] Yama: becoming mindful.
[ 0.002436] AppArmor: AppArmor initialized
[ 0.002541] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002554] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003663] CPU: Testing write buffer coherency: ok
[ 0.003728] CPU0: Spectre v2: using BPIALL workaround
[ 0.004211] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.025954] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.033862] rcu: Hierarchical SRCU implementation.
[ 0.045094] EFI services will not be available.
[ 0.049872] smp: Bringing up secondary CPUs …
[ 0.049887] smp: Brought up 1 node, 1 CPU
[ 0.049899] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.049905] CPU: All CPU(s) started in SVC mode.
[ 0.051641] devtmpfs: initialized
[ 0.078206] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.078841] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.078864] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.082795] xor: automatically using best checksumming function neon
[ 0.082813] pinctrl core: initialized pinctrl subsystem
[ 0.084139] NET: Registered protocol family 16
[ 0.089424] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.159963] l4_wkup_cm:clk:0010:0: failed to disable
[ 0.212345] audit: initializing netlink subsys (disabled)
[ 0.217955] audit: type=2000 audit(0.204:1): state=initialized audit_enabled=0 res=1
[ 0.221186] OMAP GPIO hardware version 0.1
[ 0.243596] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.270012] raid6: using algorithm neonx8 gen() 0 MB/s
[ 0.270025] raid6: … xor() 0 MB/s, rmw enabled
[ 0.270033] raid6: using neon recovery algorithm
[ 0.278004] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.283853] SCSI subsystem initialized
[ 0.286010] libata version 3.00 loaded.
[ 0.286327] usbcore: registered new interface driver usbfs
[ 0.286387] usbcore: registered new interface driver hub
[ 0.286509] usbcore: registered new device driver usb
[ 0.288473] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[ 0.289353] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[ 0.290001] pps_core: LinuxPPS API ver. 1 registered