[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2022-05-16 Thread LS
Thanks - I thought it was related - I have opened a new ticket: https://bugs.launchpad.net/ubuntu/+bug/1973648 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title: Raspbe

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2022-05-16 Thread Juerg Haefliger
This is unrelated. Please open a new ticket. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title: Raspberry Pi 4B: USB OTG is not working Status in linux-raspi package i

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2022-05-16 Thread LS
Hi Running RPI4B with Jammy and cannot get the USB Ports to work. uname -r output: 5.15.0-1006-raspi dmesg output: 1.842505] dwc2 fe98.usb: supply vusb_d not found, using dummy regulator [1.842665] dwc2 fe98.usb: supply vusb_a not found, using dummy regulator [1.895846] dwc2

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2022-04-22 Thread Hui Wang
** Changed in: linux-raspi2 (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title: Raspberry Pi 4B: USB OTG is not working

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-06-25 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi - 5.4.0-1012.12 --- linux-raspi (5.4.0-1012.12) focal; urgency=medium * focal/linux-raspi: 5.4.0-1012.12 -proposed tracker (LP: #1878791) * Focal update: v5.4.36 upstream stable release (LP: #1876361) - [Config] raspi: updateconfi

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-06-19 Thread Enoch Leung
Confirmed to work now after upgrading to linux-image-5.4.0-1012-raspi, which also fixed the warm boot issue I'd reported in 1871977. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/18

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-06-10 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi - 5.4.0-1012.12 --- linux-raspi (5.4.0-1012.12) focal; urgency=medium * focal/linux-raspi: 5.4.0-1012.12 -proposed tracker (LP: #1878791) * Focal update: v5.4.36 upstream stable release (LP: #1876361) - [Config] raspi: updateconfi

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-06-03 Thread Enoch Leung
I just upgraded to Focal and yes, the issue just come back. ## from dmesg ## [5.722325] dwc2 fe98.usb: fe98.usb supply vusb_d not found, using dummy regulator [5.722385] dwc2 fe98.usb: fe98.usb supply vusb_a not found, using dummy regulator [5.722541] dwc2 fe9

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-06-01 Thread lsmith
so what is the state of this with ubuntu server 20.20 ? I added “dtoverlay=dwc2,dr_mode=peripheral“ to /boot/firmware/usercfg.txt but also never seeing the USB-C ethernet show up when connected to my Ubuntu 18.04 laptop. Then again I might be missing the equivalent of “modules-load=dwc2” as noted

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-05-13 Thread Khaled El Mously
** Changed in: linux-raspi (Ubuntu Focal) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title: Raspberry Pi 4B: USB OTG is not wor

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-05-13 Thread Stefan Bader
** Changed in: linux-raspi (Ubuntu Focal) Importance: Undecided => Medium ** Changed in: linux-raspi (Ubuntu Focal) Status: New => Triaged ** Changed in: linux-raspi (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Kernel Package

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-05-11 Thread Juerg Haefliger
** Also affects: linux-raspi (Ubuntu) Importance: Undecided Status: New ** Also affects: linux-raspi2 (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: linux-raspi (Ubuntu Focal) Importance: Undecided Status: New ** No longer affects: linux-raspi (Ub

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-04-29 Thread Rachel Chen
It doesn't seem like it: https://git.launchpad.net/~ubuntu- kernel/ubuntu/+source/linux/+git/focal/tree/debian.raspi/config/config.common.ubuntu?h=raspi#n7282 I'm currently trying to recompile linux-image-5.4.0-1008-raspi on RPi4 with USB_DWC2_DUAL_ROLE=y -- You received this bug notification be

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-04-26 Thread Nick Melnick
Sorry to bump an old question/resolution, but did this fix also make it into the focal 5.4 raspi kernel? I'm seeing something similar to the original post, but the test kernel above isn't going to work in focal. Thanks! -- You received this bug notification because you are a member of Kernel Pack

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-03-16 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-raspi2 - 5.3.0-1019.21 --- linux-raspi2 (5.3.0-1019.21) eoan; urgency=medium * eoan/linux-raspi2: 5.3.0-1019.21 -proposed tracker (LP: #1863269) * Eoan update: upstream stable patchset 2020-02-06 (LP: #1862227) - [Config] raspi2: Update

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-02-14 Thread Kleber Sacilotto de Souza
** Changed in: linux-raspi2 (Ubuntu Eoan) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title: Raspberry Pi 4B: USB OTG is not

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-02-14 Thread Stefan Bader
** Also affects: linux-raspi2 (Ubuntu Eoan) Importance: Undecided Status: New ** Changed in: linux-raspi2 (Ubuntu Eoan) Importance: Undecided => High ** Changed in: linux-raspi2 (Ubuntu Eoan) Status: New => In Progress -- You received this bug notification because you are a

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-02-09 Thread Hui Wang
** Description changed: + [Impact] + On the RPI4B board, the usb-c power port could also work as a USB + OTG mode, but we set the dwc2 driver to the host mode + unconditionally, now set it to dual_role mode, then it could work + in host/otg/peripheal mode. + + [Fix] + Set USB_DWC2_DUAL_ROLE=y, US

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-02-07 Thread Hui Wang
** Changed in: linux-raspi2 (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title: Raspberry Pi 4B: USB OTG is not working Status in

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-02-01 Thread Enoch Leung
For me I would still prefer using "dtoverlay=dwc2,dr_mode=peripheral" as it is more reliable at the moment: if pi4 is rebooted remotely, it will come up with the necessary interface as I added g_cdc to /etc/modprobe.d/modules. On my setup it should not be power related, as I'm using a cable that s

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-02-01 Thread Enoch Leung
sorry, typo above: /etc/modules instead of /etc/modprobe.d/modules. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title: Raspberry Pi 4B: USB OTG is not working Status i

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-30 Thread Hui Wang
I tried "dtoverlay=dwc2,dr_mode=peripheral" and "dtoverlay=dwc2" with ubuntu-5.3 kernel, I could see "[18977.499410] usb 1-1.1: device descriptor read/64, error -110" sometimes too (not always happen), if I run "rmmod g_ether/g_cdc; modprobe g_ether/g_cdc" many times, it could work without those er

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-30 Thread Enoch Leung
some configuration I'd tried: 1. dtoverlay=dwc_otg, or comment out = no difference 2. with no other dtoverlay, I actually set "dtoverlay=vc4-fkms-v3d" in syscfg.txt, and comment it out or not also make no difference I didn't grab every dmesg, but without both dwc_otg and vc4-fkms-v3d, here you go

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-30 Thread Enoch Leung
Hi Hui, just in case I tried again, but no it won't work if I put "dtoverlay=dwc2" w/o dr_mode. I remember dwc2 should be new code and should be used, hence why I use that instead of dwc_otg. Anyway, if we use "dtoverlay=dwc2" only, I guess the actual "dr_mode" value may not be init properly in r

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-29 Thread Hui Wang
Oh, if we don't add dtoverlay=dwc2, the usb port is driven by dwc_otg driver by default, if we add dtoverlay=dwc2, then the usb port is driven by dwc2. And I tested with only dtoverlay=dwc2 (no dr_mode=peripheral), i could see usb0 net device both from rpi4 board and my host machine (via ifconfig

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-29 Thread Enoch Leung
Sorry, too haste, seems like it works a bit different than Raspbian. Using your new kernel with this set in usercfg.txt, OTG mode is working fine. dtoverlay=dwc2,dr_mode=peripheral though with Raspbian, only "dtoverlay=dwc2" is needed, which was what I was using. -- You received this bug notifi

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-29 Thread Enoch Leung
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 Ubu

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-29 Thread Hui Wang
Please test this kernel. this kernel enabled dual_role. https://people.canonical.com/~hwang4/otg/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title: Raspberry Pi 4B: U

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-28 Thread Hui Wang
In the ubuntu kernel, we set "CONFIG_USB_DWC2_HOST=y". Let's change it to "CONFIG_USB_DWC2_DUAL_ROLE=y". And I remember the driver dwc_otg work while the dwc2/3 doesn't work in the kernel, since the dwc_otg is highly optimized. -- You received this bug notification because you are a member of Ke

Re: [Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-28 Thread Enoch Leung
Thanks for quick reply. It is the same USB-C power supply port which can also work as OTG port. I tried Raspbian Buster + g_ether with USB cable connecting to my machine (Lenovo L470 on docking), and it is detected. On both Raspbian and my L470 running Ubuntu 19.10, usb0 are created when I do “i

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-28 Thread Hui Wang
** Changed in: linux-raspi2 (Ubuntu) Assignee: (unassigned) => Hui Wang (hui.wang) ** Changed in: linux-raspi2 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://

[Kernel-packages] [Bug 1861070] Re: Raspberry Pi 4B: USB OTG is not working

2020-01-28 Thread Hui Wang
I remember on the rpi4B board, there is no physical usb-otg port at all? could you please tell me which port is for otg? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi2 in Ubuntu. https://bugs.launchpad.net/bugs/1861070 Title