Linux laptop does not detect the board when plugged in via USB
#1
Hi there!
I was wondering if someone could help me try to figure out where to begin with troubleshooting this issue...
I have a Linux laptop that does not enumerate my rockpro64 when it is plugged in via the USB C port on the board.  Both the board and the laptop are running Gentoo.
I believe this is an issue on the laptop side, as I've had this problem with some other boards, an rpi zero and BBB, but I haven't had much luck figuring out the issue on the Gentoo forums.

Here's the kernel config for the laptop: https://dpaste.com/2HMMLKLYW
And for the board: https://dpaste.com/EQXMPZGRL

Here is the dmesg on the laptop:
Code:
sleepy@seraph ~ $ dmesg | grep usb
[   16.200788] usbcore: registered new interface driver usbfs
[   16.201089] usbcore: registered new interface driver hub
[   16.201392] usbcore: registered new device driver usb
[   24.166601] pci 0000:00:14.0: quirk_usb_early_handoff+0x0/0x1033 took 17769 usecs
[   24.191465] pci 0000:2c:00.0: quirk_usb_early_handoff+0x0/0x1033 took 22583 usecs
[   68.863537] usbcore: registered new interface driver udl
[   70.026827] usbcore: registered new interface driver rndis_wlan
[   70.027001] usbcore: registered new interface driver cdc_ether
[   70.027170] usbcore: registered new interface driver cdc_eem
[   70.027335] usbcore: registered new interface driver rndis_host
[   70.027518] usbcore: registered new interface driver cdc_subset
[   70.027917] usbcore: registered new interface driver cdc_ncm
[   70.028172] usbcore: registered new interface driver cdc_mbim
[   70.062324] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[   70.062350] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   70.062370] usb usb1: Product: xHCI Host Controller
[   70.062390] usb usb1: Manufacturer: Linux 5.9.0-rc8-x86_64+ xhci-hcd
[   70.062409] usb usb1: SerialNumber: 0000:00:14.0
[   70.281134] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
[   70.281160] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   70.281179] usb usb2: Product: xHCI Host Controller
[   70.281200] usb usb2: Manufacturer: Linux 5.9.0-rc8-x86_64+ xhci-hcd
[   70.281219] usb usb2: SerialNumber: 0000:00:14.0
[   70.322886] usb: port power management may be unreliable
[   70.436017] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[   70.436043] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   70.436063] usb usb3: Product: xHCI Host Controller
[   70.436083] usb usb3: Manufacturer: Linux 5.9.0-rc8-x86_64+ xhci-hcd
[   70.436102] usb usb3: SerialNumber: 0000:2c:00.0
[   70.587098] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
[   70.587139] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   70.587173] usb usb4: Product: xHCI Host Controller
[   70.587208] usb usb4: Manufacturer: Linux 5.9.0-rc8-x86_64+ xhci-hcd
[   70.587241] usb usb4: SerialNumber: 0000:2c:00.0
[   70.600786] usb 1-8: new high-speed USB device number 2 using xhci_hcd
[   70.864209] usbcore: registered new interface driver cdc_acm
[   70.864528] usbcore: registered new interface driver cdc_wdm
[   70.864901] usbcore: registered new interface driver usbtmc
[   70.865766] usbcore: registered new interface driver uas
[   70.866555] usbcore: registered new interface driver usb-storage
[   70.867384] usbcore: registered new interface driver cp210x
[   70.867592] usbserial: USB Serial support registered for cp210x
[   70.868081] usbcore: registered new interface driver ftdi_sio
[   70.868287] usbserial: USB Serial support registered for FTDI USB Serial Device
[   70.869346] usbcore: registered new interface driver usblcd
[   70.869701] usbcore: registered new interface driver ldusb
[   70.870028] usbcore: registered new interface driver sisusb
[   70.917977] usb 1-8: New USB device found, idVendor=13d3, idProduct=56bc, bcdDevice=69.09
[   70.918004] usb 1-8: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[   70.918023] usb 1-8: Product: Integrated Camera
[   70.918043] usb 1-8: Manufacturer: Azurewave
[   70.918061] usb 1-8: SerialNumber: 6909
[   71.045753] usb 1-9: new full-speed USB device number 3 using xhci_hcd
[   71.391022] usb 1-9: New USB device found, idVendor=06cb, idProduct=00bd, bcdDevice= 0.00
[   77.572717] usb 1-9: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[   77.672552] usb 1-9: SerialNumber: 923aa3862b26
[   77.980074] usb 1-14: new full-speed USB device number 4 using xhci_hcd
[   78.210308] usb 1-14: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01
[   78.310434] usb 1-14: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   78.423179] usbcore: registered new device driver usbip-host
[   78.525026] udc usbip-vudc.0: registering UDC driver [g_audio]
[   78.728060] g_audio usbip-vudc.0: failed to start g_audio: -2
[   78.830930] udc usbip-vudc.0: releasing 'usbip-vudc.0'
[   78.830981]  gadget: usb_udc_nop_release
[   78.831076] usbip-vudc: probe of usbip-vudc.0 failed with error -2
[   79.325485] usbcore: registered new interface driver synaptics_usb
[   79.518108] usbcore: registered new interface driver usbtouchscreen
[   81.290739] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input8
[   82.122143] input: Integrated Camera: Integrated I as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/input/input9
[   82.230073] usbcore: registered new interface driver uvcvideo
[   83.600545] usbcore: registered new interface driver btusb
[   84.344134] usbcore: registered new interface driver usbhid
[   84.363844] usbhid: USB HID core driver
[   90.866107] usbcore: registered new interface driver r8152

