[PATCH] net/usb/hso: Add support for Option GTM671WFS

2014-08-04 Thread Ricardo Ribalda Delgado
After this patch: [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless [ 33.000452] hso 2-1.4:1.7: Not our interface [ 33.001849] usbcore: registered new interface driver hso root@qt5022:~# ls /dev/ttyHS* /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 /dev/ttyHS5 root@

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

2014-08-04 Thread Ricardo Ribalda Delgado
Hello Dan > > Are you 100% sure these don't go into the 'hso' driver? 'option' is > used for mostly older Option devices (like 5+ years old). I tried to > find information about this module, and the closest I could come for > 0af0:9200 was: > > http://trac.gateworks.com/wiki/3g > > which indicat

Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS

2014-08-04 Thread Ricardo Ribalda Delgado
Suggested-by: Dan Williams On Mon, Aug 4, 2014 at 11:11 AM, Ricardo Ribalda Delgado wrote: > After this patch: > > [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless > [ 33.000452] hso 2-1.4:1.7: Not our interface > [ 33.001849] usbcore: registered new interface driver hso > > root@qt5022:

Re: 3.15.6 USB issue with pwc cam

2014-08-04 Thread Laurent Pinchart
Hi Udo, (CC'ing Hans de Goede, the pwc maintainer, and the linux-media mailing list) On Saturday 02 August 2014 15:10:01 Udo van den Heuvel wrote: > Hello, > > I moved a PWC webcam to a USB3 port, and this happened: > > [53008.911811] usb 5-2: new full-speed USB device number 2 using xhci_hcd >

[PATCH] USB: pch_udc: USB gadget device support for Intel Quark X1000

2014-08-04 Thread Chen, Alvin
From: Bryan O'Donoghue This patch is to enable the USB gadget device for Intel Quark X1000 Signed-off-by: Bryan O'Donoghue Signed-off-by: Bing Niu Signed-off-by: Alvin (Weike) Chen --- drivers/usb/gadget/udc/Kconfig |3 ++- drivers/usb/gadget/udc/pch_udc.c | 22 +++---

Re: OMAP3/AM3517 EHCI USB Issue

2014-08-04 Thread Roger Quadros
On 08/02/2014 02:51 AM, Michael Welling wrote: > 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

[PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-04 Thread Roger Quadros
If user specifies that USB autosuspend must be disabled by module parameter "usbcore.autosuspend=-1" then we must prevent autosuspend of USB hub devices as well. commit 596d789a211d introduced in v3.8 changed the original behaivour and stopped respecting the usbcore.autosuspend parameter for hubs.

Re: [PATCHv2 5/6] base: platform: name the device already during allocation

2014-08-04 Thread Vivek Gautam
On Mon, Jul 14, 2014 at 8:25 PM, Greg Kroah-Hartman wrote: > On Mon, Jul 14, 2014 at 11:49:38AM +0530, Kishon Vijay Abraham I wrote: >> Greg, >> >> On Thursday 05 June 2014 06:22 PM, Heikki Krogerus wrote: >> > This allows resources such as GPIOs and clocks, which can be >> > matched based on the

Re: usbserial_generic, idVendor=1a28, idProduct=6010

2014-08-04 Thread Kowalski Marcin
Emanuel Koczwara writes: > > Hi, > > I have a device (thermal printer) which communicates through rs232. It > has also usb adapter/converter build-in. > (...) > > and this "1`" inside is strange, so I investigated further: > > emanuel emanuel-laptop:~$ cat /dev/ttyUSB0 > 1`1`1`1`1`1`1`1 (.

[PATCH] USB: pch_udc: Add support for Intel Quark X1000 USB gadget device

2014-08-04 Thread Chen, Alvin
From: "Alvin (Weike) Chen" Hi, Intel Quark X1000 consists of one USB gadget device which can be PCI enumerated. pch_udc layer doesn't support it. Thus, we add support for Intel Quark X1000 USB gadget device as well. Bryan O'Donoghue (1): USB: pch_udc: USB gadget device support for Intel Quar

Re: [RESEND PATCH v3 2/4] usb: musb: Bugfix of_node assignment

2014-08-04 Thread Markus Pargmann
Hi Sebastian, This thread was about the of_node assignment for the child device musb-hdrc. Mainline commit: 4fc4b274f9b3 (usb: musb: dsps: do not bind to "musb-hdrc") On Mon, Nov 25, 2013 at 05:48:54PM +0100, Sebastian Andrzej Siewior wrote: > > Is this fixing a bug? Commit 4fc4b2 ("usb:

Re: [PATCH] scatterlist.h: Change CONFIG_DEBUG_SG for ifdef statement in sg_set_bf

2014-08-04 Thread Hugo Mills
On Sun, Aug 03, 2014 at 01:30:44PM -0400, Nick Krause wrote: > On Sun, Aug 3, 2014 at 8:28 AM, Sergei Shtylyov > > On 03-08-2014 6:56, Nicholas Krause wrote: > > > >> This changes the ifdef statement in sg_set_bg to !CONFIG_DEBUG_SG in > >> order > >> to avoid a bug with xhci dequence/enquence fun

Re: [PATCH] scatterlist.h: Change CONFIG_DEBUG_SG for ifdef statement in sg_set_bf

2014-08-04 Thread Hugo Mills
On Sun, Aug 03, 2014 at 01:18:45AM -0400, Nick Krause wrote: > On Sun, Aug 3, 2014 at 1:02 AM, Mateusz Guzik wrote: > > On Sun, Aug 03, 2014 at 12:31:30AM -0400, Nick Krause wrote: > >> On Sat, Aug 2, 2014 at 11:59 PM, Mateusz Guzik wrote: > >> > On Sat, Aug 02, 2014 at 10:56:13PM -0400, Nicholas

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

2014-08-04 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. Changes from v1: - Change an optional property name from "buswait_bwait" to "buswait" in patch 1. - Add the prefix "renesas," to "buswait" and "enable-

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

2014-08-04 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 | 44 1 file changed, 44 insertions(+) dif

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

2014-08-04 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

Re: Kernel Debugging Support

2014-08-04 Thread Austin S Hemmelgarn
On 2014-08-02 09:48, Alan Stern wrote: > On Sat, 2 Aug 2014, Nick Krause wrote: > >> 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 definit

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

2014-08-04 Thread Mathias Nyman
On 08/02/2014 01:49 AM, Greg Kroah-Hartman wrote: > 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

[PATCH v3 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-04 Thread Kever Yang
According to the "dr_mode", the otg controller can work as device role during firmware period, and work as host role in the kernel, without use of usb_id pin. As the commit "usb: dwc3: set 'mode' based on selected Kconfig choices". Signed-off-by: Kever Yang --- Changes in v3: - fix the odd spac

[PATCH v3 0/2] Patches to add dr_mode for dwc2

2014-08-04 Thread Kever Yang
These two patches enable the dr_mode for the dwc2 usb controller. These are split from the patch series adding rk3288 dwc2 support. Changes in v3: - fix the odd spacing in dwc2_hsotg struct - From Jingoo's suggestion: change the commit message Changes in v2: - Split out dr_mode and rk3288 bi

Re: [PATCH v6] usb:serial:pl2303: add GPIOs interface on PL2303

2014-08-04 Thread Johan Hovold
On Wed, Jul 30, 2014 at 12:57:09AM +0800, Wang YanQing wrote: > PL2303HX has two GPIOs, this patch add interface for it. In fact, PL2303HX (rev D) has four dedicated GPIOs (and an additional four multiplexed ones). Even if we do not know how to use the other two at this time, we should not be har

Re: [PATCH 1/1] usb: ehci: using wIndex + 1 for hub port

2014-08-04 Thread Alan Stern
On Mon, 4 Aug 2014, Peter Chen wrote: > The roothub's index per controller is from 0, but the hub port index per hub > is from 1, this patch fixes "can't find device at roohub" problem for > connecting > test fixture at roohub when do USB-IF Embedded Host High-Speed Electrical > Test. > > Cc: s

Re: [PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-04 Thread Alan Stern
On Mon, 4 Aug 2014, Roger Quadros wrote: > If user specifies that USB autosuspend must be disabled by module > parameter "usbcore.autosuspend=-1" then we must prevent > autosuspend of USB hub devices as well. > > commit 596d789a211d introduced in v3.8 changed the original behaivour > and stopped

Re: usbserial_generic, idVendor=1a28, idProduct=6010

2014-08-04 Thread Johan Hovold
On Mon, Aug 04, 2014 at 10:00:50AM +, Kowalski Marcin wrote: > Emanuel Koczwara writes: > > > > > Hi, > > > > I have a device (thermal printer) which communicates through rs232. It > > has also usb adapter/converter build-in. > > > (...) > > > > and this "1`" inside is strange, so I inve

Re: 3.14.12 and USB option_instat_callback with 3G DONGLE

2014-08-04 Thread Johan Hovold
[ Please, avoid top-posting. ] On Wed, Jul 30, 2014 at 09:53:39PM +1000, ress...@ausics.net wrote: > Hi Johan, > > Thanks you, after running for 12 hours, I am pleased to say tere are no > more loggings of this nature using your patch Great, thanks for testing. I'll queue this up for v3.17-rc.

Re: Kernel Debugging Support

2014-08-04 Thread Alan Stern
On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: > On 2014-08-02 09:48, Alan Stern wrote: > > On Sat, 2 Aug 2014, Nick Krause wrote: > > > >> Hey Sharp, > >> After reading around seems people want support for usb debugging in > >> kgdb or other usb based solutions. > >> If you and the other develop

Re: Kernel Debugging Support

2014-08-04 Thread Austin S Hemmelgarn
On 2014-08-04 10:21, Alan Stern wrote: > On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: > >> On 2014-08-02 09:48, Alan Stern wrote: >>> On Sat, 2 Aug 2014, Nick Krause wrote: >>> Hey Sharp, After reading around seems people want support for usb debugging in kgdb or other usb based s

Re: Kernel Debugging Support

2014-08-04 Thread Richard Weinberger
On Mon, Aug 4, 2014 at 4:29 PM, Austin S Hemmelgarn wrote: > On 2014-08-04 10:21, Alan Stern wrote: >> On Mon, 4 Aug 2014, Austin S Hemmelgarn wrote: >> >>> On 2014-08-02 09:48, Alan Stern wrote: On Sat, 2 Aug 2014, Nick Krause wrote: > Hey Sharp, > After reading around seems peo

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

2014-08-04 Thread Mathias Nyman
On 07/25/2014 11:01 PM, 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 Goede > --- > driver

Re: [PATCH 05/11] xhci: Move allocating of command for new_dequeue_state to queue_set_tr_deq()

2014-08-04 Thread Mathias Nyman
On 07/25/2014 11:01 PM, Hans de Goede wrote: > There are multiple reasons for this: > > 1) This fixes a missing check for xhci_alloc_command failing in >xhci_handle_cmd_stop_ep() > 2) This adds a warning when we cannot set the new dequeue state because of >xhci_alloc_command failing > 3) I

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

2014-08-04 Thread Alan Stern
On Mon, 4 Aug 2014, Mathias Nyman wrote: > > --- a/drivers/usb/host/xhci-ring.c > > +++ b/drivers/usb/host/xhci-ring.c > > @@ -1718,10 +1718,12 @@ cleanup: > > * TRB in this TD, this function returns that TRB's segment. Otherwise it > > * returns 0. > > */ > > -struct xhci_segment *trb_in_t

Re: OMAP3/AM3517 EHCI USB Issue

2014-08-04 Thread Michael Welling
On Mon, Aug 04, 2014 at 12:34:16PM +0300, Roger Quadros wrote: > On 08/02/2014 02:51 AM, Michael Welling wrote: > > 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: >

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

2014-08-04 Thread Hans de Goede
Hi, On 08/04/2014 05:24 PM, Alan Stern wrote: > On Mon, 4 Aug 2014, Mathias Nyman wrote: > >>> --- a/drivers/usb/host/xhci-ring.c >>> +++ b/drivers/usb/host/xhci-ring.c >>> @@ -1718,10 +1718,12 @@ cleanup: >>> * TRB in this TD, this function returns that TRB's segment. Otherwise it >>> * ret

Re: [PATCH 06/11] xhci: Fold queue_set_tr_deq into xhci_queue_new_dequeue_state

2014-08-04 Thread Mathias Nyman
On 07/25/2014 11:01 PM, Hans de Goede wrote: > xhci_queue_new_dequeue_state is the only caller of queue_set_tr_deq > and queue_set_tr_deq checks for SET_DEQ_PENDING, where as > xhci_queue_new_dequeue_state sets it which is inconsistent. > > Simply fold the 2 into one is a nice cleanup and fixes th

Re: [PATCH 07/11] xhci: Remove "FIXME - check all the stream rings for pending cancellations"

2014-08-04 Thread Mathias Nyman
On 07/25/2014 11:01 PM, Hans de Goede wrote: > Even though a Set TR deq ptr command operates on a ring, and an endpoint > can have multiple rings, we can have only one Set TR deq ptr command pending. > > When an endpoint with streams halts or is stopped to unlink urbs, there > will only be at most

Re: [PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-04 Thread Michael Welling
On Mon, Aug 04, 2014 at 12:44:46PM +0300, Roger Quadros wrote: > If user specifies that USB autosuspend must be disabled by module > parameter "usbcore.autosuspend=-1" then we must prevent > autosuspend of USB hub devices as well. > > commit 596d789a211d introduced in v3.8 changed the original beh

Re: [PATCH 08/11] xhci: Always ring the doorbell for active eps when a Set TR deq ptr cmd completes

2014-08-04 Thread Mathias Nyman
On 07/25/2014 11:01 PM, Hans de Goede wrote: > Even if the stream for which the command was intended has been freed in the > mean time. This ensures that things start rolling again after an unlink / > halt. > > Signed-off-by: Hans de Goede Acked-by: Mathias Nyman -- To unsubscribe from this

Re: [PATCH 1/1] usb: ehci: using wIndex + 1 for hub port

2014-08-04 Thread Greg KH
On Mon, Aug 04, 2014 at 01:12:49PM +0800, Peter Chen wrote: > The roothub's index per controller is from 0, but the hub port index per hub > is from 1, this patch fixes "can't find device at roohub" problem for > connecting > test fixture at roohub when do USB-IF Embedded Host High-Speed Electrica

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

2014-08-04 Thread Hans de Goede
Hi, On 08/02/2014 10:41 AM, Hans de Goede wrote: > Hi, > > On 08/02/2014 12:58 AM, Greg Kroah-Hartman wrote: >> 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 sho

[PATCH v2 0/7] xhci: various fixes and cleanups

2014-08-04 Thread Hans de Goede
Hi All, Here is a resend of my pending xhci fixes / cleanups. Note the first one is a bug-fix which really should go into 3.17-rc2 (too late for rc1 I assume) the rest can wait I think. Changes in v2: -rebased on top of usb-next -merged "xhci: Log ep-index and comp-code on TRB DMA ptr not part

[PATCH v2 1/7] xhci: Treat not finding the event_seg on COMP_STOP the same as COMP_STOP_INVAL

2014-08-04 Thread Hans de Goede
When using a Renesas uPD720231 chipset usb-3 uas to sata bridge with a 120G Crucial M500 ssd, model string: Crucial_ CT120M500SSD1, together with a the integrated Intel xhci controller on a Haswell laptop: 00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)

[PATCH v2 5/7] xhci: Remove "FIXME - check all the stream rings for pending cancellations"

2014-08-04 Thread Hans de Goede
Even though a Set TR deq ptr command operates on a ring, and an endpoint can have multiple rings, we can have only one Set TR deq ptr command pending. When an endpoint with streams halts or is stopped to unlink urbs, there will only be at most one ring active / one td being executed (the td stoppe

[PATCH v2 3/7] xhci: Move allocating of command for new_dequeue_state to queue_set_tr_deq()

2014-08-04 Thread Hans de Goede
There are multiple reasons for this: 1) This fixes a missing check for xhci_alloc_command failing in xhci_handle_cmd_stop_ep() 2) This adds a warning when we cannot set the new dequeue state because of xhci_alloc_command failing 3) It puts the allocation of the command after the sanity check

