Re: Oops with dwc3 in device mode and functionfs

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

 



Hello Andy, Felipe,

Sorry for the late reply.

On Mon, Mar 20, 2017 at 6:23 PM, Felipe Balbi
<felipe.balbi@xxxxxxxxxxxxxxx> wrote:
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> writes:
>> Can you check my latest snapshot?

I built your github eds branch as of cfa21022e (based on 4.11.0-rc3),
but I still get enumeration issues (see below). I did not merge any
other branches above it for this test (especially, not Felipe's usb
branches) just in case.

>> It has been discovered that ep1 and ep8 are not usable for USB (tracing
>> related stuff). Felipe did a quick hack for that.

Ah, thanks for the info, I did not keep track at all lately.

> yeah, I have been writing a functionfs "driver" myself to test stuff
> out. It's still pretty early but at least enumeration is rather solid.

Mar 25 07:43:14 vincent-tkpad kernel: [1582082.400893] usb 1-1: USB
disconnect, device number 22
Mar 25 07:43:16 vincent-tkpad kernel: [1582084.028746] usb 1-1: new
high-speed USB device number 23 using xhci_hcd
Mar 25 07:43:16 vincent-tkpad kernel: [1582084.159290] usb 1-1: New
USB device found, idVendor=1d6b, idProduct=0104
Mar 25 07:43:16 vincent-tkpad kernel: [1582084.159294] usb 1-1: New
USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 25 07:43:16 vincent-tkpad kernel: [1582084.159296] usb 1-1: Product: tesla
Mar 25 07:43:16 vincent-tkpad kernel: [1582084.159297] usb 1-1:
Manufacturer: vpelletier
Mar 25 07:43:16 vincent-tkpad kernel: [1582084.159298] usb 1-1:
SerialNumber: FZED443D01T42501
Mar 25 07:43:21 vincent-tkpad kernel: [1582089.156950] usb 1-1: can't
set config #1, error -110
Mar 25 07:43:21 vincent-tkpad mtp-probe: checking bus 1, device 23:
"/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Mar 25 07:43:21 vincent-tkpad mtp-probe: bus: 1, device: 23 was not an
MTP device

After a few plug/unplug cycles the device gets stuck and does not
enumerate at all (instead of only failing to set the configuration)
until device reboot.

FWIW, at home enumeration happens much more reliably behind a hub than
directly on a host (both being xHCI). Maybe my edison board has some
electrical issue a hub would tolerate better ?

Regards,
-- 
Vincent Pelletier
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux