Bug 281726 - USB device errors on Quartz64 Model A (RK3566)
Summary: USB device errors on Quartz64 Model A (RK3566)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm64 Any
: --- Affects Only Me
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-26 10:23 UTC by Peter Jeremy
Modified: 2024-10-02 17:29 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy freebsd_committer freebsd_triage 2024-09-26 10:23:28 UTC
USB messages at g6e414739fc95

rk_usb2phy0: <Rockchip USB2PHY> mem 0xfe8a0000-0xfe8affff irq 76 on ofwbus0
Clock: clk_usbphy0_480m, parent: clk_usbphy0_ref(0), freq: 480000000
rk_usb2phy1: <Rockchip USB2PHY> mem 0xfe8b0000-0xfe8bffff irq 77 on ofwbus0
Clock: clk_usbphy1_480m, parent: clk_usbphy1_ref(0), freq: 480000000
snps_dwc3_fdt0: <Synopsys Designware DWC3> mem 0xfcc00000-0xfcffffff irq 10 on ofwbus0
snps_dwc3_fdt0: SNPS Version: DWC3 (5533 300a)
snps_dwc3_fdt0: 64 bytes context size, 32-bit DMA
usbus0: trying to attach
usbus0 on snps_dwc3_fdt0
snps_dwc3_fdt0: usbpf: Attached
snps_dwc3_fdt1: <Synopsys Designware DWC3> mem 0xfd000000-0xfd3fffff irq 11 on ofwbus0
snps_dwc3_fdt1: SNPS Version: DWC3 (5533 300a)
rk3568_combphy0: configuring for USB3 ref_clk=25000000
snps_dwc3_fdt1: 64 bytes context size, 32-bit DMA
usbus1: trying to attach
usbus1 on snps_dwc3_fdt1
snps_dwc3_fdt1: usbpf: Attached
ehci0: <Generic EHCI Controller> mem 0xfd800000-0xfd83ffff irq 13 on ofwbus0
usbus2: EHCI version 1.0
usbus2 on ehci0
ehci0: usbpf: Attached
ohci0: <Generic OHCI Controller> mem 0xfd840000-0xfd87ffff irq 14 on ofwbus0
usbus3 on ohci0
ohci0: usbpf: Attached
ehci1: <Generic EHCI Controller> mem 0xfd880000-0xfd8bffff irq 15 on ofwbus0
usbus4: EHCI version 1.0
usbus4 on ehci1
ehci1: usbpf: Attached
ohci1: <Generic OHCI Controller> mem 0xfd8c0000-0xfd8fffff irq 16 on ofwbus0
usbus5 on ohci1
ohci1: usbpf: Attached
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 5.0Gbps Super Speed USB v3.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
usbus5: 12Mbps Full Speed USB v1.0
ugen3.1: <Generic OHCI root HUB> at usbus3
uhub0 on usbus3
uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen2.1: <Generic EHCI root HUB> at usbus2
uhub1 on usbus2
uhub1: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen5.1: <Generic OHCI root HUB> at usbus5
uhub2 on usbus5
uhub2: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen4.1: <Generic EHCI root HUB> at usbus4
uhub3 on usbus4
uhub3: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen1.1: <Synopsys XHCI root HUB> at usbus1
uhub4 on usbus1
uhub4: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ugen0.1: <Synopsys XHCI root HUB> at usbus0
uhub5 on usbus0
uhub5: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub1: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
ugen3.2: <Unknown > at usbus3 (disconnected)
uhub_reattach_port: could not allocate new device

usbconfig with no USB devices connected reports:

# usbconfig
ugen3.1: <Generic OHCI root HUB> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen2.1: <Generic EHCI root HUB> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen5.1: <Generic OHCI root HUB> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen4.1: <Generic EHCI root HUB> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.1: <Synopsys XHCI root HUB> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.1: <Synopsys XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
#