Usb usb2-port2: Cannot enable

A new problem with my board, maybe hardware ? has anyone seen this ?
recently updated to v5.12.0 but don’t think that is the problem
all 4 usb ports work with keyboard/mouse
usb-c port is only power supply
worked without this error 2 days ago
booting newest buildroot -

U-Boot SPL 2021.10 (May 09 2024 - 22:42:02 +0800)
LPDDR4: 8G version: g8ad50857.
Trying to boot from SPI

OpenSBI v1.2


/ __ \ / | _ _ |
| | | |
__ ___ _ __ | (
| |
) || |
| | | | '_ \ / _ \ '_ \ ___ | _ < | |
| || | |) | __/ | | |) | |) || |
_
/| ./ _|| ||/|/___|
| |
|_|

Platform Name : StarFive VisionFive V2
Platform Features : medeleg
Platform HART Count : 5
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 4000000Hz
Platform Console Device : uart8250
Platform HSM Device : —
Platform PMU Device : —
Platform Reboot Device : pm-reset
Platform Shutdown Device : pm-reset
Platform Suspend Device : —
Firmware Base : 0x40000000
Firmware Size : 392 KB
Firmware RW Offset : 0x40000
Runtime SBI Version : 1.0

Domain0 Name : root
Domain0 Boot HART : 1
Domain0 HARTs : 0*,1*,2*,3*,4*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: ()
Domain0 Region01 : 0x0000000040000000-0x000000004003ffff M: (R,X) S/U: ()
Domain0 Region02 : 0x0000000040040000-0x000000004007ffff M: (R,W) S/U: ()
Domain0 Region03 : 0x0000000000000000-0xffffffffffffffff M: (R,W,X) S/U: (R,W,X)
Domain0 Next Address : 0x0000000040200000
Domain0 Next Arg1 : 0x0000000042200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes

Boot HART ID : 1
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcbx
Boot HART ISA Extensions : none
Boot HART PMP Count : 8
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 34
Boot HART MHPM Count : 2
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109

U-Boot 2021.10 (May 09 2024 - 22:42:02 +0800), Build: jenkins-github_visionfive2-24

CPU: rv64imacu_zba_zbb
Model: StarFive VisionFive V2
DRAM: 8 GiB
MMC: sdio0@16010000: 0, sdio1@16020000: 1
Loading Environment from SPIFlash… SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

StarFive EEPROM format v2

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7110B1-2253-D008E000-00002190
data version: 0x2
PCB revision: 0xb2
BOM revision: A
Ethernet MAC0 address: 6c:cf:39:00:32:e5
Ethernet MAC1 address: 6c:cf:39:00:32:e6
--------EEPROM INFO--------

In: serial
Out: serial
Err: serial
Model: StarFive VisionFive V2
Net: eth0: ethernet@16030000, eth1: ethernet@16040000
“”
etc

“”
Running sysctl: OK
Populating /dev using udev: [ 13.285545] udevd[230]: starting version 3.2.10
[ 13.306468] random: udevd: uninitialized urandom read (16 bytes read)
[ 13.313929] random: udevd: uninitialized urandom read (16 bytes read)
[ 13.320495] random: udevd: uninitialized urandom read (16 bytes read)
[ 13.353588] udevd[231]: starting eudev-3.2.10
[ 13.477411] vdec: loading out-of-tree module taints kernel.
[ 13.479000] jpu: loading out-of-tree module taints kernel.
[ 13.488126] vdec 130a0000.vpu_dec: device init.
[ 13.490372] SUCCESS alloc_chrdev_region
[ 13.493103] SUCCESS alloc_chrdev_region
[ 13.506159] cnm_jpu 13090000.jpu: init device.
[ 14.495073] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 18.815101] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 23.355094] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 27.695100] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 27.701965] usb usb2-port2: attempt power cycle
[ 32.145091] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 36.485093] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 36.491954] usb usb2-port2: unable to enumerate USB device
[ 40.265551] mipi_0p9: disabling
[ 40.815095] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
udevadm settle failed
done
Initializing random number generator: OK
Saving random seed: [ 43.614807] urandom_read: 4 callbacks suppressed
[ 43.614828] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting rngd: OK
Starting system message bus: [ 43.692436] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[ 43.699570] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
dbus[285]: Unknown username “pulse” in message bus configuration file
done
Starting rpcbind: OK
Starting iptables: OK
Starting bluetoothd: OK
Starting network: OK
Starting Network Interface Plugging Daemon: eth0[ 44.196825] starfive-eth-plat 16030000.ethernet eth0: PHY [stmmac-0:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[ 44.225003] starfive-eth-plat 16030000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 44.233274] dwmac4: Master AXI performs fixed burst length
eth1[ 44.238821] starfive-eth-plat 16030000.ethernet eth0: No Safety Features support found
.
[ 44.247159] starfive-eth-plat 16030000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
Starting ofono … [ 44.285171] starfive-eth-plat 16030000.ethernet eth0: configuring for phy/rgmii-id link mode
done.
[ 44.297218] starfive-eth-plat 16040000.ethernet eth1: PHY [stmmac-1:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[ 44.315153] starfive-eth-plat 16040000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
Starting dropbear sshd: [ 44.504046] dwmac4: Master AXI performs fixed burst length
[ 44.509585] starfive-eth-plat 16040000.ethernet eth1: No Safety Features support found
[ 44.517546] starfive-eth-plat 16040000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[ 44.545291] starfive-eth-plat 16040000.ethernet eth1: configuring for phy/rgmii-id link mode
OK
Starting multipathd: OK
Starting NFS statd: OK
Starting NFS services: OK
Starting NFS daemon: [ 44.837625] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, ‘mount -t nfsd nfsd /proc/fs/nfsd’ and then restart rpc.nfsd to correct the problem
FAIL
Starting NFS mountd: OK
Starting isp_ctrl_daemon.sh: OK
Starting DHCP server: FAIL
No PARTLABEL=hibernation!
[ 45.354984] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?

Welcome to Buildroot
buildroot login: [ 46.347142] starfive-eth-plat 16030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 46.355970] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
roo[ 49.160672] random: crng init done
t
Password: [ 49.694966] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[ 49.701620] usb usb2-port2: attempt power cycle

[ 54.164954] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?

ls
ISP usb_device.sh
e24 v4l2_dec_test
mailbox video_dec_test
mjpeg_dec_test video_enc_test
run_weston.sh visionfive2_fw_payload.img
u-boot-spl.bin.normal.out

[ 58.524954] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?

[ 58.531618] usb usb2-port2: unable to enumerate USB device

what kind of USB did you use?

That boot was powered (same as usual) from the usb-c, with nothing in the 4 usb sockets. After booting I tested the 4 usb sockets with my usb keyboard/mouse adapter and all were functioning.

Did previous versions have this problem?

quote first post " worked without this error 2 days ago "
this is something new and I expect a hardware failure, didn’t go intermittent, just fail.
anyway, it will probably go in the bin and I’ll leave starfive and see how it goes in the future.
It was good to be part of the first, low price, riscv with usable linux support.
Onward and upward.

Maybe you can apply for an aftermarket