They are also immediately restarting themselves upon shutdown either by 
software shutdown or button shutdown.

On Tuesday, June 1, 2021 at 9:33:31 AM UTC-7 Patrick Bolton wrote:

> I can not possibly be the unique case of these problems.  I'm certainly 
> not that special and it's rather frustrating.
>
> This morning,  I setup a brand spanking new pocketbeagle straight out of 
> the package and have very concerning errors on installation of the most 
> recent image.  Nothing whatsoever is connected other than the USB cable to 
> my PC. And the device is sitting on a grounded anti-static pad.
>
> [image: new PB.jpg]
>
>  *[  443.396338] usb usb2-port1: over-current condition*
> *[  443.440703] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #1, port1 0000010c*
> *[  443.593123] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #2, port1 0000010c*
> *[  443.745563] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #3, port1 0000010c*
> *[  443.897981] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, 
> <SessEnd), retry #3, port1 0008010c*
>
> full dmesg below
>
> It is very concerning to have an overcurrent situation right out of the 
> box.
>
> Additional research indicates that these errors may be related to a 
> malfunctioning 25Mhz crystal oscillator used for USB timing.  At least 
> that's what I founnd on a TI site discussing their usb controllers related 
> to these errors.
>
> This is beyond my understanding of device construction, but can I be 
> burning up my usb timing crystal immediately on 1st plug in?
>
> Is this a typical subcomponent of a USB hub?  
>
> Or is this simply the confirmation of the lack of any RTC on the PB? 
>
> I proceeded with the usual set up:
>
> Set up:
> 1) Image:  
> https://debian.beagleboard.org/images/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz
> 2) apt update
> 3) apt upgrade
> 4) reboot  <--- I didn't use init 6 lol
>
> The above errors were not present after upgrade, but the following errors 
> remain:
> [    0.001560] timer_probe: no matching timers found
> [    0.159609] l4_wkup_cm:clk:0010:0: failed to disable
> [    1.215108] omap_voltage_late_init: Voltage driver support not added
> [    1.708436] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, 
> <SessEnd), retry #3, port1 0008010c
>
>
> 5) cd /opt/scripts/tools / git pull || true
> 6) /opt/scripts/tools/update_kernel.sh
> 7) reboot
>
> same dmesg as after upgrade
>
> 8) /opt/scripts/tools/version.sh
> 9)  reboot
> 10) apt update
> 11) apt upgrade
> 12) reboot
>
>
>
>
>
>
>
>
> 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-r42 
> (voodoo@x3-am57xx-beagle-x15-2gb) (gcc version 8.3.0 (Debian 8.3.0-6)) 
> #1buster SMP PREEMPT Tue Mar 31 19:38:29 UTC 2020
> [    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] 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/0x4b4 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: 438576K/522240K available (13312K kernel code, 
> 1136K rwdata, 4308K rodata, 1024K init, 350K bss, 34512K 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)   (1137 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 42043 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.000023] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 
> 89478484971ns
> [    0.000042] clocksource: timer1: mask: 0xffffffff max_cycles: 
> 0xffffffff, max_idle_ns: 79635851949 ns
> [    0.000052] OMAP clocksource: timer1 at 24000000 Hz
> [    0.001570] timer_probe: no matching timers found
> [    0.001910] Console: colour dummy device 80x30
> [    0.001936] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
> [    0.001941] This ensures that you still see kernel messages. Please
> [    0.001946] update your kernel commandline.
> [    0.002007] Calibrating delay loop (skipped) preset value.. 995.32 
> BogoMIPS (lpj=1990656)
> [    0.002024] pid_max: default: 32768 minimum: 301
> [    0.002309] Security Framework initialized
> [    0.002323] Yama: becoming mindful.
> [    0.002467] AppArmor: AppArmor initialized
> [    0.002572] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
> [    0.002584] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 
> bytes)
> [    0.003691] CPU: Testing write buffer coherency: ok
> [    0.003754] CPU0: Spectre v2: using BPIALL workaround
> [    0.004241] CPU0: thread -1, cpu 0, socket -1, mpidr 0
> [    0.025928] Setting up static identity map for 0x80100000 - 0x80100060
> [    0.033834] rcu: Hierarchical SRCU implementation.
> [    0.049846] smp: Bringing up secondary CPUs ...
> [    0.049864] smp: Brought up 1 node, 1 CPU
> [    0.049876] SMP: Total of 1 processors activated (995.32 BogoMIPS).
> [    0.049882] CPU: All CPU(s) started in SVC mode.
> [    0.051612] devtmpfs: initialized
> [    0.078185] VFP support v0.3: implementor 41 architecture 3 part 30 
> variant c rev 3
> [    0.078816] clocksource: jiffies: mask: 0xffffffff max_cycles: 
> 0xffffffff, max_idle_ns: 7645041785100000 ns
> [    0.078839] futex hash table entries: 256 (order: 2, 16384 bytes)
> [    0.082790] xor: automatically using best checksumming function   neon
> [    0.082808] pinctrl core: initialized pinctrl subsystem
> [    0.084115] NET: Registered protocol family 16
> [    0.089375] DMA: preallocated 1024 KiB pool for atomic coherent 
> allocations
> [    0.159668] l4_wkup_cm:clk:0010:0: failed to disable
> [    0.212087] audit: initializing netlink subsys (disabled)
> [    0.217928] audit: type=2000 audit(0.204:1): state=initialized 
> audit_enabled=0 res=1
> [    0.220908] OMAP GPIO hardware version 0.1
> [    0.243326] hw-breakpoint: debug architecture 0x4 unsupported.
> [    0.269997] raid6: using algorithm neonx8 gen() 0 MB/s
> [    0.270010] raid6: .... xor() 0 MB/s, rmw enabled
> [    0.270016] raid6: using neon recovery algorithm
> [    0.277917] edma 49000000.edma: TI EDMA DMA engine driver
> [    0.283758] SCSI subsystem initialized
> [    0.285981] libata version 3.00 loaded.
> [    0.286278] usbcore: registered new interface driver usbfs
> [    0.286355] usbcore: registered new interface driver hub
> [    0.286471] usbcore: registered new device driver usb
> [    0.288429] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
> [    0.289282] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
> [    0.290044] pps_core: LinuxPPS API ver. 1 registered
> [    0.290055] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo 
> Giometti <[email protected]>
> [    0.290088] PTP clock support registered
> [    0.290941] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
> [    0.294246] Advanced Linux Sound Architecture Driver Initialized.
> [    0.295002] NetLabel: Initializing
> [    0.295012] NetLabel:  domain hash size = 128
> [    0.295016] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
> [    0.295105] NetLabel:  unlabeled traffic allowed by default
> [    0.296170] clocksource: Switched to clocksource timer1
> [    0.458745] VFS: Disk quotas dquot_6.6.0
> [    0.458853] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 
> bytes)
> [    0.459740] AppArmor: AppArmor Filesystem Enabled
> [    0.472687] NET: Registered protocol family 2
> [    0.473731] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 
> 6144 bytes)
> [    0.473769] TCP established hash table entries: 4096 (order: 2, 16384 
> bytes)
> [    0.473810] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
> [    0.473870] TCP: Hash tables configured (established 4096 bind 4096)
> [    0.474007] UDP hash table entries: 256 (order: 1, 8192 bytes)
> [    0.474029] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
> [    0.474398] NET: Registered protocol family 1
> [    0.487562] RPC: Registered named UNIX socket transport module.
> [    0.487572] RPC: Registered udp transport module.
> [    0.487577] RPC: Registered tcp transport module.
> [    0.487582] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [    0.488604] Unpacking initramfs...
> [    0.855670] Freeing initrd memory: 6436K
> [    0.856537] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 
> counters available
> [    0.859602] Initialise system trusted keyrings
> [    0.860028] workingset: timestamp_bits=14 max_order=17 bucket_order=3
> [    0.867161] zbud: loaded
> [    0.874668] NFS: Registering the id_resolver key type
> [    0.874714] Key type id_resolver registered
> [    0.874719] Key type id_legacy registered
> [    0.874747] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
> [    0.875112] fuse init (API version 7.27)
> [    0.885688] Key type asymmetric registered
> [    0.885702] Asymmetric key parser 'x509' registered
> [    0.885811] Block layer SCSI generic (bsg) driver version 0.4 loaded 
> (major 246)
> [    0.890187] io scheduler noop registered
> [    0.890196] io scheduler deadline registered
> [    0.890513] io scheduler cfq registered (default)
> [    0.890522] io scheduler mq-deadline registered
> [    0.894152] pinctrl-single 44e10800.pinmux: 142 pins, size 568
> [    0.903060] gpio-of-helper ocp:cape-universal: ready
> [    0.911861] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
> [    0.915386] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, 
> base_baud = 3000000) is a 8250
> [    0.925514] console [ttyS0] enabled
> [    0.926689] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, 
> base_baud = 3000000) is a 8250
> [    0.927663] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, 
> base_baud = 3000000) is a 8250
> [    0.928811] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, 
> base_baud = 3000000) is a 8250
> [    0.932086] omap_rng 48310000.rng: Random Number Generator ver. 20
> [    0.933153] sdhci: Secure Digital Host Controller Interface driver
> [    0.933161] sdhci: Copyright(c) Pierre Ossman
> [    0.933627] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 
> 200000 microseconds (-22)
> [    0.933637] omap_hsmmc 48060000.mmc: Got CD GPIO
> [    0.934221] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
> [    0.934608] random: fast init done
> [    0.934978] random: crng init done
> [    0.960869] sdhci-pltfm: SDHCI platform and OF driver helper
> [    1.023113] mmc0: host does not support reading read-only switch, 
> assuming write-enable
> [    1.025861] mmc0: new high speed SDHC card at address aaaa
> [    1.037168] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
> [    1.043194] libphy: Fixed MDIO Bus: probed
> [    1.044576] CAN device driver interface
> [    1.046088] c_can_platform 481cc000.can: c_can_platform device 
> registered (regs=fa6ae2d3, irq=39)
> [    1.047217] c_can_platform 481d0000.can: c_can_platform device 
> registered (regs=dfdef0cf, irq=40)
> [    1.048411]  mmcblk0: p1
> [    1.051206] usbcore: registered new interface driver smsc95xx
> [    1.052980] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    1.053052] ehci-platform: EHCI generic platform driver
> [    1.053397] ehci-omap: OMAP-EHCI Host Controller driver
> [    1.054265] usbcore: registered new interface driver usb-storage
> [    1.057643] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply 
> vcc not found, using dummy regulator
> [    1.057803] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to 
> regulator.0
> [    1.061367] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
> [    1.061410] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus 
> number 1
> [    1.061732] usb usb1: New USB device found, idVendor=1d6b, 
> idProduct=0002, bcdDevice= 4.19
> [    1.061743] usb usb1: New USB device strings: Mfr=3, Product=2, 
> SerialNumber=1
> [    1.061750] usb usb1: Product: MUSB HDRC host driver
> [    1.061758] usb usb1: Manufacturer: Linux 4.19.94-ti-r42 musb-hcd
> [    1.061765] usb usb1: SerialNumber: musb-hdrc.0
> [    1.062599] hub 1-0:1.0: USB hub found
> [    1.062665] hub 1-0:1.0: 1 port detected
> [    1.065596] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply 
> vcc not found, using dummy regulator
> [    1.065748] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to 
> regulator.0
> [    1.069214] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
> [    1.069251] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus 
> number 2
> [    1.069580] usb usb2: New USB device found, idVendor=1d6b, 
> idProduct=0002, bcdDevice= 4.19
> [    1.069590] usb usb2: New USB device strings: Mfr=3, Product=2, 
> SerialNumber=1
> [    1.069598] usb usb2: Product: MUSB HDRC host driver
> [    1.069605] usb usb2: Manufacturer: Linux 4.19.94-ti-r42 musb-hcd
> [    1.069613] usb usb2: SerialNumber: musb-hdrc.1
> [    1.070396] hub 2-0:1.0: USB hub found
> [    1.070454] hub 2-0:1.0: 1 port detected
> [    1.082595] omap_rtc 44e3e000.rtc: registered as rtc0
> [    1.084081] i2c /dev entries driver
> [    1.087955] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 
> sec
> [    1.088668] softdog: initialized. soft_noboot=0 soft_margin=60 sec 
> soft_panic=0 (nowayout=0)
> [    1.093005] ledtrig-cpu: registered to indicate activity on CPUs
> [    1.093560] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
> [    1.093912] omap-aes 53500000.aes: will run requests pump with realtime 
> priority
> [    1.096746] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
> [    1.100629] hidraw: raw HID events driver (C) Jiri Kosina
> [    1.107494] gnss: GNSS driver registered with major 242
> [    1.114571] NET: Registered protocol family 10
> [    1.186512] Segment Routing with IPv6
> [    1.186650] mip6: Mobile IPv6
> [    1.186802] NET: Registered protocol family 17
> [    1.186832] can: controller area network core (rev 20170425 abi 9)
> [    1.186928] NET: Registered protocol family 29
> [    1.187026] 8021q: 802.1Q VLAN Support v1.8
> [    1.187129] Key type dns_resolver registered
> [    1.187136] mpls_gso: MPLS GSO support
> [    1.187402] ThumbEE CPU extension supported.
> [    1.187418] Registering SWP/SWPB emulation handler
> [    1.187429] omap_voltage_late_init: Voltage driver support not added
> [    1.195674] registered taskstats version 1
> [    1.195684] Loading compiled-in X.509 certificates
> [    1.195821] zswap: loaded using pool lzo/zbud
> [    1.199202] Btrfs loaded, crc32c=crc32c-generic
> [    1.199315] AppArmor: AppArmor sha1 policy hashing enabled
> [    1.223192] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #1, port1 00000104
> [    1.253817] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
> [    1.254648] input: tps65217_pwr_but as 
> /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
> [    1.255601] tps65217 0-0024: TPS65217 ID 0xe version 1.2
> [    1.256636] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 
> bytes/write
> [    1.256751] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
> [    1.257746] cpu cpu0: Linked as a consumer to regulator.3
> [    1.257851] cpu cpu0: Dropping the link to regulator.3
> [    1.258342] cpu cpu0: Linked as a consumer to regulator.3
> [    1.260634] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 
> 00:00:00 UTC (946684800)
> [    1.261859] ALSA device list:
> [    1.261868]   No soundcards found.
> [    1.268098] Freeing unused kernel memory: 1024K
> [    1.268997] Run /init as init process
> [    1.375610] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #2, port1 00000104
> [    1.528033] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #3, port1 00000104
> [    1.680454] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, 
> <SessEnd), retry #3, port1 0008010c
> [    7.002932] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data 
> mode. Opts: (null)
> [    7.716546] systemd[1]: System time before build time, advancing clock.
> [    7.766433] systemd[1]: systemd 241 running in system mode. (+PAM 
> +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP 
> +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN 
> -PCRE2 default-hierarchy=hybrid)
> [    7.767165] systemd[1]: Detected architecture arm.
> [    7.788027] systemd[1]: Set hostname to <beaglebone>.
> [    9.081028] systemd[1]: 
> /lib/systemd/system/rc_battery_monitor.service:5: PIDFile= references path 
> below legacy directory /var/run/, updating /var/run/rc_battery_monitor.pid 
> → /run/rc_battery_monitor.pid; please update the unit file accordingly.
> [    9.219228] systemd[1]: Listening on Syslog Socket.
> [    9.221204] systemd[1]: Listening on udev Kernel Socket.
> [    9.228565] systemd[1]: Created slice system-serial\x2dgetty.slice.
> [    9.230756] systemd[1]: Created slice User and Session Slice.
> [    9.231376] systemd[1]: Started Forward Password Requests to Wall 
> Directory Watch.
> [    9.231514] systemd[1]: Reached target Swap.
> [   10.374273] remoteproc remoteproc0: 4a334000.pru is available
> [   10.374454] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed 
> successfully
> [   10.378360] remoteproc remoteproc1: 4a338000.pru is available
> [   10.378542] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed 
> successfully
> [   10.528666] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
> [   11.355283] systemd-journald[651]: Received request to flush runtime 
> journal from PID 1
> [   68.767003] remoteproc remoteproc2: wkup_m3 is available
> [   69.453578] remoteproc remoteproc2: powering up wkup_m3
> [   69.453611] remoteproc remoteproc2: Booting fw image 
> am335x-pm-firmware.elf, size 217168
> [   69.453899] remoteproc remoteproc2: remote processor wkup_m3 is now up
> [   69.453933] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 
> 0x193
> [   69.576103] PM: bootloader does not support rtc-only!
> [   72.941752] using random self ethernet address
> [   72.941770] using random host ethernet address
> [   73.047168] Mass Storage Function, version: 2009/09/11
> [   73.047192] LUN: removable file: (no medium)
> [   73.145845] using random self ethernet address
> [   73.145863] using random host ethernet address
> [   73.250058] usb0: HOST MAC 60:64:05:eb:96:f0
> [   73.251988] usb0: MAC 60:64:05:eb:96:ef
> [   73.260486] usb1: HOST MAC 60:64:05:eb:96:f2
> [   73.260793] usb1: MAC 60:64:05:eb:96:f3
> [   73.436640] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
> [   73.548742] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
> [   73.944727] configfs-gadget gadget: high-speed config #1: c
> [   73.945065] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
> [  443.396338] usb usb2-port1: over-current condition
> [  443.440703] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #1, port1 0000010c
> [  443.593123] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #2, port1 0000010c
> [  443.745563] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
> <SessEnd), retry #3, port1 0000010c
> [  443.897981] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, 
> <SessEnd), retry #3, port1 0008010c
>
>
>
>
>
>
> On Monday, May 31, 2021 at 12:25:08 PM UTC-7 Patrick Bolton wrote:
>
>> I'm not sure what the problem is other than the board isn't recognizing 
>> the device.
>>
>> I do know I am tired of copying and pasting
>> /sbin/route add default gw 192.168.7.1
>> echo "nameserver 8.8.8.8" >> /etc/resolv.conf
>> ping www.google.com
>>
>> and would like to simply connect to the device living on my network like 
>> I do for my BBB-by hardline ethernet, BBB-wifi through wifi, and BBB-AI by 
>> hardline ethernet.  I did have issues with the BBB-AI connection being 
>> troublesome by wifi.
>>
>> I've worked through about a dozen and half different web pages describing 
>> how to fix the wifi dongle without success.
>>
>> The wifi router is less than 5 feet away so at this stage of the game, 
>> wifi range doesn't matter.
>>
>>  I've been using init 6 and init 0 for reboot and shutdown since first 
>> reading Derek Molloy's book.  Does this cause a problem?  I can start 
>> using shutdown -h now and reboot.
>>
>> I did come across the debian wifi wiki, but missed the "Guide".  Thank 
>> you for pointing it out.[image: PB no usb.jpg][image: PB usb.jpg]
>>
>> Those might be of concern. Some error in the bus voltage level? You
>> reported 0V? But if you were jumpered to the 5V supply (next pin over), 
>> you
>> should not be seeing 0V at all. Recheck your cable -- do you have
>> continuity between those pins (with the cable off the Beagle)?
>>
>> Measurements were with nothing connected.  There is continuity when 
>> connected.
>>
>> I started the "Guide" on the pb mounted on 2/4-port USB 2.0 HUB Cape for 
>> PocketBeagle from microwavemont on Tindie 
>> <https://www.tindie.com/products/microwavemont/24-port-usb-20-hub-cape-for-pocketbeagle/>
>> .
>> Did not get lsusb to show 2357:0107.  After step 2.  Abandoned process on 
>> that one in case the two usb hub cape was problematic, and restarted on a 
>> PB with only headers connected.
>>
>> 1. Update: sudo apt-get update && 
>> apt-get upgrade 
>> The following packages have been kept back:
>>   c9-core-installer
>> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>>
>> apt-get dist-upgrade 
>> The following packages have been kept back:
>>   c9-core-installer
>> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>>
>> and reboot if you updated the kernel
>> 2. Connect the device. lsusb should show 2357:0107
>> 3. Install required packages: sudo apt-get install gcc-6 git 
>> build-essential
>> 4. Get the latest driver from ?GitHub and install it:
>> git clone https://github.com/jeremyb31/rtl8192eu-linux-driver.git
>> cd rtl8192eu-linux-driver
>> sudo make
>> sudo make install
>> 5. Reboot and check that the kernel module is loaded by running: lsmod
>> 6. Use your network-interface to connect to the WLAN. You could use the
>> pre-installed NetworkManager for that.
>> (7.) Edit NetworkManager.conf as root: sudo kate
>> /etc/NetworkManager/NetworkManager.conf
>> Append the following:
>> [device]
>> wifi.scan-rand-mac-address=no
>> Save and run: /etc/init.d/network-manager restart
>>
>> debian@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
>> debian@beaglebone:/var/lib/cloud9$ lsusb -v
>>
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Couldn't open device, some information will be missing
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               2.00
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0
>>   bDeviceProtocol         1 Single TT
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0002 2.0 root hub
>>   bcdDevice            4.19
>>   iManufacturer           3
>>   iProduct                2
>>   iSerial                 1
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength       0x0019
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0004  1x 4 bytes
>>         bInterval              12
>>
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Couldn't open device, some information will be missing
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               2.00
>>   bDeviceClass            9 Hub
>>   bDeviceSubClass         0
>>   bDeviceProtocol         1 Single TT
>>   bMaxPacketSize0        64
>>   idVendor           0x1d6b Linux Foundation
>>   idProduct          0x0002 2.0 root hub
>>   bcdDevice            4.19
>>   iManufacturer           3
>>   iProduct                2
>>   iSerial                 1
>>   bNumConfigurations      1
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength       0x0019
>>     bNumInterfaces          1
>>     bConfigurationValue     1
>>     iConfiguration          0
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower                0mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         9 Hub
>>       bInterfaceSubClass      0
>>       bInterfaceProtocol      0 Full speed (or root) hub
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0004  1x 4 bytes
>>         bInterval              12
>>
>> Continuing on ignoring the 
>> root@beaglebone:/var/lib/cloud9# apt-get install gcc-6 git build-essential
>> Reading package lists... Done
>> Building dependency tree       
>> Reading state information... Done
>> E: Unable to locate package gcc-6
>>
>> Hmmmm....
>>
>>
>>
>> On Monday, May 31, 2021 at 10:41:03 AM UTC-7 Dennis Bieber wrote:
>>
>>> On Mon, 31 May 2021 08:09:54 -0700 (PDT), in 
>>> gmane.comp.hardware.beagleboard.user Patrick Bolton 
>>> <[email protected]> wrote: 
>>>
>>> >I am having problems with wifi dongles with the pocketbeagle. 
>>>
>>> You've pasted a novel of logs, but nowhere do you state exactly what 
>>> "problems" means? 
>>>
>>> > 
>>> >I have two dongles: 
>>> >1) Edimax EW-7811Un: 
>>> >EDIMAX - Wireless Adapters - N150 - N150 Wi-Fi Nano USB Adapter, Ideal 
>>> for 
>>> >Raspberry Pi 
>>> ><
>>> https://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/global/wireless_adapters_n150/ew-7811un/>
>>>  
>>>
>>> > 
>>> >2) tp-link TL-WN725N V3 
>>> >TL-WN725N | 150Mbps Wireless N Nano USB Adapter | TP-Link 
>>> ><https://www.tp-link.com/us/home-networking/usb-adapter/tl-wn725n/> 
>>>
>>> Have you read 
>>>
>>> https://static.tp-link.com/2018/201812/20181207/Installation%20Guide%20for%20Linux.pdf
>>>  
>>> (Granted, the OS/kernel specified in the R-Pi section is antique, but 
>>> the 
>>> rest /might/ apply). 
>>>
>>> > 
>>> >I have tried them in two configurations: 
>>> >1) 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) 2-port usb hub from tindie 
>>> >2/4-port USB 2.0 HUB Cape for PocketBeagle from microwavemont on Tindie 
>>> ><
>>> https://www.tindie.com/products/microwavemont/24-port-usb-20-hub-cape-for-pocketbeagle/>
>>>  
>>>
>>> > 
>>> >Voltage Readings 
>>> >Pin Function USB Power 5V 0.8A HUB 5V 
>>> >8A power supply 
>>>
>>> How are you powering the Beagle and hub? Note that USB 2.0 standard is 
>>> that only 0.5A is available (and often needs a powered hub to get that). 
>>> If 
>>> the beagle is being powered from a USB connection, you will have much 
>>> less 
>>> current available for any devices connected to it, as the Beagle itself 
>>> requires some fraction of the available power (it's why Beagle Bone 
>>> Black 
>>> is recommended to use a barrel connector rather than USB when flashing 
>>> the 
>>> eMMC). A 5V 8A supply is not doing much unless you've wired directly to 
>>> the 
>>> hub 5V source (or P1-1 
>>>
>>> Since the WiFi adapter runs a micro-radio, you likely need a higher 
>>> current just for it, so powering from the USB into the Beagle may not be 
>>> viable. I know R-Pi boards with WiFi operate off a USB connection, but 
>>> that 
>>> is not a data connection -- just a specialized power mode which modern 
>>> hubs 
>>> can recognize and provide a touch more current. 
>>>
>>> >Image: 
>>> https://debian.beagleboard.org/images/bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz
>>>  
>>> >2) apt update 
>>> >3) apt upgrade 
>>> >4) init 6 
>>>
>>> Pardon, but why the "init 6" (especially as Debian has adopted the 
>>> systemd start up, deprecating "init" mode). 
>>>
>>>
>>> >2) tp-link driver update 
>>> >Download for TL-WN725N | TP-Link 
>>> ><https://www.tp-link.com/us/support/download/tl-wn725n/> 
>>> > 
>>>
>>> Okay -- you've probably read the referenced PDF then, as the downloads 
>>> are source needing to be compiled. But I note 
>>> "4. This is a beta version; unknown bugs may still exist. The formal 
>>> version is coming soon." 
>>> and that was three years ago... Only the Mac version has seen updates 
>>> newer 
>>> than the Linux beta. The beta is also only "tested" up to kernel 4.4.3, 
>>> and 
>>> recent Beagle images are on what, 4.19.x 
>>>
>>> https://wiki.debian.org/WiFi (possibly a bit dated) 
>>> """ 
>>> Currently there are only a few modern wifi chipsets readily available 
>>> that 
>>> work with free software systems. For USB wifi devices this list includes 
>>> the Realtek RTL8187B chipset (802.11G) and the Atheros AR9170 chipset 
>>> (802.11N). For Mini PCIe all cards with an Atheros chipset are 
>>> supported. 
>>> """ 
>>> """ 
>>> Edimax EW-7811Un 
>>>
>>> USB adapter 
>>>
>>> 1 (9,[nPP],[B]), 1 (NOOBS,2015,[B]), 1 (2013,[B]), 1 (2016,[B]), 1 
>>> (2014), 
>>> 1 (ARMv6,[B]) 
>>>
>>> For a guide see multiple in the Amazon reviews. There seems to be a 
>>> problem 
>>> with this dongle's range. 
>>> """ 
>>> """ 
>>> Device 
>>>
>>> Confirmed 
>>>
>>> Drawbacks/Comments 
>>>
>>> Guide 
>>>
>>> TP-Link TL WN821N 
>>>
>>> (./) 
>>>
>>> - The original code of the driver is copyrighted and later contributors 
>>> don't know by whom. 
>>> The driver download does not contain license information. 
>>> (Most C files are licensed under GNU General Public License (GPL), 
>>> version 
>>> 2.) 
>>> - Only works when disabling random MAC addresses. 
>>>
>>> 1. Update: sudo apt-get update && apt-get upgrade && && apt-get 
>>> dist-upgrade and reboot if you updated the kernel 
>>> 2. Connect the device. lsusb should show 2357:0107 
>>> 3. Install required packages: sudo apt-get install gcc-6 git 
>>> build-essential 
>>> 4. Get the latest driver from ?GitHub and install it: 
>>> git clone https://github.com/jeremyb31/rtl8192eu-linux-driver.git 
>>> cd rtl8192eu-linux-driver 
>>> sudo make 
>>> sudo make install 
>>> 5. Reboot and check that the kernel module is loaded by running: lsmod 
>>> 6. Use your network-interface to connect to the WLAN. You could use the 
>>> pre-installed NetworkManager for that. 
>>> (7.) Edit NetworkManager.conf as root: sudo kate 
>>> /etc/NetworkManager/NetworkManager.conf 
>>> Append the following: 
>>> [device] 
>>> wifi.scan-rand-mac-address=no 
>>> Save and run: /etc/init.d/network-manager restart 
>>> """ 
>>>
>>>
>>> >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 
>>> > 
>>> You seem to have two hubs recognized... A BBB with a USB<>Ethernet 
>>> adapter shows 
>>>
>>> debian@beaglebone:~$ lsusb 
>>> Bus 001 Device 002: ID 0b95:7720 ASIX Electronics Corp. AX88772 
>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
>>>
>>> >[ 1.408301] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
>>> ><SessEnd), retry #2, port1 00000104 
>>> >[ 1.560680] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (81, 
>>> ><SessEnd), retry #3, port1 00000104 
>>> >[ 1.713116] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, 
>>> ><SessEnd), retry #3, port1 0008010c 
>>>
>>> Those might be of concern. Some error in the bus voltage level? You 
>>> reported 0V? But if you were jumpered to the 5V supply (next pin over), 
>>> you 
>>> should not be seeing 0V at all. Recheck your cable -- do you have 
>>> continuity between those pins (with the cable off the Beagle)? 
>>>
>>> >[ 54.973221] pvrsrvkm: loading out-of-tree module taints kernel. 
>>> >[ 55.299383] [drm] Initialized pvr 1.17.4948957 20110701 for 
>>> 56000000.sgx 
>>> >on minor 0 
>>>
>>> Doesn't show on my BBB 
>>>
>>> My USB<>Ethernet adapter resulted in the following added lines. 
>>>
>>> [ 73.127404] asix 1-1:1.0 eth1: register 'asix' at usb-musb-hdrc.1-1, 
>>> ASIX AX88772 USB 2.0 Ethernet, 00:50:b6:5c:90:84 
>>> [ 73.132673] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready 
>>> [ 73.140009] usbcore: registered new interface driver asix 
>>> [ 74.799226] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready 
>>> [ 74.810926] asix 1-1:1.0 eth1: link up, 100Mbps, full-duplex, lpa 
>>> 0xCDE1 
>>> [ 142.980128] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready 
>>> [ 147.594945] usb 1-1: USB disconnect, device number 2 
>>> [ 147.595336] asix 1-1:1.0 eth1: unregister 'asix' usb-musb-hdrc.1-1, 
>>> ASIX 
>>> AX88772 USB 2.0 Ethernet 
>>>
>>>
>>> -- 
>>> Dennis L Bieber 
>>>
>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9162ff4e-ccca-4136-a864-48b96357d4c5n%40googlegroups.com.

Reply via email to