[PATCH] devio: fix issue with log flooding

2014-08-01 Thread Oliver Neukum
usbfs allows user space to pass down an URB which sets URB_SHORT_NOT_OK for output URBs. That causes usbcore to log messages without limit for a nonsensical disallowed combination. The fix is to silently drop the attribute in usbfs. The problem is reported to exist since 3.14 https://www.virtualbox

musb + full speed device (2)

2014-08-01 Thread Pedro Erencia
Hello, we are having a curious behaviour with the USB OTG throughput on a DM3730. Specifically, we get a much greater throughput with high cpu loads. The DM3730 OTG is running has HOST and attached to a custom board. That board is a full-speed device, with 64B Bulk endpoints. The system is the f

Re: musb + full speed device (2)

2014-08-01 Thread Peter Stuge
Hi, Your kernel is ancient. You should either ask your kernel supplier for support or switch to using a current upstream kernel if you want help here. I can just give some general libusb advice. Pedro Erencia wrote: > we are having a curious behaviour with the USB OTG throughput on a > DM3730. S

[PATCH 0/2] usb: renesas_usbhs: Add device tree support for R-Car H2 and M2

2014-08-01 Thread Yoshihiro Shimoda
This driver supports other SoCs, but they need boards/Soc depend code. So, this patch adds device tree support for R-Car H2 and M2 initially. Yoshihiro Shimoda (2): usb: renesas_usbhs: Add device tree bindings documentation usb: renesas_usbhs: Add device tree support for R-Car H2 and M2 .../

[PATCH 1/2] usb: renesas_usbhs: Add device tree bindings documentation

2014-08-01 Thread Yoshihiro Shimoda
Document the device tree bindings for the Renesas USBHS controller. Signed-off-by: Yoshihiro Shimoda --- .../devicetree/bindings/usb/renesas_usbhs.txt | 24 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/renesas_usbhs.txt d

[PATCH 2/2] usb: renesas_usbhs: Add device tree support for R-Car H2 and M2

2014-08-01 Thread Yoshihiro Shimoda
This driver supports other SoCs, but they need boards/Soc depend code. So, this patch adds device tree support for R-Car H2 and M2 initially. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/renesas_usbhs/common.c | 43 1 file changed, 43 insertions(+) dif

[PATCH] serial/option: Add support for Option GTM671WFS

2014-08-01 Thread Ricardo Ribalda Delgado
After this patch: [5.389385] usbserial: USB Serial support registered for GSM modem (1-port) [5.390181] option 2-1.4:1.0: GSM modem (1-port) converter detected [5.390556] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0 [5.390636] option 2-1.4:1.1: GSM modem (1-port)

Re: musb + full speed device (2)

2014-08-01 Thread Pedro Erencia
2014-08-01 13:33 GMT+02:00 Peter Stuge : > Hi, > > Your kernel is ancient. You should either ask your kernel supplier > for support or switch to using a current upstream kernel if you want > help here. > > I can just give some general libusb advice. > > Pedro Erencia wrote: >> we are having a curio

Re: musb + full speed device (2)