Dmesg on the board:
Code:
sleepy@pine ~ $ dmesg | grep usb
[    1.171092] reg-fixed-voltage vcc5v0-usb: Looking up vin-supply from device tree
[    1.171114] vcc5v0_usb: supplied by vcc12v_dcin
[    1.171597] vcc5v0_usb: 5000 mV
[    1.174618] reg-fixed-voltage vcc5v0-usb: vcc5v0_usb supplying 5000000uV
[    1.220227] usbcore: registered new interface driver usbfs
[    1.220691] usbcore: registered new interface driver hub
[    1.221237] usbcore: registered new device driver usb
[    8.908032] phy phy-ff770000.syscon:usb2-phy@e450.1: Looking up phy-supply from device tree
[    8.908102] vcc5v0_host: supplied by vcc5v0_usb
[    8.908784] vcc5v0_host: could not add device link phy-ff770000.syscon:usb2-phy@e450.1 err -2
[    8.912936] phy phy-ff770000.syscon:usb2-phy@e450.2: Looking up phy-supply from device tree
[    8.912976] phy phy-ff770000.syscon:usb2-phy@e450.2: Looking up phy-supply property in node /syscon@ff770000/usb2-phy@e450/otg-port failed
[    8.918622] phy phy-ff770000.syscon:usb2-phy@e460.3: Looking up phy-supply from device tree
[    8.918720] vcc5v0_host: could not add device link phy-ff770000.syscon:usb2-phy@e460.3 err -2
[    8.922302] phy phy-ff770000.syscon:usb2-phy@e460.4: Looking up phy-supply from device tree
[    8.922342] phy phy-ff770000.syscon:usb2-phy@e460.4: Looking up phy-supply property in node /syscon@ff770000/usb2-phy@e460/otg-port failed
[    8.928523] phy phy-ff7c0000.phy.6: Looking up phy-supply property in node /phy@ff7c0000/usb3-port failed
[    8.933830] phy phy-ff800000.phy.8: Looking up phy-supply property in node /phy@ff800000/usb3-port failed
[    8.998974] vcc5v0_typec: supplied by vcc5v0_usb
[    9.218522] usbcore: registered new interface driver udl
[    9.484355] ehci-platform fe380000.usb: EHCI Host Controller
[    9.486714] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    9.488789] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000
[    9.496437] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    9.499786] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.500597] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.501264] usb usb1: Product: EHCI Host Controller
[    9.501758] usb usb1: Manufacturer: Linux 5.9.0-rc7-dirty ehci_hcd
[    9.502329] usb usb1: SerialNumber: fe380000.usb
[    9.518935] ehci-platform fe3c0000.usb: EHCI Host Controller
[    9.521219] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    9.523561] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000
[    9.530474] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    9.533626] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.534466] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.535134] usb usb2: Product: EHCI Host Controller
[    9.535638] usb usb2: Manufacturer: Linux 5.9.0-rc7-dirty ehci_hcd
[    9.536208] usb usb2: SerialNumber: fe3c0000.usb
[    9.552639] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    9.555080] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    9.556903] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000
[    9.615752] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.09
[    9.616571] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.617238] usb usb3: Product: Generic Platform OHCI controller
[    9.617822] usb usb3: Manufacturer: Linux 5.9.0-rc7-dirty ohci_hcd
[    9.618420] usb usb3: SerialNumber: fe3a0000.usb
[    9.632363] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    9.635094] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    9.636964] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000
[    9.695641] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.09
[    9.696462] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.697128] usb usb4: Product: Generic Platform OHCI controller
[    9.697712] usb usb4: Manufacturer: Linux 5.9.0-rc7-dirty ohci_hcd
[    9.698283] usb usb4: SerialNumber: fe3e0000.usb
[    9.725789] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.726607] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.727274] usb usb5: Product: xHCI Host Controller
[    9.727766] usb usb5: Manufacturer: Linux 5.9.0-rc7-dirty xhci-hcd
[    9.728337] usb usb5: SerialNumber: xhci-hcd.0.auto
[    9.744329] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.747050] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
[    9.747980] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.748684] usb usb6: Product: xHCI Host Controller
[    9.749142] usb usb6: Manufacturer: Linux 5.9.0-rc7-dirty xhci-hcd
[    9.749745] usb usb6: SerialNumber: xhci-hcd.0.auto
[    9.773849] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.774671] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.775338] usb usb7: Product: xHCI Host Controller
[    9.775831] usb usb7: Manufacturer: Linux 5.9.0-rc7-dirty xhci-hcd
[    9.776431] usb usb7: SerialNumber: xhci-hcd.1.auto
[    9.792115] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.794929] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
[    9.795744] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.796447] usb usb8: Product: xHCI Host Controller
[    9.796904] usb usb8: Manufacturer: Linux 5.9.0-rc7-dirty xhci-hcd
[    9.797629] usb usb8: SerialNumber: xhci-hcd.1.auto
[    9.819128] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.819936] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.820935] usb usb9: Product: Dummy host controller
[    9.821440] usb usb9: Manufacturer: Linux 5.9.0-rc7-dirty dummy_hcd
[    9.822016] usb usb9: SerialNumber: dummy_hcd.0
[    9.840654] usb usb10: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.841462] usb usb10: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.842136] usb usb10: Product: Dummy host controller
[    9.842780] usb usb10: Manufacturer: Linux 5.9.0-rc7-dirty dummy_hcd
[    9.843404] usb usb10: SerialNumber: dummy_hcd.1
[    9.862013] usb usb11: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.862831] usb usb11: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.863699] usb usb11: Product: Dummy host controller
[    9.864173] usb usb11: Manufacturer: Linux 5.9.0-rc7-dirty dummy_hcd
[    9.864792] usb usb11: SerialNumber: dummy_hcd.2
[    9.883255] usb usb12: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.884075] usb usb12: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.884974] usb usb12: Product: Dummy host controller
[    9.885484] usb usb12: Manufacturer: Linux 5.9.0-rc7-dirty dummy_hcd
[    9.886068] usb usb12: SerialNumber: dummy_hcd.3
[    9.904627] usb usb13: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.905441] usb usb13: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.906114] usb usb13: Product: Dummy host controller
[    9.906784] usb usb13: Manufacturer: Linux 5.9.0-rc7-dirty dummy_hcd
[    9.907408] usb usb13: SerialNumber: dummy_hcd.4
[    9.925882] usb usb14: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.926922] usb usb14: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.927637] usb usb14: Product: Dummy host controller
[    9.928108] usb usb14: Manufacturer: Linux 5.9.0-rc7-dirty dummy_hcd
[    9.928725] usb usb14: SerialNumber: dummy_hcd.5
[    9.947407] usb usb15: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.948180] usb usb15: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.949010] usb usb15: Product: Dummy host controller
[    9.949523] usb usb15: Manufacturer: Linux 5.9.0-rc7-dirty dummy_hcd
[    9.950107] usb usb15: SerialNumber: dummy_hcd.6
[    9.968662] usb usb16: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    9.969468] usb usb16: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.970141] usb usb16: Product: Dummy host controller
[    9.970811] usb usb16: Manufacturer: Linux 5.9.0-rc7-dirty dummy_hcd
[    9.971435] usb usb16: SerialNumber: dummy_hcd.7
[   10.008884] usbcore: registered new interface driver iforce
[   10.010013] usbcore: registered new interface driver xpad
[   10.011555] usbcore: registered new interface driver usbtouchscreen
[   10.205843] usbcore: registered new interface driver uvcvideo
[   10.249410] usbcore: registered new interface driver bfusb
[   10.250486] usbcore: registered new interface driver btusb
[   10.401477] usbcore: registered new interface driver usbhid
[   10.401988] usbhid: USB HID core driver
[   10.407388] usbcore: registered new interface driver snd-usb-audio
[   21.435583] typec_fusb302 4-0022: Looking up vbus-supply from device tree