[PATCH v2 6/7] xhci: Always ring the doorbell for active eps when a Set TR deq ptr cmd completes

2014-08-04 Thread Hans de Goede
Even if the stream for which the command was intended has been freed in the mean time. This ensures that things start rolling again after an unlink / halt. Signed-off-by: Hans de Goede Acked-by: Mathias Nyman --- drivers/usb/host/xhci-ring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH v2 7/7] xhci: xhci_ring_device: Ring stream ring bells for endpoints with streams

2014-08-04 Thread Hans de Goede
Signed-off-by: Hans de Goede --- drivers/usb/host/xhci-hub.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c index aa79e87..bb54783 100644 --- a/drivers/usb/host/xhci-hub.c +++ b/drivers/usb/host/xhci-h

[PATCH v2 4/7] xhci: Fold queue_set_tr_deq into xhci_queue_new_dequeue_state

2014-08-04 Thread Hans de Goede
xhci_queue_new_dequeue_state is the only caller of queue_set_tr_deq and queue_set_tr_deq checks for SET_DEQ_PENDING, where as xhci_queue_new_dequeue_state sets it which is inconsistent. Simply fold the 2 into one is a nice cleanup and fixes the inconsistency. Signed-off-by: Hans de Goede --- dr

[PATCH v2 2/7] xhci: Log extra info on "ERROR Transfer event TRB DMA ptr not part of current TD"

2014-08-04 Thread Hans de Goede
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 Goede --- drivers/usb/host/xhci-mem.c | 4 +++- drivers/usb/host/xhci-ring.

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

2014-08-04 Thread Mathias Nyman
On 08/04/2014 06:56 PM, Hans de Goede wrote: > Hi, > > On 08/02/2014 10:41 AM, Hans de Goede wrote: >> Hi, >> >> On 08/02/2014 12:58 AM, Greg Kroah-Hartman wrote: >>> 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

Re: [PATCH v3 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-04 Thread Doug Anderson
Kever, On Mon, Aug 4, 2014 at 6:45 AM, Kever Yang wrote: > According to the "dr_mode", the otg controller can work as > device role during firmware period, and work as host role in > the kernel, without use of usb_id pin. As the commit "usb: dwc3: > set 'mode' based on selected Kconfig choices".

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
On Sat, Aug 02, 2014 at 12:47:59AM -0400, Nick Krause wrote: > Hey Sharp, Hi Krause, Please Cc the new xHCI driver maintainer, Mathias Nyman. I'm officially retired from USB development and have moved onto other projects. :) > After reading around seems people want support for usb debugging in

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

2014-08-04 Thread Hans de Goede
Hi, On 08/04/2014 06:19 PM, Mathias Nyman wrote: > On 08/04/2014 06:56 PM, Hans de Goede wrote: >> Hi, >> >> On 08/02/2014 10:41 AM, Hans de Goede wrote: >>> Hi, >>> >>> On 08/02/2014 12:58 AM, Greg Kroah-Hartman wrote: On Fri, Jul 25, 2014 at 10:01:20PM +0200, Hans de Goede wrote: > Late

Resend Re: [PATCH v6] usb:serial:pl2303: add GPIOs interface on PL2303

2014-08-04 Thread Wang YanQing
I change my system recently, and sendmail has trouble to send mails to kernel mail list, so I resend it with my old system. Ok, before I send out next version, I still has some vague places, see below: On Mon, Aug 04, 2014 at 04:00:32PM +0200, Johan Hovold wrote: > > +config USB_SERIAL_P

Re: UAS errors with Jmicron

2014-08-04 Thread Hans de Goede
Hi Laszlo, On 08/03/2014 12:40 AM, Laszlo T. wrote: >> *) usb devices return different descriptors at different speeds > > All tests were on usb2. > I don't have usb3 ports but I will try that at weekend. > > I'm curious now, am I the first one who has ever tested uas on us

Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS

