Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Orange PI CM5 USB3.0 port not working #1183

Open
spele1100 opened this issue Feb 6, 2025 · 1 comment
Open

Bug Report: Orange PI CM5 USB3.0 port not working #1183

spele1100 opened this issue Feb 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@spele1100
Copy link

What happened?

Similar issue: #1176
But the 3.0 root hub is not even show in lsusb.

image: ubuntu-24.04-preinstalled-server-arm64-orangepi-cm5.img

Kernel version

6.1.0-1025-rockchip

SBC model

Orange PI CM5

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

$ dmesg | grep 3.0
[    5.002783] Linux version 6.1.0-1025-rockchip (buildd@bos03-arm64-034) (aarch64-linux-gnu-gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #25-Ubuntu SMP Mon Aug 26 23:01:14 UTC 2024
[    5.423180] percpu: Embedded 29 pages/cpu s80504 r8192 d30088 u118784
[    5.423225] pcpu-alloc: s80504 r8192 d30088 u118784 alloc=29*4096
[    5.423370] Detected VIPT I-cache on CPU0
[    5.930004] EFI services will not be available.
[    5.932370] GICv3: CPU2: using allocated LPI pending table @0x00000001001d0000
[    5.933251] GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000
[    5.933312] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    5.934031] CPU features: detected: Spectre-v4
[    5.934036] CPU features: detected: Spectre-BHB
[    5.934040] Detected PIPT I-cache on CPU4
[    5.934096] GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000
[    5.937005] CPU features: detected: CRC32 instructions
[    5.937020] CPU features: detected: RCpc load-acquire (LDAPR)
[    5.937033] CPU features: detected: Privileged Access Never
[    5.937047] CPU features: detected: RAS Extension Support
[    5.937062] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    5.957730] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    5.957744] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    5.960300] Registered FIQ tty driver
[    5.962980] ramoops: pmsg    0x30000@0x00000000001c0000
[    6.015408] rockchip-gpio fec30000.gpio: probed /pinctrl/gpio@fec30000
[    6.534059] reg-fixed-voltage vcc12v-dcin: vcc12v_dcin supplying 12000000uV
[    6.534370] reg-fixed-voltage vcc5v0-usbdcin: vcc5v0_usbdcin supplying 5000000uV
[    6.591305] vcc3v3_sys: 3300 mV, enabled
[    6.591382] reg-fixed-voltage vcc3v3-sys: vcc3v3_sys supplying 3300000uV
[    6.591906] libata version 3.00 loaded.
[    6.610422] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    6.612775] TCP: Hash tables configured (established 131072 bind 65536)
[    6.613208] UDP hash table entries: 8192 (order: 7, 786432 bytes, linear)
[    6.648380]    32regs          :  8100 MB/sec
[    6.662864] rk-pcie fe180000.pcie:       IO 0x00f3100000..0x00f31fffff -> 0x00f3100000
[    6.662926] rk-pcie fe180000.pcie:      MEM 0x00f3200000..0x00f3ffffff -> 0x00f3200000
[    6.665725] mpp_rkvdec2 fdc30000.rkvdec-ccu: rkvdec-ccu, probing start
[    6.665799] mpp_rkvdec2 fdc30000.rkvdec-ccu: ccu-mode: 1
[    6.665808] mpp_rkvdec2 fdc30000.rkvdec-ccu: probing finish
[    6.677797] dma-pl330 fea10000.dma-controller: Loaded driver for PL330 DMAC-241330
[    6.677817] dma-pl330 fea10000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    6.678867] dma-pl330 fea30000.dma-controller: Loaded driver for PL330 DMAC-241330
[    6.678883] dma-pl330 fea30000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    6.679954] dma-pl330 fed10000.dma-controller: Loaded driver for PL330 DMAC-241330
[    6.679971] dma-pl330 fed10000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    6.680729] rockchip-pvtm fdb30000.pvtm: pvtm@4 probed
[    6.681320] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    6.690340] rk_iommu fdca0000.iommu: av1d iommu enabled
[    6.701978] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp3 assign plane mask: Cluster3 | Esmart3[0x280], primary plane phy id: Cluster3[7]
[    6.713304] rockchip-vop2 fdd90000.vop: leakage=40
[    6.713602] dwhdmi-rockchip fde80000.hdmi: Looking up avdd-0v9-supply property in node /hdmi@fde80000 failed
[    6.868319] Console: switching to colour frame buffer device 320x90
[    6.905663] vcc_3v3_s3: 3300 mV, enabled
[    6.913284] vcc_3v3_s0: 3300 mV, enabled
[    6.913913] vccio_sd_s0: 1800 <--> 3300 mV at 3300 mV, enabled
[    6.914340] pldo6_s3: 1800 mV, enabled
[    6.952927] rk-pcie fe180000.pcie: PCIe Link up, LTSSM is 0x130011
[    6.952934] rk-pcie fe190000.pcie: PCIe Link up, LTSSM is 0x130011
[    6.969171] pci_bus 0003:30: root bus resource [io  0x100000-0x1fffff] (bus address [0xf3100000-0xf31fffff])
[    6.977031] pci_bus 0003:30: root bus resource [mem 0xf3200000-0xf3ffffff]
[    7.028310] pci 0003:30:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
[    7.055817] pci 0004:40:00.0: BAR 6: assigned [mem 0xf4300000-0xf430ffff pref]
[    7.065558] pci 0003:30:00.0: BAR 8: assigned [mem 0xf3200000-0xf32fffff]
[    7.069654] pci 0003:30:00.0: BAR 6: assigned [mem 0xf3300000-0xf330ffff pref]
[    7.073787] pci 0003:31:00.0: BAR 2: assigned [mem 0xf3200000-0xf320ffff 64bit]
[    7.080652] pci 0003:30:00.0:   bridge window [mem 0xf3200000-0xf32fffff]
[    7.083608] pcieport 0003:30:00.0: PME: Signaling with IRQ 93
[    7.163507] usbcore: registered new interface driver rndis_wlan
[    7.183306] usbcore: registered new interface driver uas
[    7.266011] hub 3-0:1.0: USB hub found
[    7.270201] hub 3-0:1.0: 1 port detected
[    7.309694] rockchip-mipi-csi2-hw fdd30000.mipi2-csi2-hw: enter mipi csi2 hw probe!
[    7.315753] rockchip-mipi-csi2-hw fdd30000.mipi2-csi2-hw: probe success, v4l2_dev:mipi2-csi2-hw!
[    7.320816] rockchip-mipi-csi2-hw fdd50000.mipi4-csi2-hw: enter mipi csi2 hw probe!
[    7.330746] rkisp_hw fdcb0000.rkisp: is_thunderboot: 0
[    7.334033] rkisp_hw fdcb0000.rkisp: max input:0x0@0fps
[    7.340984] rkisp_hw fdcc0000.rkisp: Missing rockchip,grf property
[    7.350234] cpu cpu0: Looking up cpu-supply from device tree
[    7.350797] cpu cpu0: bin=0
[    7.380778] cpu cpu6: bin=0
[    7.390762] cpu cpu6: pvtm=1632
[    7.439079] cpu cpu6: EM: OPP:1008000 is inefficient
[    7.439082] cpu cpu6: EM: OPP:816000 is inefficient
[    7.453904] sdhci-dwcmshc fe2e0000.mmc: Looking up vmmc-supply property in node /mmc@fe2e0000 failed
[    7.493104] Initializing XFRM netlink socket
[    7.503509] registered taskstats version 1
[    7.515637] rga3 fdb60000.rga: probe successfully, irq = 43, hw_version:3.0.76831
[    7.517204] rga3 fdb70000.rga: probe successfully, irq = 44, hw_version:3.0.76831
[    7.533310] mpp_vdpu2 fdb50400.vdpu: Adding to iommu group 1
[    7.559432] mpp_rkvdec2 fdc38100.rkvdec-core: Looking up vdec-supply property in node /rkvdec-core@fdc38000 failed
[    7.563109] mpp_rkvdec2 fdc38100.rkvdec-core: rcb_size 1048576
[    7.586300] mmc0: new HS400 Enhanced strobe MMC card at address 0001
[    7.603004] mali fb000000.gpu: Kernel DDK version g18p0-01eac0
[    7.633054] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up npu1-supply property in node /power-management@fd8d8000/power-controller failed
[    7.633076] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up npu2-supply from device tree
[    7.654261] mali fb000000.gpu: EM: OPP:300000 is inefficient
[    8.069196] input: Logitech USB Receiver as /devices/platform/fc840000.usb/usb1/1-1/1-1:1.0/0003:046D:C52B.0001/input/input3
[    8.126577] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-fc840000.usb-1/input0
[    8.135588] input: Logitech USB Receiver Mouse as /devices/platform/fc840000.usb/usb1/1-1/1-1:1.1/0003:046D:C52B.0002/input/input5
[    8.196413] input: Logitech USB Receiver Consumer Control as /devices/platform/fc840000.usb/usb1/1-1/1-1:1.1/0003:046D:C52B.0002/input/input6
[    8.199105] input: Logitech USB Receiver System Control as /devices/platform/fc840000.usb/usb1/1-1/1-1:1.1/0003:046D:C52B.0002/input/input7
[    8.202142] hid-generic 0003:046D:C52B.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-fc840000.usb-1/input1
[    8.209608] hid-generic 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-fc840000.usb-1/input2
[    9.330179] systemd[1]: Created slice user.slice - User and Session Slice.
[    9.370735] systemd[1]: systemd-pcrextend.socket - TPM2 PCR Extension (Varlink) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    9.436031] (-hwclock)[465]: fake-hwclock-load.service: Referenced but unset environment variable evaluates to an empty string: FORCE
[   11.609638] RTL8226B_RTL8221B 2.5Gbps PHY r8169-3-3100:00: attached PHY driver (mii_bus:phy_addr=r8169-3-3100:00, irq=MAC)
[   11.823109] r8169 0003:31:00.0 enP3p49s0: Link is Down
astri@ubuntu:~$ dmesg | grep usb
[    6.534278] reg-fixed-voltage vcc5v0-usbdcin: Looking up vin-supply from device tree
[    6.534284] vcc5v0_usbdcin: supplied by vcc12v_dcin
[    6.534304] vcc5v0_usbdcin: 5000 mV, enabled
[    6.534370] reg-fixed-voltage vcc5v0-usbdcin: vcc5v0_usbdcin supplying 5000000uV
[    6.534423] reg-fixed-voltage vcc5v0-usb: Looking up vin-supply from device tree
[    6.534429] vcc5v0_usb: supplied by vcc5v0_usbdcin
[    6.534433] vcc5v0_usbdcin: could not add device link regulator.4: -ENOENT
[    6.534449] vcc5v0_usb: 5000 mV, enabled
[    6.534517] reg-fixed-voltage vcc5v0-usb: vcc5v0_usb supplying 5000000uV
[    6.534802] vcc5v0_host: supplied by vcc5v0_usb
[    6.534806] vcc5v0_usb: could not add device link regulator.6: -ENOENT
[    6.591977] usbcore: registered new interface driver usbfs
[    6.592001] usbcore: registered new interface driver hub
[    6.592021] usbcore: registered new device driver usb
[    6.652737] phy phy-fd5d0000.syscon:[email protected]: Looking up phy-supply from device tree
[    6.652860] vcc5v0_host: could not add device link phy-fd5d0000.syscon:[email protected]: -ENOENT
[    6.652961] phy phy-fd5d0000.syscon:[email protected]: Looking up vbus-supply from device tree
[    6.652968] phy phy-fd5d0000.syscon:[email protected]: Looking up vbus-supply property in node /syscon@fd5d0000/usb2-phy@0/otg-port failed
[    6.654346] phy phy-fd5d8000.syscon:[email protected]: Looking up phy-supply from device tree
[    6.654358] vcc5v0_host: could not add device link phy-fd5d8000.syscon:[email protected]: -ENOENT
[    6.655615] phy phy-fd5dc000.syscon:[email protected]: Looking up phy-supply from device tree
[    6.655626] vcc5v0_host: could not add device link phy-fd5dc000.syscon:[email protected]: -ENOENT
[    7.163507] usbcore: registered new interface driver rndis_wlan
[    7.164922] usbcore: registered new interface driver asix
[    7.166295] usbcore: registered new interface driver cdc_ether
[    7.167642] usbcore: registered new interface driver rndis_host
[    7.168989] usbcore: registered new interface driver cdc_ncm
[    7.178265] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up usb-supply from device tree
[    7.178303] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up usb-supply property in node /power-management@fd8d8000/power-controller failed
[    7.180455] usbcore: registered new interface driver cdc_acm
[    7.182078] ehci-platform fc800000.usb: EHCI Host Controller
[    7.182104] ohci-platform fc840000.usb: Generic Platform OHCI controller
[    7.182133] ohci-platform fc840000.usb: new USB bus registered, assigned bus number 1
[    7.182151] ehci-platform fc880000.usb: EHCI Host Controller
[    7.182164] ehci-platform fc880000.usb: new USB bus registered, assigned bus number 2
[    7.182180] ohci-platform fc8c0000.usb: Generic Platform OHCI controller
[    7.182209] ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 3
[    7.182247] ehci-platform fc880000.usb: irq 95, io mem 0xfc880000
[    7.182327] ohci-platform fc840000.usb: irq 96, io mem 0xfc840000
[    7.182362] ohci-platform fc8c0000.usb: irq 97, io mem 0xfc8c0000
[    7.183306] usbcore: registered new interface driver uas
[    7.184510] ehci-platform fc800000.usb: new USB bus registered, assigned bus number 4
[    7.185883] usbcore: registered new interface driver usb-storage
[    7.187280] ehci-platform fc800000.usb: irq 94, io mem 0xfc800000
[    7.192904] ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00
[    7.195616] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    7.198269] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.201070] usb usb2: Product: EHCI Host Controller
[    7.203890] usb usb2: Manufacturer: Linux 6.1.0-1025-rockchip ehci_hcd
[    7.206232] ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00
[    7.206726] usb usb2: SerialNumber: fc880000.usb
[    7.212828] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    7.215533] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.223029] usb usb4: Product: EHCI Host Controller
[    7.223033] usb usb4: Manufacturer: Linux 6.1.0-1025-rockchip ehci_hcd
[    7.225992] usb usb4: SerialNumber: fc800000.usb
[    7.240488] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    7.244574] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.250175] usb usb3: Product: Generic Platform OHCI controller
[    7.254261] usb usb3: Manufacturer: Linux 6.1.0-1025-rockchip ohci_hcd
[    7.259851] usb usb3: SerialNumber: fc8c0000.usb
[    7.274974] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    7.279142] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.284795] usb usb1: Product: Generic Platform OHCI controller
[    7.290517] usb usb1: Manufacturer: Linux 6.1.0-1025-rockchip ohci_hcd
[    7.296302] usb usb1: SerialNumber: fc840000.usb
[    7.347328] usbcore: registered new interface driver uvcvideo
[    7.456661] usbcore: registered new interface driver usbhid
[    7.456663] usbhid: USB HID core driver
[    7.458812] usbcore: registered new interface driver snd-usb-audio
[    7.796241] usb 1-1: new full-speed USB device number 2 using ohci-platform
[    8.016649] usb 1-1: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.11
[    8.018976] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    8.021243] usb 1-1: Product: USB Receiver
[    8.023475] usb 1-1: Manufacturer: Logitech
[    8.069196] input: Logitech USB Receiver as /devices/platform/fc840000.usb/usb1/1-1/1-1:1.0/0003:046D:C52B.0001/input/input3
[    8.126577] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-fc840000.usb-1/input0
[    8.135588] input: Logitech USB Receiver Mouse as /devices/platform/fc840000.usb/usb1/1-1/1-1:1.1/0003:046D:C52B.0002/input/input5
[    8.196413] input: Logitech USB Receiver Consumer Control as /devices/platform/fc840000.usb/usb1/1-1/1-1:1.1/0003:046D:C52B.0002/input/input6
[    8.199105] input: Logitech USB Receiver System Control as /devices/platform/fc840000.usb/usb1/1-1/1-1:1.1/0003:046D:C52B.0002/input/input7
[    8.202142] hid-generic 0003:046D:C52B.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-fc840000.usb-1/input1
[    8.209608] hid-generic 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-fc840000.usb-1/input2

$ lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
@spele1100 spele1100 added the bug Something isn't working label Feb 6, 2025
@spele1100
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant