0
iamdrq

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

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0