Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

USB don't work On OrangepiA64 Win Use Mainline Linux 5.0

Featured Replies

I try Armbian's OrangepiA64 Win Mainline Linux 4.19,But jack sound don't work always,I try many a time.Finally,I decide build image from mainline linux 5.0,Yes,Everything ok except usb,all usb  port don't work.

root@OrangepiWin:~# lsusb 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@OrangepiWin:~# dmesg |grep -i usb
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rootfstype=ext4  console=ttyS0,115200 panic=10 consoleblank=0 loglevel=8 ubootpart=bc38bc54-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[    1.246421] usbcore: registered new interface driver usbfs
[    1.246464] usbcore: registered new interface driver hub
[    1.246526] usbcore: registered new device driver usb
[    2.098070] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    2.121669] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.121877] ehci-platform 1c1a000.usb: EHCI Host Controller
[    2.121902] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    2.122960] ehci-platform 1c1a000.usb: irq 18, io mem 0x01c1a000
[    2.136047] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    2.136278] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01
[    2.136289] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.136298] usb usb1: Product: EHCI Host Controller
[    2.136306] usb usb1: Manufacturer: Linux 5.1.0-rc1+ ehci_hcd
[    2.136314] usb usb1: SerialNumber: 1c1a000.usb
[    2.136837] hub 1-0:1.0: USB hub found
[    2.137502] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.137697] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.137718] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.138053] ohci-platform 1c1a400.usb: irq 19, io mem 0x01c1a400
[    2.200240] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.01
[    2.200251] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.200260] usb usb2: Product: Generic Platform OHCI controller
[    2.200268] usb usb2: Manufacturer: Linux 5.1.0-rc1+ ohci_hcd
[    2.200276] usb usb2: SerialNumber: 1c1a400.usb
[    2.200728] hub 2-0:1.0: USB hub found
[    2.201701] usbcore: registered new interface driver usb-storage
[    2.205401] usbcore: registered new interface driver usbhid
[    2.205406] usbhid: USB HID core driver
[    2.264122] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    4.206938] ehci-platform: probe of 1c1b000.usb failed with error -22
[    4.213806] ohci-platform: probe of 1c1b400.usb failed with error -22
[    4.220636] usb_phy_generic usb_phy_generic.2.auto: usb_phy_generic.2.auto supply vcc not found, using dummy regulator
[    4.231665] musb-hdrc musb-hdrc.3.auto: MUSB HDRC host driver
[    4.237423] musb-hdrc musb-hdrc.3.auto: new USB bus registered, assigned bus number 3
[    4.245478] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01
[    4.253752] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.260979] usb usb3: Product: MUSB HDRC host driver
[    4.265946] usb usb3: Manufacturer: Linux 5.1.0-rc1+ musb-hcd
[    4.271691] usb usb3: SerialNumber: musb-hdrc.3.auto
[    4.277118] hub 3-0:1.0: USB hub found
[    4.295367] usb0-vbus: disabling

This line Armbian also show in log:

sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
 

I think this problem is related to fallow two line:

 

[    4.206938] ehci-platform: probe of 1c1b000.usb failed with error -22
[    4.213806] ohci-platform: probe of 1c1b400.usb failed with error -22

 

I found 1c1b000.usb 1c1b400.usb in dts of OrangepiWin usb:

usb@1c1b000 {
            compatible = "allwinner,sun50i-a64-ehci", "generic-ehci";
            reg = <0x1c1b000 0x100>;
            interrupts = <0x0 0x4a 0x4>;
            clocks = <0x2 0x2d 0x2 0x2b 0x2 0x5d>;
            resets = <0x2 0x16 0x2 0x14>;
            phys = <0x20 0x1>;
            phy-names = "usb";
            status = "okay";
        }

usb@1c1b400 {
            compatible = "allwinner,sun50i-a64-ohci", "generic-ohci";
            reg = <0x1c1b400 0x100>;
            interrupts = <0x0 0x4b 0x4>;
            clocks = <0x2 0x2d 0x2 0x5d>;
            resets = <0x2 0x16>;
            phys = <0x20 0x1>;
            phy-names = "usb";
            status = "okay";
        };

 

Somebody meet this problem ?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.