Thanks Hui for the new kernel.  It is not fully working yet though.  I
attach the two "dmesg --color=always" output for your comparison.

Using your new kernel, my Pi 4B can load g_ether successfully with
Ubuntu.  However, OTG mode is still not working as expected.  Connected
to my L470 running Ubuntu 19.10, P4B on ubuntu gives:

----- this is output from dmesg on L470 -----
[114144.192312] usb 1-3.1: new high-speed USB device number 15 using xhci_hcd
[114144.572780] usb 1-3.1: device descriptor read/64, error -71
[114160.102412] usb 1-3.1: device descriptor read/64, error -110
[114160.287331] usb 1-3.1: new high-speed USB device number 16 using xhci_hcd
[114165.734418] usb 1-3.1: device descriptor read/64, error -110
[114181.606824] usb 1-3.1: device descriptor read/64, error -110
[114181.712895] usb 1-3-port1: attempt power cycle
[114182.324401] usb 1-3.1: new high-speed USB device number 17 using xhci_hcd
[114187.750644] usb 1-3.1: device descriptor read/64, error -110
[114203.622447] usb 1-3.1: device descriptor read/64, error -110
[114203.806762] usb 1-3.1: new high-speed USB device number 18 using xhci_hcd
[114209.253645] usb 1-3.1: device descriptor read/64, error -110
[114225.126520] usb 1-3.1: device descriptor read/64, error -110
[114225.233412] usb 1-3-port1: unable to enumerate USB device

when I boot my Pi 4B on Raspbian, the output is as expected:

----- this is output from dmesg on L470 -----
[114365.055969] usb 1-3.1: new high-speed USB device number 19 using xhci_hcd
[114365.146823] usb 1-3.1: New USB device found, idVendor=0525, idProduct=a4a2, 
bcdDevice= 4.19
[114365.146837] usb 1-3.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[114365.146844] usb 1-3.1: Product: RNDIS/Ethernet Gadget
[114365.146849] usb 1-3.1: Manufacturer: Linux 4.19.93-v7l+ with fe980000.usb
[114365.161097] cdc_subset: probe of 1-3.1:1.0 failed with error -22
[114365.162862] cdc_subset 1-3.1:1.1 usb0: register 'cdc_subset' at 
usb-0000:00:14.0-3.1, Linux Device, 7a:e4:85:af:64:35
[114365.162980] usbcore: registered new interface driver cdc_subset
[114365.163051] cdc_ether: probe of 1-3.1:1.0 failed with error -16
[114365.163119] usbcore: registered new interface driver cdc_ether

Any suggestion?  I simply use some random values as g_ether module
parameters.

** Attachment added: "dmesgs.tgz"
   
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1861070/+attachment/5323811/+files/dmesgs.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861070

Title:
  Raspberry Pi 4B: USB OTG is not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1861070/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to