Note that when the board is plugged in there's no feedback from dmesg whatsoever.  The laptop enumerates other USB devices (phone, storage devices) just fine.
I am not sure if this is a eudev or kernel config issue.  I thought that maybe this was caused by the board being in "host" mode rather than device, but I am unsure of where to go from here. 
Please let me know if there's any more information that would be helpful.
  Reply
#2
Thanks
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 6 1,663 10-12-2024, 04:53 AM
Last Post: mara
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 1,400 09-22-2023, 04:27 AM
Last Post: diederik
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,118 07-14-2023, 04:22 AM
Last Post: hunderteins
  RockPro64 linux console video mode callegar 0 1,092 09-06-2022, 02:32 PM
Last Post: callegar
Brick Maintained Linux booting from eMMC ootoovak 10 9,668 04-30-2022, 03:57 PM
Last Post: TRS-80
  How I Got Fedora Linux to Boot From eMMC (or microSD, for that matter) whitecat23 4 5,207 01-03-2022, 10:32 AM
Last Post: whitecat23
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 3,453 07-14-2021, 02:37 PM
Last Post: TRS-80
  Booting Linux/Debian from the eMMC linuxha 4 5,784 03-02-2021, 07:01 PM
Last Post: linuxha
  How to reset board to default state? kkdao 4 6,746 09-01-2020, 05:48 AM
Last Post: kkdao
  Xen EFI with Alpine Linux dom0 sir.lami 0 2,699 08-26-2020, 12:25 PM
Last Post: sir.lami

Forum Jump:


Users browsing this thread: 1 Guest(s)