Re: [BUG REPORT] usb: dwc3: Failed to link at superspeed in device mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thomas JOURDAN <thomas.jourdan@xxxxxxxxx> writes:
>> > From your trace.txt, I don't see the early enumeration phase, so I can't
>> > comment one what happened during that time. Care to rerun this so that
>> > we have early enumeration? I need to see a Reset Event on the trace as
>> > that's the first event when you first plug your usb cable.
>>
>> I don't know why it isn't there because I plugged the cable *after* I
>> enabled the tracing. So I ran it a second time and despite the traces

Ok, so HW itself negotiated HS instead of SS. Note that below ep0 max
packet size is set ot 64.

     irq/13-dwc3-894   [001] d...   250.891132: dwc3_event: event (00000101): Reset [U0]
     irq/13-dwc3-894   [001] d...   250.941068: dwc3_event: event (00000201): Connection Done [U0]
     irq/13-dwc3-894   [001] d...   250.941090: dwc3_gadget_ep_cmd: ep0out: cmd 'Set Endpoint Configuration' [1025] params 80000200 00000500 00000000 --> status: Successful
     irq/13-dwc3-894   [001] d...   250.941095: dwc3_gadget_ep_enable: ep0out: mps 64/512 streams 0 burst 1 ring 0/0 flags E:swBp:e:>
     irq/13-dwc3-894   [001] d...   250.941103: dwc3_gadget_ep_cmd: ep0in: cmd 'Set Endpoint Configuration' [1025] params 80000200 02000500 00000000 --> status: Successful
     irq/13-dwc3-894   [001] d...   250.941106: dwc3_gadget_ep_enable: ep0in: mps 64/512 streams 0 burst 1 ring 0/0 flags E:swbp:e:<

Would you have a usb sniffer to see if the link even attempts to run Rx
termination detection?

Another thing to try is setting both of the quirks below:

	snps,dis_u3_susphy_quirk
	snps,dis_u2_susphy_quirk

Gadget debug won't be necessary as it won't bring much new info.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux