Re: Fwd: usb: uas: device reset most the time while enumeration- usb3.0

2018-06-05 Thread Tushar Nimkar
Hi, On 2018-06-04 19:57, Oliver Neukum wrote: Am Dienstag, den 29.05.2018, 14:32 +0530 schrieb Tushar Nimkar: Hi, On 2018-05-28 18:12, Oliver Neukum wrote: > Am Donnerstag, den 24.05.2018, 20:13 +0530 schrieb Tushar Nimkar: > > We have built SCSI as module will it cause any problem to enable

Re: External USB fuzzing

2018-06-05 Thread Andrey Konovalov
On Mon, Jun 4, 2018 at 9:37 PM, Alan Stern wrote: > On Mon, 4 Jun 2018, Andrey Konovalov wrote: Hi, Alan! [...] >> The perfect solution would be to have something like /dev/tun for USB, >> where you can write USB packets and the kernel would synchronously >> process them. I'm not sure whether

Re: External USB fuzzing

2018-06-05 Thread Alan Stern
On Tue, 5 Jun 2018, Andrey Konovalov wrote: > On Mon, Jun 4, 2018 at 9:37 PM, Alan Stern wrote: > > On Mon, 4 Jun 2018, Andrey Konovalov wrote: > > Hi, Alan! Hi! > [...] > > >> The perfect solution would be to have something like /dev/tun for USB, > >> where you can write USB packets and the

Re: Regression caused by: usb: add a flag to skip PHY initialization to struct usb_hcd

2018-06-05 Thread Mats Karrman
On 2018-06-05 02:54, Peter Chen wrote: And this is what the "decompiled" device tree entry for the USB controller and phy look like:             usb@2184200 {                compatible = "fsl,imx6q-usb", "fsl,imx27-usb";                 reg = <0x2184200 0x200>;                

[PATCH 1/1] usb: chipidea: host: fix disconnection detect issue

2018-06-05 Thread Peter Chen
The commit 4e88d4c08301 ("usb: add a flag to skip PHY initialization to struct usb_hcd") delete the assignment for hcd->usb_phy, it causes usb_phy_notify_connect{disconnect) are not called, the USB PHY driver is not notified of hot plug event, then the disconnection will not be detected by

RE: Regression caused by: usb: add a flag to skip PHY initialization to struct usb_hcd

2018-06-05 Thread Peter Chen
> > Admittedly without really understanding everything that is going on, I put > back the > deleted lines from this patch chunk and it started working again: > > diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index > 19d60ed..af45aa32 100644 > ---