ODROID-C1/-C2 USB Detection only triggered by some devices dwc2

Minas Harutyunyan Minas.Harutyunyan at synopsys.com
Sun Jul 11 01:15:31 PDT 2021


Hi Martin,

On 7/10/2021 9:07 PM, Martin Blumenstingl wrote:
> Hi Minas,
> 
> On Thu, Jul 1, 2021 at 1:09 AM Martin Blumenstingl
> <martin.blumenstingl at googlemail.com> wrote:
>>
>> Hi Minas,
>>
> It's been a week since I sent my last mail
> In case you are taking some days off: enjoy that time!
> Please let us know if you have any questions about this as we're
> looking forward to some hints on how to debug (and of course fix!)
> this.
> 
First of all sorry for late feedback. I missed this email thread because 
in the subject there are no "dwc2" and my Outlook not move it to "dwc2" 
folder of my mailbox based on rules. Today, because of rear count of 
emails in linux-usb I was able to catch it.
I have added "dwc2" word in subject to avoid this situation later.

Couple of questions to understand the case.

1. Is it work normally earlier? If it was works fine earlier then which 
Kernel version and after which version broke?

2. Do you saw in dmesg:
dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL_CSFTRST
If yes, then PHY not initialized correctly. Core can't reset if some 
clocks from PHY are not available.

3. During our recent testings we met the issue with PHY driver. Artur 
found a bug in phy_generic driver and submitted patch on July 10:
[PATCH v2] usb: phy: Fix page fault from usb_phy_uevent
In your case, as I understand correctly, used 
drivers/phy/amlogic/phy-meson8b-usb2.c. Could you please check if same 
issue exist there.

4. Can you provide full debug log for failed case?

5. I would preferred to see output of 'lsusb -t' for pass and fail cases.


Thanks,
Minas



> 
> Best regards,
> Martin
> 



More information about the linux-amlogic mailing list