2014-08-01 Thread Peter Stuge
Pedro Erencia wrote: > Unfortunately we cannot change the linux kernel, we are tied to the > BSP supplied. :( Then unfortunately you cannot get any help from the community, but are tied also to the BSP supplier for your support. :( > We are currently doing synchronous bulk transfers but we also

Re: [PATCH 1/2] usb: renesas_usbhs: Add device tree bindings documentation

2014-08-01 Thread Sergei Shtylyov
Hello. On 08/01/2014 03:49 PM, Yoshihiro Shimoda wrote: > Document the device tree bindings for the Renesas USBHS controller. > Signed-off-by: Yoshihiro Shimoda > --- > .../devicetree/bindings/usb/renesas_usbhs.txt | 24 > > 1 file changed, 24 insertions(+) > c

Re: musb + full speed device (2)

2014-08-01 Thread Pedro Erencia
2014-08-01 15:33 GMT+02:00 Peter Stuge : > Pedro Erencia wrote: >> Unfortunately we cannot change the linux kernel, we are tied to the >> BSP supplied. :( > > Then unfortunately you cannot get any help from the community, but > are tied also to the BSP supplier for your support. :( > > >> We are cu

Re: XHCI dies after several tries to enumerate a USB mouse

2014-08-01 Thread Mathias Nyman
On 07/30/2014 12:02 PM, zed...@gmx.net wrote: > Overview: XHCI dies if i have my USB mouse plugged in at boot. > > Steps to Reproduce: Boot any newer Linux Distribution with Kernel 3.13 or > 3.14 and plug in my USB mouse before startup. If i boot normally i dont have > USB at all after boot, but

Re: [PATCH] devio: fix issue with log flooding

2014-08-01 Thread Alan Stern
On Fri, 1 Aug 2014, Oliver Neukum wrote: > usbfs allows user space to pass down an URB which sets URB_SHORT_NOT_OK > for output URBs. That causes usbcore to log messages without limit > for a nonsensical disallowed combination. The fix is to silently drop > the attribute in usbfs. > The problem is

Re: [PATCH] devio: fix issue with log flooding

2014-08-01 Thread Oliver Neukum
On Fri, 2014-08-01 at 10:24 -0400, Alan Stern wrote: > On Fri, 1 Aug 2014, Oliver Neukum wrote: > > > usbfs allows user space to pass down an URB which sets URB_SHORT_NOT_OK > > for output URBs. That causes usbcore to log messages without limit > > for a nonsensical disallowed combination. The fix

Re: [PATCH] devio: fix issue with log flooding

2014-08-01 Thread Alan Stern
On Fri, 1 Aug 2014, Oliver Neukum wrote: > On Fri, 2014-08-01 at 10:24 -0400, Alan Stern wrote: > > On Fri, 1 Aug 2014, Oliver Neukum wrote: > > > > > usbfs allows user space to pass down an URB which sets URB_SHORT_NOT_OK > > > for output URBs. That causes usbcore to log messages without limit >

Re: UAS errors with Jmicron

2014-08-01 Thread Hans de Goede
Hi, On 07/31/2014 08:48 PM, Laszlo T. wrote: > 2014-07-31 16:16 GMT+02:00 Hans de Goede : >> Hi, >> >> On 07/31/2014 03:51 PM, Laszlo T. wrote: >>> >>> I tested with lot of values. I'm not totally sure but it looks the 31 >>> is max number where it is still stable to create an ext4 fil

[PATCH] uas: Limit qdepth to 32 when connected over usb-2

2014-08-01 Thread Hans de Goede
Some jmicron uas chipsets act up (they disconnect from the bus) when sending more then 32 commands to them at once. Rather then building an ever growing list with usb-id based quirks for devices using this chipset, simply reduce the qdepth to 32 when connected over usb-2. 32 should be plenty to ke

USB modem interface not detected sometimes

2014-08-01 Thread Rahul Bedarkar
Hi, I have USB modem which has also support for micro SD card. With kernel version 3.15 and later, I am facing a issue with modem interface detection. When I connect it first time only storage interface is detected. I had to disconnect it and reconnect it again. This issue is not seen with kerne

Re: USB modem interface not detected sometimes

2014-08-01 Thread Dan Williams
On Fri, 2014-08-01 at 21:44 +0530, Rahul Bedarkar wrote: > Hi, > > I have USB modem which has also support for micro SD card. > > With kernel version 3.15 and later, I am facing a issue with modem > interface detection. When I connect it first time only storage > interface is detected. I had to d

Re: [PATCH] serial/option: Add support for Option GTM671WFS

2014-08-01 Thread Dan Williams
On Fri, 2014-08-01 at 14:00 +0200, Ricardo Ribalda Delgado wrote: > After this patch: > > [5.389385] usbserial: USB Serial support registered for GSM modem (1-port) > [5.390181] option 2-1.4:1.0: GSM modem (1-port) converter detected > [5.390556] usb 2-1.4: GSM modem (1-port) converter

RE: [PATCHv2 02/13] usb: dwc2: Moves s3c_hsotg gadget data structure into dwc2_hsotg

2014-08-01 Thread Paul Zimmerman
> From: dingu...@altera.com [mailto:dingu...@altera.com] > Sent: Wednesday, July 30, 2014 8:21 AM > > Adds the gadget data structure and appropriate data structure pointers > to the common dwc2_hsotg data structure. This is needed so that the > dwc2_hsotg data structure can be used by the hcd and

RE: [PATCHv2 02/13] usb: dwc2: Moves s3c_hsotg gadget data structure into dwc2_hsotg

2014-08-01 Thread Paul Zimmerman
> From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Paul Zimmerman > Sent: Friday, August 01, 2014 11:49 AM > > > From: dingu...@altera.com [mailto:dingu...@altera.com] > > Sent: Wednesday, July 30, 2014 8:21 AM > > > > Adds the gadget data structure an

RE: [PATCHv2 01/13] usb: dwc2: Update Kconfig to support dual-role

2014-08-01 Thread Paul Zimmerman
> From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of dingu...@altera.com > Sent: Wednesday, July 30, 2014 8:21 AM > > Update DWC2 kconfig and makefile to support dual-role mode. The platform > file will always get compiled for the case where the controll

RE: [PATCHv2 02/13] usb: dwc2: Moves s3c_hsotg gadget data structure into dwc2_hsotg

2014-08-01 Thread Dinh Nguyen
On Fri, 2014-08-01 at 20:31 +, Paul Zimmerman wrote: > > From: linux-usb-ow...@vger.kernel.org > > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Paul Zimmerman > > Sent: Friday, August 01, 2014 11:49 AM > > > > > From: dingu...@altera.com [mailto:dingu...@altera.com] > > > Sent: Wedne

RE: [PATCHv2 01/13] usb: dwc2: Update Kconfig to support dual-role

2014-08-01 Thread Dinh Nguyen
On Fri, 2014-08-01 at 20:42 +, Paul Zimmerman wrote: > > From: linux-usb-ow...@vger.kernel.org > > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of dingu...@altera.com > > Sent: Wednesday, July 30, 2014 8:21 AM > > > > Update DWC2 kconfig and makefile to support dual-role mode. The platf

RE: [PATCHv2 02/13] usb: dwc2: Moves s3c_hsotg gadget data structure into dwc2_hsotg

2014-08-01 Thread Paul Zimmerman
> From: Dinh Nguyen [mailto:dingu...@altera.com] > Sent: Friday, August 01, 2014 2:39 PM > > On Fri, 2014-08-01 at 20:31 +, Paul Zimmerman wrote: > > > From: linux-usb-ow...@vger.kernel.org > > > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Paul > Zimmerman > > > Sent: Friday, August

Re: [PATCH] usb: host: ehci-msm: Make of_device_id array const

2014-08-01 Thread Greg KH
On Wed, Jul 30, 2014 at 06:14:45PM +0530, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > > Signed-off-by: Kiran Padwal > --- > drivers/usb/host/ehci-msm.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb

Re: [PATCH 00/11] Misc. xhci + uas fixes / cleanups

2014-08-01 Thread Greg Kroah-Hartman
On Fri, Jul 25, 2014 at 10:01:17PM +0200, Hans de Goede wrote: > Hi All, > > I've just spend 3 days trying to get bulk streams / uas to work on an > Etron controller, and failed. So the first patch in this set is the most > important one (and has a CC stable, and should be added to 3.16 if still >

Re: [PATCH 03/11] xhci: Log extra info on "ERROR Transfer event TRB DMA ptr not part of current TD"

2014-08-01 Thread Greg Kroah-Hartman
On Fri, Jul 25, 2014 at 10:01:20PM +0200, Hans de Goede wrote: > Lately (with the use of uas / bulk-streams) we have been seeing several > cases where this error triggers (which should never happen). > > Add some extra logging to make debugging these errors easier. > > Signed-off-by: Hans de Goed

Re: [PATCH 00/11] Misc. xhci + uas fixes / cleanups

2014-08-01 Thread Greg Kroah-Hartman
On Fri, Jul 25, 2014 at 10:01:17PM +0200, Hans de Goede wrote: > Hi All, > > I've just spend 3 days trying to get bulk streams / uas to work on an > Etron controller, and failed. So the first patch in this set is the most > important one (and has a CC stable, and should be added to 3.16 if still >

Re: OMAP3/AM3517 EHCI USB Issue

2014-08-01 Thread Michael Welling
On Wed, Jul 30, 2014 at 12:03:22PM +0300, Roger Quadros wrote: > On 07/29/2014 06:20 PM, Michael Welling wrote: > > On Tue, Jul 29, 2014 at 11:59:07AM +0300, Roger Quadros wrote: > >> Hi Michael, > >> > >> On 07/28/2014 09:10 PM, Felipe Balbi wrote: > >>> On Mon, Jul 28, 2014 at 12:57:39PM -0500, M

Re: OMAP3/AM3517 EHCI USB Issue

2014-08-01 Thread Michael Welling
On Fri, Aug 1, 2014 at 6:04 PM, Michael Welling wrote: > On Wed, Jul 30, 2014 at 12:03:22PM +0300, Roger Quadros wrote: >> On 07/29/2014 06:20 PM, Michael Welling wrote: >> > On Tue, Jul 29, 2014 at 11:59:07AM +0300, Roger Quadros wrote: >> >> Hi Michael, >> >> >> >> On 07/28/2014 09:10 PM, Felipe

Re: [PATCH v2 3/7] usb: phy: mxs: Add VF610 USB PHY support

2014-08-01 Thread Peter Chen
On Mon, Jul 28, 2014 at 04:57:29PM +0200, Stefan Agner wrote: > This adds support for the USB PHY in Vybrid VF610. We assume that > the disconnection without VBUS is also needed for Vybrid. > > Tests showed, without MXS_PHY_NEED_IP_FIX, enumeration of devices > behind a USB Hub fails with errors:

Re: [PATCH v2 5/7] chipidea: usbmisc_imx: Add USB support for VF610 SoCs

2014-08-01 Thread Peter Chen
On Mon, Jul 28, 2014 at 04:57:31PM +0200, Stefan Agner wrote: > This adds Vybrid VF610 SoC support. The IP is very similar to i.MX6, > however, the non-core registers are spread in two different register > areas. Hence we support multiple instances of the USB misc driver > and add the driver instan

Kernel Debugging Support

2014-08-01 Thread Nick Krause
Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based solutions. If you and the other developers are able to help me out a bit as I am new I can definitively write this area of kgdb support. Regards Nick P.S. If you want Sharp I can change the commi