OpenWrt and usb
#1
Hi folks,

maybe there is some user who has installed OpenWrt on its A64 (+) and can help me with following issue:

One usb port (top one) is not working. Power is there, but no device is recognized. The other one is working fine, I have my wlan adapter plugged in there.
I measured the connection from the connectors to the soldered pins on the lower side of the board (ohms), everything seems fine.

There is some error message in "dmesg" (line #4), but I have no idea what that means:
Code:
root@OpenWrt:~# dmesg | grep usb
[    0.465166] usbcore: registered new interface driver usbfs
[    0.470798] usbcore: registered new interface driver hub
[    0.476217] usbcore: registered new device driver usb
[    0.644077] sun4i-usb-phy 1c19400.phy: failed to get clock usb0_phy
[    0.728614] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.734239] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.742098] ehci-platform 1c1a000.usb: irq 9, io mem 0x01c1a000
[    0.772224] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.778475] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.785290] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.792530] usb usb1: Product: EHCI Host Controller
[    0.797410] usb usb1: Manufacturer: Linux 4.14.215 ehci_hcd
[    0.802992] usb usb1: SerialNumber: 1c1a000.usb
[    0.828027] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.834678] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.842531] ohci-platform 1c1a400.usb: irq 10, io mem 0x01c1a400
[    0.916352] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    0.925820] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.933056] usb usb2: Product: Generic Platform OHCI controller
[    0.938985] usb usb2: Manufacturer: Linux 4.14.215 ohci_hcd
[    0.944578] usb usb2: SerialNumber: 1c1a400.usb
[    0.958137] usbcore: registered new interface driver usb-storage
[    1.329762] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.335370] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    1.343223] ehci-platform 1c1b000.usb: irq 11, io mem 0x01c1b000
[    1.372215] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.378450] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.385246] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.392472] usb usb3: Product: EHCI Host Controller
[    1.397345] usb usb3: Manufacturer: Linux 4.14.215 ehci_hcd
[    1.402921] usb usb3: SerialNumber: 1c1b000.usb
[    1.416402] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.423040] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4
[    1.430866] ohci-platform 1c1b400.usb: irq 12, io mem 0x01c1b400
[    1.506355] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    1.513153] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.520367] usb usb4: Product: Generic Platform OHCI controller
[    1.526291] usb usb4: Manufacturer: Linux 4.14.215 ohci_hcd
[    1.531858] usb usb4: SerialNumber: 1c1b400.usb
[    1.812240] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    2.028508] usb 3-1: New USB device found, idVendor=148f, idProduct=5572
[    2.036607] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.043787] usb 3-1: Product: 802.11 n WLAN
[    2.047996] usb 3-1: Manufacturer: Ralink
[    2.052048] usb 3-1: SerialNumber: 1.0
[    6.662237] usb 3-1: reset high-speed USB device number 2 using ehci-platform
[    6.917539] usbcore: registered new interface driver rt2800usb

Some suggestions?

guenther
  Reply
#2
I booted fedora to the A64, keyboard works flawless on both usb ports . So no HW issue (what is good)... but OpenWrt.

Any ideas?
  Reply
#3
According to OpenWrt Pine64 PINE A64+ Device Page:

Quote:Upper USB Port is not working.
The port is wired to a USB-OTG controller (more info) which kernel drivers are not built in current OpenWrt images.
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!

I am (nominally) the Armbian Maintainer for PineBook Pro (although severely lacking in time these days).
  Reply
#4
(02-16-2021, 02:15 PM)TRS-80 Wrote: According to OpenWrt Pine64 PINE A64+ Device Page:

Quote:Upper USB Port is not working.
The port is wired to a USB-OTG controller (more info) which kernel drivers are not built in current OpenWrt images.

Bad news, but thank you a lot for the info!
  Reply
#5
I did not follow the link nor research the issue any further, are you certain it is a dead end?

Maybe you can build the drivers yourself, or...? This is what is great about OpenWrt, it is (with a few caveats) largely just plain GNU/Linux, which makes it infinitely more useful...
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!

I am (nominally) the Armbian Maintainer for PineBook Pro (although severely lacking in time these days).
  Reply
#6
(02-16-2021, 02:48 PM)TRS-80 Wrote: I did not follow the link nor research the issue any further, are you certain it is a dead end?

Well, for me probably yes :-)
I don't need the second port real bad at the moment. Let's see....

Regards, guenther
  Reply
#7
Hi folks!

I just want to let you know that there is a solution to the issue. If someone is interested follow the link to the OpenWrt forum...
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Install OpenWrt on A64+ without serial? JuniperFury 5 6,867 12-25-2021, 10:31 AM
Last Post: guenther

Forum Jump:


Users browsing this thread: 2 Guest(s)