Re: [PATCH 86/86] usb/dwc3: move ids to pci_ids.h

2015-03-30 Thread Michael S. Tsirkin
On Mon, Mar 30, 2015 at 08:58:10AM +0200, Greg Kroah-Hartman wrote: On Mon, Mar 30, 2015 at 08:50:34AM +0200, Michael S. Tsirkin wrote: On Sun, Mar 29, 2015 at 10:42:00PM +0200, Greg Kroah-Hartman wrote: On Sun, Mar 29, 2015 at 03:43:40PM +0200, Michael S. Tsirkin wrote: Comment says IDs

Re: [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-30 Thread Johan Hovold
On Sat, Mar 28, 2015 at 02:37:57PM +0100, Marek Belisko wrote: From: H. Nikolaus Schaller h...@goldelico.com While trying to test the Pyra GSM/GPS/3G module I had reconfigured the USB interface by mistake and therefore needed to run a different USB driver than CSC-ACM. It turned out that I

[PATCH] usb/dwc3: comment update

2015-03-30 Thread Michael S. Tsirkin
The top of include/linux/pci_ids.h says: Do not add new entries to this file unless the definitions are shared between multiple drivers. Drop comment in usb/dwc3 which conflicts with this. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/usb/dwc3/dwc3-pci.c | 1 - 1

Re: [PATCH 86/86] usb/dwc3: move ids to pci_ids.h

2015-03-30 Thread Greg Kroah-Hartman
On Mon, Mar 30, 2015 at 08:50:34AM +0200, Michael S. Tsirkin wrote: On Sun, Mar 29, 2015 at 10:42:00PM +0200, Greg Kroah-Hartman wrote: On Sun, Mar 29, 2015 at 03:43:40PM +0200, Michael S. Tsirkin wrote: Comment says IDs should move to pci_ids.h, let's do it. No, please remove the

Re: [PATCH 86/86] usb/dwc3: move ids to pci_ids.h

2015-03-30 Thread Michael S. Tsirkin
On Sun, Mar 29, 2015 at 10:42:00PM +0200, Greg Kroah-Hartman wrote: On Sun, Mar 29, 2015 at 03:43:40PM +0200, Michael S. Tsirkin wrote: Comment says IDs should move to pci_ids.h, let's do it. No, please remove the comment, it's not needed in pci_ids.h at all. vendor ID does belong in

Re: [Gta04-owner] [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-30 Thread Johan Hovold
On Mon, Mar 30, 2015 at 11:40:20AM +0200, Dr. H. Nikolaus Schaller wrote: diff --git a/Documentation/usb/usb-serial.txt b/Documentation/usb/usb-serial.txt index 947fa62..9f184d8 100644 --- a/Documentation/usb/usb-serial.txt +++ b/Documentation/usb/usb-serial.txt @@ -466,11 +466,13 @@

Re: Errata for Freescale root-hub TT?

2015-03-30 Thread Peter Chen
On Fri, Mar 27, 2015 at 09:47:06AM -0400, Alan Stern wrote: On Fri, 27 Mar 2015, Peter Chen wrote: Hi Alan, I tried to your case today, but it seems full speed hub with siTD has some problems with latest greg's next tree, I use UAC2 with configfs for audio device, high speed hub

Re: [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-30 Thread Johan Hovold
On Mon, Mar 30, 2015 at 11:32:39AM +0200, Dr. H. Nikolaus Schaller wrote: Hi Johan, Am 30.03.2015 um 09:45 schrieb Johan Hovold jo...@kernel.org: On Sat, Mar 28, 2015 at 02:37:57PM +0100, Marek Belisko wrote: From: H. Nikolaus Schaller h...@goldelico.com While trying to test the

Re: [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-30 Thread Dr. H. Nikolaus Schaller
Hi Johan, Am 30.03.2015 um 09:45 schrieb Johan Hovold jo...@kernel.org: On Sat, Mar 28, 2015 at 02:37:57PM +0100, Marek Belisko wrote: From: H. Nikolaus Schaller h...@goldelico.com While trying to test the Pyra GSM/GPS/3G module I had reconfigured the USB interface by mistake and therefore

Re: [Gta04-owner] [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-03-30 Thread Dr. H. Nikolaus Schaller
Am 30.03.2015 um 11:32 schrieb Dr. H. Nikolaus Schaller h...@goldelico.com: Hi Johan, Am 30.03.2015 um 09:45 schrieb Johan Hovold jo...@kernel.org: On Sat, Mar 28, 2015 at 02:37:57PM +0100, Marek Belisko wrote: From: H. Nikolaus Schaller h...@goldelico.com While trying to test the

[PATCH] genirq: provide dummy set_irq_wake()

2015-03-30 Thread Roger Quadros
Without this system suspend is broken on systems that have drivers calling enable/disable_irq_wake() for interrupts based off the dummy irq hook. (e.g. drivers/gpio/gpio-pcf857x.c) http://article.gmane.org/gmane.linux.kernel/1879035 Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 1/2] usbhid: more mice with ALWAYS_POLL

2015-03-30 Thread Jiri Kosina
On Mon, 30 Mar 2015, Oliver Neukum wrote: During a stress test these mice kept dropping and reappearing in runlevel 1 as opposed to 5. Signed-off-by: Oliver Neukum oneu...@suse.de I am postponing all these before it is clarified that this is indeed a case reporter is able to reproduce on

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Johannes Stezenbach
On Mon, Mar 30, 2015 at 10:07:35AM -0400, Alan Stern wrote: On Mon, 30 Mar 2015, Johannes Stezenbach wrote: a USB soundcard in fullspeed mode works correctly when directly connected to a musb OTG port in host mode on an AM335x SoC, but produces garbled audio output when connected via a

Re: Errata for Freescale root-hub TT?

2015-03-30 Thread Alan Stern
On Mon, 30 Mar 2015, Peter Chen wrote: That's strange. Can you please post the /sys/kernel/debug/usb/devices file (with the UAC2 gadget plugged in), and also collect a usbmon trace of the test? It should be UAC2 gadget or chipidea driver problem, it is ok if I plug in USB audio

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Alan Stern
On Mon, 30 Mar 2015, Johannes Stezenbach wrote: Hi Felipe, a USB soundcard in fullspeed mode works correctly when directly connected to a musb OTG port in host mode on an AM335x SoC, but produces garbled audio output when connected via a hub. usbmon shows that in both This is a

[PATCH 2/2] usbhid: yet another mouse with ALWAYS_POLL

2015-03-30 Thread Oliver Neukum
The device exists with two device IDs instead of one as previously believed. Signed-off-by: Oliver Neukum oneu...@suse.de --- drivers/hid/hid-ids.h | 3 ++- drivers/hid/usbhid/hid-quirks.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-ids.h

musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Johannes Stezenbach
Hi Felipe, a USB soundcard in fullspeed mode works correctly when directly connected to a musb OTG port in host mode on an AM335x SoC, but produces garbled audio output when connected via a hub. usbmon shows that in both cases URBs with typically 5 isoc frames of 192 bytes length are queued. The

[PATCH 1/2] usbhid: more mice with ALWAYS_POLL

2015-03-30 Thread Oliver Neukum
During a stress test these mice kept dropping and reappearing in runlevel 1 as opposed to 5. Signed-off-by: Oliver Neukum oneu...@suse.de --- drivers/hid/hid-ids.h | 4 drivers/hid/usbhid/hid-quirks.c | 4 2 files changed, 8 insertions(+) diff --git a/drivers/hid/hid-ids.h

USB device nodes in device tree

2015-03-30 Thread Valentin Longchamp
Hello, We are currently developing a board with an USB MFD device (I2C and GPIOs are to be supported). The device is soldered on the board and is the only one on the bus, so the bus is not really dynamic. Since it's an USB device, it should be dynamically detected by the kernel and it would not

Re: Problems with usbserial

2015-03-30 Thread Johan Hovold
On Mon, Mar 30, 2015 at 04:44:12PM +0200, misterTi misterTi wrote: Hello, i am having some serious problems with using usb gsm dongles (huawei E1550) with usbserial driver. The problem i am experiencing is devastating on raspberry pi, debian 6 and 7 and also on desktop debian 6 and 7. I

Problems with usbserial

2015-03-30 Thread misterTi misterTi
Hello, i am having some serious problems with using usb gsm dongles (huawei E1550) with usbserial driver. The problem i am experiencing is devastating on raspberry pi, debian 6 and 7 and also on desktop debian 6 and 7. The device stops responding (stalls) randomly when i use it through ttyUSB,

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Johannes Stezenbach
On Mon, Mar 30, 2015 at 04:23:53PM +0200, Johannes Stezenbach wrote: On Mon, Mar 30, 2015 at 10:07:35AM -0400, Alan Stern wrote: On Mon, 30 Mar 2015, Johannes Stezenbach wrote: cases URBs with typically 5 isoc frames of 192 bytes length are queued. The wMaxPacketSize of the endpoint

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Alan Stern
On Mon, 30 Mar 2015, Johannes Stezenbach wrote: The log between hub and soundcard shows this: SOF OUT DATA0 185 byte with CRC error OUT DATA0 4 bytes Which is totally wrong, of course. Four different hubs have been tried to rule out a hub issue, both powered and unpowered.

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Johannes Stezenbach
On Mon, Mar 30, 2015 at 01:41:29PM -0400, Alan Stern wrote: On Mon, 30 Mar 2015, Johannes Stezenbach wrote: The log between hub and soundcard shows this: SOF OUT DATA0 185 byte with CRC error OUT DATA0 4 bytes Which is totally wrong, of course. Yes, my assumption is

Re: [PATCH] genirq: provide dummy set_irq_wake()

2015-03-30 Thread Felipe Balbi
On Mon, Mar 30, 2015 at 01:06:24PM -0500, Felipe Balbi wrote: On Mon, Mar 30, 2015 at 04:15:45PM +0300, Roger Quadros wrote: Without this system suspend is broken on systems that have drivers calling enable/disable_irq_wake() for interrupts based off the dummy irq hook. (e.g.

Re: [PATCH] genirq: provide dummy set_irq_wake()

2015-03-30 Thread Felipe Balbi
On Mon, Mar 30, 2015 at 04:15:45PM +0300, Roger Quadros wrote: Without this system suspend is broken on systems that have drivers calling enable/disable_irq_wake() for interrupts based off the dummy irq hook. (e.g. drivers/gpio/gpio-pcf857x.c)

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Johannes Stezenbach
On Mon, Mar 30, 2015 at 11:58:55AM -0400, Alan Stern wrote: On Mon, 30 Mar 2015, Johannes Stezenbach wrote: Is it? I would expect a single 192 byte packet here, breaking it in two doesn't make sense even if the hub would be able to reassemble the parts. My recollection of the SPLIT

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Alan Stern
On Mon, 30 Mar 2015, Johannes Stezenbach wrote: Judging by your high-speed log, it looks like the host controller is not sending out the Start SPLIT transactions the way it should. Yes, it happens consistently that the host send two SPLIT OUT packets in the same microframe. So that

Re: USB device nodes in device tree

2015-03-30 Thread Alan Stern
On Mon, 30 Mar 2015, Valentin Longchamp wrote: Hello, We are currently developing a board with an USB MFD device (I2C and GPIOs are to be supported). The device is soldered on the board and is the only one on the bus, so the bus is not really dynamic. Since it's an USB device, it

[PATCH 4/5 linux-next] fotg210-hcd: remove unneccessary message level.

2015-03-30 Thread Fabian Frederick
KERN_WARNING is implicitely declared in pr_warn() Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/usb/host/fotg210-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c index 475b21f..98b0d05 100644

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Johannes Stezenbach
On Mon, Mar 30, 2015 at 02:56:40PM -0400, Alan Stern wrote: On Mon, 30 Mar 2015, Johannes Stezenbach wrote: Judging by your high-speed log, it looks like the host controller is not sending out the Start SPLIT transactions the way it should. Yes, it happens consistently that the host

Re: Errata for Freescale root-hub TT?

2015-03-30 Thread Peter Chen
On Mon, Mar 30, 2015 at 10:03:07AM -0400, Alan Stern wrote: On Mon, 30 Mar 2015, Peter Chen wrote: That's strange. Can you please post the /sys/kernel/debug/usb/devices file (with the UAC2 gadget plugged in), and also collect a usbmon trace of the test? It should be UAC2

Re: [PATCH RESEND] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-30 Thread Jaewon Kim
Hi Kishon. Could you check my patch?? On 26/03/2015 14:16, Vivek Gautam wrote: On Thu, Mar 26, 2015 at 7:48 AM, Jaewon Kim jaewon02@samsung.com wrote: This patch adds driver data to support for Exynos5433 SoC. The Exynos5433 has one USB3.0 Host and USB3.0 DRD(Dual Role Device). Exynos5433

Re: [PATCH RESEND] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-30 Thread Kishon Vijay Abraham I
On Tuesday 31 March 2015 10:36 AM, Jaewon Kim wrote: Hi Kishon. Could you check my patch?? sure.. patch looks fine. will queue it. -Kishon On 26/03/2015 14:16, Vivek Gautam wrote: On Thu, Mar 26, 2015 at 7:48 AM, Jaewon Kim jaewon02@samsung.com wrote: This patch adds driver data to

Re: musb AM335x: isoc out transfers to FS device via hub are broken

2015-03-30 Thread Alan Stern
On Mon, 30 Mar 2015, Johannes Stezenbach wrote: cases URBs with typically 5 isoc frames of 192 bytes length are queued. The wMaxPacketSize of the endpoint is 196 bytes. A USB analyzer connected via musb and hub revealed that musb breaks the 192 byte frames into two parts, one 188