Re: Mass Storage Gadget Device Falls from SuperSpeed to High Speed

2019-03-27 Thread Felipe Balbi
Hi, Rob Weber writes: > On Tue, Mar 26, 2019 at 11:14:47AM +0200, Felipe Balbi wrote: >> >> > dmesg output is short (4 lines) and is probably helpful to find the >> >> > meaningful timestamps of the dwc3 traces. The sequence of events on the >> >> > device seems to start around 1346 seconds and

[PATCH v2] usb: dwc3: move synchronize_irq() out of the spinlock protected block

2019-03-27 Thread Marek Szyprowski
dwc3_gadget_suspend() is called under dwc->lock spinlock. In such context calling synchronize_irq() is not allowed. Move the problematic call out of the protected block to fix the following kernel BUG during system suspend: BUG: sleeping function called from invalid context at kernel/irq/manage.c:

Re: [GIT PULL] USB fixes for v5.1-rc

2019-03-27 Thread Felipe Balbi
(fixing linux-usb email) Felipe Balbi writes: > Hi Greg, > > here's the first pull request for current -rc cycle. There really isn't > much here yet, only some minor fixes and a new pci id. > > __ > < Not much > > -- > \ ^__^ > \ (oo)\___ >

[PATCH] USB: serial: option: add Olicard 600

2019-03-27 Thread Bjørn Mork
This is a Qualcomm based device with a QMI function on interface 4. It is mode switched from 2020:2030 using a standard eject message. T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 6 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=2020 ProdID=2031 Rev= 2.

[PATCH v1] usb: dwc3: Free resource immediately after use

2019-03-27 Thread Andy Shevchenko
When we read an array of integers from device properties, the temporary buffer is allocated. However, in case of dwc3_set_incr_burst_type() it's not freed. Free allocated buffer immediately after use. Signed-off-by: Andy Shevchenko --- drivers/usb/dwc3/core.c | 3 +++ 1 file changed, 3 insertio

Re: External USB touchpad (vendor/product 1357:1000) not recognized as touchpad

2019-03-27 Thread Greg KH
On Tue, Mar 26, 2019 at 09:10:15AM +0100, Tassilo Horn wrote: > Hi all, > > I've submitted this already at > https://bugzilla.kernel.org/show_bug.cgi?id=203049 but Greg > Kroah-Hartman told me that this is the right place. > > I've got this touchpad: > > https://www.amazon.com/Wireless-VOGEK-Rec

Re: [PATCH] USB/xHCI: Remove returned value 'status' since never used

2019-03-27 Thread Greg Kroah-Hartman
On Tue, Mar 26, 2019 at 09:15:57PM +0100, Mathieu Malaterre wrote: > The returned value in status has never been used since > commit 4296c70a5ec3 ("USB/xHCI: Enable USB 3.0 hub remote wakeup.") > So remove 'status' completely. > > Remove warning (W=1): > > drivers/usb/core/hub.c:3671:8: warning

Re: USB OTG removal in musb

2019-03-27 Thread Daniele Orlandi
On 3/22/19 2:10 PM, Bin Liu wrote: > > Please explain the issue in details here, we will try to solve it. I did some more troubleshooting, contrary to what I stated initially the kernel version does not matter. What changed the behaviour is that I was loading g_mass_storage on the system working

Re: Mass Storage Gadget Device Falls from SuperSpeed to High Speed

2019-03-27 Thread Rob Weber
Hello, On Wed, Mar 27, 2019 at 11:02:28AM +0200, Felipe Balbi wrote: > >> >> > dmesg output is short (4 lines) and is probably helpful to find the > >> >> > meaningful timestamps of the dwc3 traces. The sequence of events on > >> >> > the > >> >> > device seems to start around 1346 seconds and en

Re:Hello

2019-03-27 Thread Mr Wong
Hello this is Mr Wong again from hongkong,Can we send the Swift as discuss best regards. Mr Wong Cheng --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Re: Mass Storage Gadget Device Falls from SuperSpeed to High Speed

2019-03-27 Thread Felipe Balbi
Hi Rob, Rob Weber writes: >> >> Felipe Balbi writes: >> >> >>> Sure, that would be great. How can I download it? Any link which I can >> >> >>> curl? You can send it to me only, if you want; no problem. >> >> >> >> >> >> You (and anyone reading) can download it here: >> >> >> https://drive.goog

Re: External USB touchpad (vendor/product 1357:1000) not recognized as touchpad

2019-03-27 Thread Tassilo Horn
Greg KH writes: Hi Greg, >> I've submitted this already at >> https://bugzilla.kernel.org/show_bug.cgi?id=203049 but Greg >> Kroah-Hartman told me that this is the right place. >> >> I've got this touchpad: >> >> https://www.amazon.com/Wireless-VOGEK-Rechargeable-Multi-Touch-Navigation/dp/B07N