2014-08-04 Thread Dan Williams
On Mon, 2014-08-04 at 11:20 +0200, Ricardo Ribalda Delgado wrote: > Suggested-by: Dan Williams Before we apply this patch though, can you grab for the following for me? cat /sys/class/tty/*/hsotype and lets see if the firmware actually responds. Also, do you get an 'hso0' network interface as

RE: [PATCH v3 00/12] usb: dwc2/gadget: fix series

2014-08-04 Thread Paul Zimmerman
> From: Paul Zimmerman > Sent: Friday, July 18, 2014 12:19 PM > > > From: Robert Baldyga [mailto:r.bald...@samsung.com] > > Sent: Friday, July 18, 2014 4:39 AM > > > > This patchset contains fixes for dwc2 gadget driver. It touches PHY, > > FIFO configuration, initialization sequence and adds many

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
> From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Sarah Sharp > Sent: Monday, August 04, 2014 9:47 AM > > Please Cc the new xHCI driver maintainer, Mathias Nyman. I'm officially > retired from USB development and have moved onto other projects. :) >

Re: [PATCH v3 00/12] usb: dwc2/gadget: fix series

2014-08-04 Thread gre...@linuxfoundation.org
On Mon, Aug 04, 2014 at 06:58:23PM +, Paul Zimmerman wrote: > > From: Paul Zimmerman > > Sent: Friday, July 18, 2014 12:19 PM > > > > > From: Robert Baldyga [mailto:r.bald...@samsung.com] > > > Sent: Friday, July 18, 2014 4:39 AM > > > > > > This patchset contains fixes for dwc2 gadget driver.

[GIT PULL] USB driver patches for 3.17-rc1

2014-08-04 Thread Greg KH
The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab: Linux 3.16-rc5 (2014-07-13 14:04:33 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.17-rc1 for you to fetch changes up to d310d05f1225d1f6f2b

Re: Kernel Debugging Support

2014-08-04 Thread Valdis . Kletnieks
On Mon, 04 Aug 2014 19:07:53 -, Paul Zimmerman said: > Are you sure about that? Last I heard, xHCI debug support was a logo > requirement from Microsoft for Windows 8 and above, so I would have > thought that most vendors would have implemented it by now. There's a lot of gear out in the real

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] > Sent: Monday, August 04, 2014 12:23 PM > > On Mon, 04 Aug 2014 19:07:53 -, Paul Zimmerman said: > > > Are you sure about that? Last I heard, xHCI debug support was a logo > > requirement from Microsoft for Windows 8 and above,

RE: [PATCH v3 00/12] usb: dwc2/gadget: fix series

2014-08-04 Thread Paul Zimmerman
> From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Monday, August 04, 2014 12:11 PM > > On Mon, Aug 04, 2014 at 06:58:23PM +, Paul Zimmerman wrote: > > > From: Paul Zimmerman > > > Sent: Friday, July 18, 2014 12:19 PM > > > > > > > From: Robert Baldyga [mailto:r.bal

Re: [PATCH v3 00/12] usb: dwc2/gadget: fix series

2014-08-04 Thread gre...@linuxfoundation.org
On Mon, Aug 04, 2014 at 07:53:35PM +, Paul Zimmerman wrote: > > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > > Sent: Monday, August 04, 2014 12:11 PM > > > > On Mon, Aug 04, 2014 at 06:58:23PM +, Paul Zimmerman wrote: > > > > From: Paul Zimmerman > > > > Sent: Fri

Re: Kernel Debugging Support

2014-08-04 Thread Valdis . Kletnieks
On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: > Ah, you didn't read far enough down the page :) I'm willing to bet a large pizza with everything but anchovies that out in the real world, a lot of implementors didn't read further either. :) > So I have to believe there are a *lot* of s

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] > Sent: Monday, August 04, 2014 1:28 PM > > On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: > > > Ah, you didn't read far enough down the page :) > > I'm willing to bet a large pizza with everything but anchovies that > ou

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman wrote: >> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] >> Sent: Monday, August 04, 2014 1:28 PM >> >> On Mon, 04 Aug 2014 19:40:15 -, Paul Zimmerman said: >> >> > Ah, you didn't read far enough down the page :) >> >> I'm willing

RE: Kernel Debugging Support

2014-08-04 Thread Paul Zimmerman
> From: Nick Krause [mailto:xerofo...@gmail.com] > Sent: Monday, August 04, 2014 3:50 PM > > On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman > wrote: > >> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] > >> Sent: Monday, August 04, 2014 1:28 PM > >> > >> On Mon, 04 Aug 2014 19:40:1

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman wrote: >> From: Nick Krause [mailto:xerofo...@gmail.com] >> Sent: Monday, August 04, 2014 3:50 PM >> >> On Mon, Aug 4, 2014 at 5:55 PM, Paul Zimmerman >> wrote: >> >> From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] >> >> Sent: Monday,

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

2014-08-04 Thread Kuninori Morimoto
Hi > 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. > > Changes from v1: > - Change an optional property name from "buswait_bwait" to "buswait" in >patch 1. > - Add the prefix "renesas," to "bu

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: > On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman > wrote: > >> From: Nick Krause [mailto:xerofo...@gmail.com] [snip] > >> Paul , > >> My computer is rather old now as of Sandy Bridge days, so I probably > >> can't test the patch > >> o

RE: [PATCH 1/1] usb: ehci: using wIndex + 1 for hub port

2014-08-04 Thread Peter Chen
> > On Mon, Aug 04, 2014 at 01:12:49PM +0800, Peter Chen wrote: > > The roothub's index per controller is from 0, but the hub port index > > per hub is from 1, this patch fixes "can't find device at roohub" > > problem for connecting test fixture at roohub when do USB-IF Embedded > Host High-Spe

[PATCH v2 1/1] usb: ehci: using wIndex + 1 for hub port

2014-08-04 Thread Peter Chen
The roothub's index per controller is from 0, but the hub port index per hub is from 1, this patch fixes "can't find device at roohub" problem for connecting test fixture at roohub when do USB-IF Embedded Host High-Speed Electrical Test. This patch is for v3.12+. Cc: sta...@vger.kernel.org Signed

Re: [PATCH resend] Revert "usb: gadget: u_ether: synchronize with transmit when stopping queue"

2014-08-04 Thread Li RongQing
On Fri, Jul 25, 2014 at 2:22 PM, wrote: > From: Li RongQing > > This reverts commit a9232076374334ca2bc2a448dfde96d38a54349a. > > It introduced a dead lock, and did not fix anything. > > it made netif_tx_lock() be called in IRQ context, but in softirq context, > the same lock is locked without d

Re: [PATCH resend] Revert "usb: gadget: u_ether: synchronize with transmit when stopping queue"

2014-08-04 Thread Greg KH
On Tue, Aug 05, 2014 at 08:47:33AM +0800, Li RongQing wrote: > On Fri, Jul 25, 2014 at 2:22 PM, wrote: > > From: Li RongQing > > > > This reverts commit a9232076374334ca2bc2a448dfde96d38a54349a. > > > > It introduced a dead lock, and did not fix anything. > > > > it made netif_tx_lock() be calle

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp wrote: > On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: >> On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman >> wrote: >> >> From: Nick Krause [mailto:xerofo...@gmail.com] > > [snip] > >> >> Paul , >> >> My computer is rather old now as of Sa

Re: [PATCH v3 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-04 Thread Kever Yang
Doug, On 08/05/2014 12:34 AM, Doug Anderson wrote: Kever, On Mon, Aug 4, 2014 at 6:45 AM, Kever Yang wrote: According to the "dr_mode", the otg controller can work as device role during firmware period, and work as host role in the kernel, without use of usb_id pin. As the commit "usb: dwc3:

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 9:33 PM, Nick Krause wrote: > On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp > wrote: >> On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: >>> On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman >>> wrote: >>> >> From: Nick Krause [mailto:xerofo...@gmail.com] >> >> [sni

Re: [PATCH v3 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-04 Thread Doug Anderson
Kever, On Mon, Aug 4, 2014 at 6:45 PM, Kever Yang wrote: > Doug, > > > On 08/05/2014 12:34 AM, Doug Anderson wrote: >> >> Kever, >> >> On Mon, Aug 4, 2014 at 6:45 AM, Kever Yang >> wrote: >>> >>> According to the "dr_mode", the otg controller can work as >>> device role during firmware period, a

Re: 3.14.12 and USB option_instat_callback with 3G DONGLE

2014-08-04 Thread ressy66
On 2014-08-05 00:10, Johan Hovold wrote: [ Please, avoid top-posting. ] Usually I don't but some clients I use just are too much of a PITA to get it "inline" On Wed, Jul 30, 2014 at 09:53:39PM +1000, ress...@ausics.net wrote: Hi Johan, Thanks you, after running for 12 hours, I am pleased

Re: Kernel Debugging Support

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 11:18 PM, Nick Krause wrote: > On Mon, Aug 4, 2014 at 9:33 PM, Nick Krause wrote: >> On Mon, Aug 4, 2014 at 8:12 PM, Sarah Sharp >> wrote: >>> On Mon, Aug 04, 2014 at 07:11:07PM -0400, Nick Krause wrote: On Mon, Aug 4, 2014 at 7:03 PM, Paul Zimmerman wrote:

Re: [PATCH] xhci: Merge and Update debugging for patches from 3.6 kernel tree

2014-08-04 Thread Greg KH
On Tue, Aug 05, 2014 at 12:56:57AM -0400, Nicholas Krause wrote: > I am adding the fixes to the tree send for adding debugging to the kernel > tree from a patch sent in 2013 on the the 3.6 release. The patch adds > debugging over xhci capable debugging usb ports and needed to be updated > into the

Re: [PATCH] xhci: Merge and Update debugging for patches from 3.6 kernel tree

2014-08-04 Thread Nick Krause
On Tue, Aug 5, 2014 at 1:45 AM, Greg KH wrote: > On Tue, Aug 05, 2014 at 12:56:57AM -0400, Nicholas Krause wrote: >> I am adding the fixes to the tree send for adding debugging to the kernel >> tree from a patch sent in 2013 on the the 3.6 release. The patch adds >> debugging over xhci capable deb

Re: [PATCHv2 5/6] base: platform: name the device already during allocation

2014-08-04 Thread Heikki Krogerus
On Mon, Jul 14, 2014 at 07:55:43AM -0700, Greg Kroah-Hartman wrote: > > > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > > > index 9e9227e..e856bc4 100644 > > > --- a/drivers/base/platform.c > > > +++ b/drivers/base/platform.c > > > @@ -177,11 +177,45 @@ struct platform_object { >