Delta PLC serial USB port

2013-02-11 Thread Andrea Baldoni
Good morning. I'm successfully talking with a Delta (www.delta.com.tw) PLC DVP-12SE with the generic USB driver. The vendor id is 0x05dd and product id is 0x0001. It seems to me that windows uses their generic driver usbser.sys also (there is only an inf file referring it and no binaries in the su

[PATCH v3 00/11] usb: dwc3: PM support patchset

2013-02-11 Thread Felipe Balbi
Hi folks, this patchset implements the bare minimum PM support for dwc3. We're not even playing with the PHYs yet. Please give this a good round of test as PM always tends to break things apart. I haven't thoroughly tested this yet, but I thought that I should give people enough time to run all

[PATCH v3 01/11] usb: dwc3: core: don't forget to free coherent memory

2013-02-11 Thread Felipe Balbi
commit 3921426 (usb: dwc3: core: move event buffer allocation out of dwc3_core_init()) introduced a memory leak of the coherent memory we use as event buffers on dwc3 driver. If the driver is compiled as a dynamically loadable module and use constantly loads and unloads the driver, we will continu

[PATCH v3 02/11] usb: dwc3: core: explicitly setup and cleanup event buffers

2013-02-11 Thread Felipe Balbi
Make the call to dwc3_event_buffers_setup() and dwc3_event_buffers_cleanup() explicit, so it's easier to implement PM. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/core.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/drivers/usb/dwc3/c

[PATCH v3 03/11] usb: dwc3: gadget: introduce and use enable/disable irq methods

2013-02-11 Thread Felipe Balbi
we don't need to enable IRQs until we have a gadget driver loaded and ready to work, so let's delay IRQ enable to ->udc_start() and IRQ disable to ->udc_stop(). While at that, also move the related use of request_irq() and free_irq(). Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/gadget.c |

[PATCH v3 04/11] usb: dwc3: gadget: save state of pullups

2013-02-11 Thread Felipe Balbi
This will be used during resume to verify if we should reconnect our pullups or not. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/core.h | 1 + drivers/usb/dwc3/gadget.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 11a77f0..

[PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread Felipe Balbi
Add support for basic power management on the dwc3 driver. While there is still lots to improve for full PM support, this minimal patch will already make sure that we survive suspend-to-ram and suspend-to-disk without major issues. Cc: Vikas C Sajjan Signed-off-by: Felipe Balbi --- drivers/usb/

[PATCH v3 07/11] usb: dwc3: omap: introduce enable/disable IRQ methods

2013-02-11 Thread Felipe Balbi
they will be re-used on suspend/resume implementation. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-omap.c | 47 ++-- 1 file changed, 32 insertions(+), 15 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index

[PATCH v3 06/11] usb: dwc3: omap: fix a typo on of_device_id

2013-02-11 Thread Felipe Balbi
s/matach/match No functional changes Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-omap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index f31867f..cb526ab 100644 --- a/drivers/usb/dwc3/dwc3-omap.

[PATCH v3 08/11] usb: dwc3: omap: remove unused fields from private structure

2013-02-11 Thread Felipe Balbi
we're not using those fields of the structure, might as well remove them. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-omap.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 4354dc5..3214236 100644 --- a/

[PATCH v3 09/11] usb: dwc3: omap: add basic suspend/resume support

2013-02-11 Thread Felipe Balbi
this patch implements basic suspend/resume functionality for the OMAP glue layer. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-omap.c | 56 1 file changed, 56 insertions(+) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-om

[PATCH v3 11/11] usb: dwc3: pci: add basic suspend/resume support

2013-02-11 Thread Felipe Balbi
this patch adds basic PM support for the PCI glue layer. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-pci.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index 7d70f44..e1aff2c 100644

[PATCH v3 10/11] usb: dwc3: exynos: add basic suspend/resume support

2013-02-11 Thread Felipe Balbi
From: Vikas Sajjan Adds suspend and resume callbacks to exynos dwc3 driver as part of power management support. This change does gating of dwc3 clock during suspend/resume cycles. Signed-off-by: Abhilash Kesavan Signed-off-by: Vikas C Sajjan CC: Doug Anderson [ ba...@ti.com : refreshed to c

[PATCH] usb: xhci: add the suspend/resume functionality

2013-02-11 Thread Felipe Balbi
From: Vikas Sajjan Adds power management support to xHCI platform driver. This patch facilitates the transition of xHCI host controller between S0 and S3/S4 power states, during suspend/resume cycles. Signed-off-by: Abhilash Kesavan Signed-off-by: Vikas C Sajjan CC: Doug Anderson Signed-off-

Re: [PATCH V3 1/5] usb: gadget/uvc: Fix VS_INPUT_HEADER.bEndpointAddress and Video Streaming.bEndpointAddress values

2013-02-11 Thread Michael Grzeschik
On Fri, Feb 08, 2013 at 11:48:18PM +0800, Bhupesh SHARMA wrote: > Hi Laurent, > > > Hi Bhupesh, > > > > Thanks for the patch. > > > > On Thursday 17 January 2013 16:23:49 Bhupesh Sharma wrote: > > > This patch corrects the VS_INPUT_HEADER.bEndpointAddress and Video > > > Streaming.bEndpointAddre

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Jiri Slaby
On 02/11/2013 07:40 AM, Yinghai Lu wrote: > Can you try attached debug patch? FWIW this fixes it for me. No more 'derived' or 'nobody' in dmesg. thanks, -- js suse labs -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org M

Re: [PATCH] usb: xhci: add the suspend/resume functionality

2013-02-11 Thread kishon
Hi, On Monday 11 February 2013 03:27 PM, Felipe Balbi wrote: From: Vikas Sajjan Adds power management support to xHCI platform driver. This patch facilitates the transition of xHCI host controller between S0 and S3/S4 power states, during suspend/resume cycles. Signed-off-by: Abhilash Kesava

Re: [PATCH] usb: xhci: add the suspend/resume functionality

2013-02-11 Thread Felipe Balbi
Hi, On Mon, Feb 11, 2013 at 04:08:31PM +0530, kishon wrote: > Hi, > > On Monday 11 February 2013 03:27 PM, Felipe Balbi wrote: > >From: Vikas Sajjan > > > >Adds power management support to xHCI platform driver. > > > >This patch facilitates the transition of xHCI host controller > >between S0 an

[PATCH v2] usb: xhci: add the suspend/resume functionality

2013-02-11 Thread Felipe Balbi
From: Vikas Sajjan Adds power management support to xHCI platform driver. This patch facilitates the transition of xHCI host controller between S0 and S3/S4 power states, during suspend/resume cycles. Signed-off-by: Abhilash Kesavan Signed-off-by: Vikas C Sajjan CC: Doug Anderson Signed-off-

Re: [PATCH v3 09/11] usb: dwc3: omap: add basic suspend/resume support

2013-02-11 Thread kishon
Hi, On Monday 11 February 2013 03:22 PM, Felipe Balbi wrote: this patch implements basic suspend/resume functionality for the OMAP glue layer. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-omap.c | 56 1 file changed, 56 insertions(+) di

Re: [PATCH v3 0/5] DWC2 DesignWare HS OTG driver

2013-02-11 Thread Felipe Balbi
Hi, On Sat, Feb 09, 2013 at 07:37:47PM -0800, Paul Zimmerman wrote: > - The PCI bus driver has a couple dozen module parameters to control > various optional features of the controller. I realize module parameters optional features ? Are those something you can detect by reading some configurat

Re: [PATCH 1/8] USB: EHCI: make ehci-spear a separate driver

2013-02-11 Thread Mark Rutland
Hello, [...] > -static struct of_device_id spear_ehci_id_table[] = { > - { .compatible = "st,spear600-ehci", }, > +static struct of_device_id SPEAr_ehci_id_table[] = { > + { .compatible = "st,SPEAr600-ehci", }, > { }, > }; This will break anyone using the documented binding,

Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread kishon
Hi, On Monday 11 February 2013 03:22 PM, Felipe Balbi wrote: Add support for basic power management on the dwc3 driver. While there is still lots to improve for full PM support, this minimal patch will already make sure that we survive suspend-to-ram and suspend-to-disk without major issues. I

Re: [PATCH v3 09/11] usb: dwc3: omap: add basic suspend/resume support

2013-02-11 Thread Felipe Balbi
On Mon, Feb 11, 2013 at 04:32:10PM +0530, kishon wrote: > Hi, > > On Monday 11 February 2013 03:22 PM, Felipe Balbi wrote: > >this patch implements basic suspend/resume > >functionality for the OMAP glue layer. > > > >Signed-off-by: Felipe Balbi > >--- > > drivers/usb/dwc3/dwc3-omap.c | 56 > >

Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread Felipe Balbi
On Mon, Feb 11, 2013 at 05:02:15PM +0530, kishon wrote: > Hi, > > On Monday 11 February 2013 03:22 PM, Felipe Balbi wrote: > >Add support for basic power management on > >the dwc3 driver. While there is still lots > >to improve for full PM support, this minimal > >patch will already make sure that

Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread kishon
Hi, On Monday 11 February 2013 05:07 PM, Felipe Balbi wrote: On Mon, Feb 11, 2013 at 05:02:15PM +0530, kishon wrote: Hi, On Monday 11 February 2013 03:22 PM, Felipe Balbi wrote: Add support for basic power management on the dwc3 driver. While there is still lots to improve for full PM support

[PATCH V2] usb: ehci: more bus glues as separate modules

2013-02-11 Thread manjunath . goudar
From: Manjunath Goudar Separate the SOC On-Chip host controller driver from ehci-hcd host code into its own driver module Manjunath Goudar (1): USB: EHCI: make ehci-s5p a separate driver drivers/usb/host/Kconfig|2 +- drivers/usb/host/Makefile |1 + drivers/usb/host/ehci-hcd.c

[PATCH] USB: EHCI: make ehci-s5p a separate driver

2013-02-11 Thread manjunath . goudar
From: Manjunath Goudar Separate the s5p host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar Cc: Greg KH Cc: Alan Stern Cc: Kukjin Kim Cc: Kyungmin Park Cc: Grant Likely Cc: Rob Herring Cc: linux-usb@vger.kernel.org --- drivers/usb/ho

Re: [PATCH V3 1/5] usb: gadget/uvc: Fix VS_INPUT_HEADER.bEndpointAddress and Video Streaming.bEndpointAddress values

2013-02-11 Thread Laurent Pinchart
Hi Bhupesh, On Monday 11 February 2013 11:32:14 Bhupesh SHARMA wrote: > > > On Thursday 17 January 2013 16:23:49 Bhupesh Sharma wrote: > > > > This patch corrects the VS_INPUT_HEADER.bEndpointAddress and Video > > > > Streaming.bEndpointAddress values which were incorrectly set to 0 in > > > > UVC

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Peter Hurley
On Sun, 2013-02-10 at 22:40 -0800, Yinghai Lu wrote: > On Sun, Feb 10, 2013 at 12:33 PM, Yinghai Lu wrote: > > On Sun, Feb 10, 2013 at 6:23 AM, Peter Hurley > > wrote: > >> On Sat, 2013-02-09 at 22:14 -0500, Peter Hurley wrote: > >>> On Tue, 2013-02-05 at 15:26 -0500, Alan Stern wrote: > >>> > O

RE: [PATCH V3 2/5] usb: gadget/uvc: Make video streaming buffer size compliant to USB3.0 SS specs

2013-02-11 Thread Bhupesh SHARMA
Hi Laurent, > -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Friday, February 08, 2013 4:22 AM > To: Bhupesh SHARMA > Cc: linux-usb@vger.kernel.org; ba...@ti.com > Subject: Re: [PATCH V3 2/5] usb: gadget/uvc: Make video streaming buffer > siz

Re: [PATCH v3 1/5] Core files for the DWC2 driver

2013-02-11 Thread Felipe Balbi
Hi, On Sat, Feb 09, 2013 at 07:37:48PM -0800, Paul Zimmerman wrote: > +static void dwc2_core_reset(struct dwc2_hcd *hcd) not sure if I would call this an HCD. Surely it can _be_ an HCD, but it's actually a DRD device (not all configurations, but still). If you call this HCD, it will be a little

Re: [PATCH v3 2/5] HCD files for the DWC2 driver

2013-02-11 Thread Felipe Balbi
Hi, On Sat, Feb 09, 2013 at 07:37:49PM -0800, Paul Zimmerman wrote: > +void dwc2_hcd_start(struct dwc2_hcd *hcd) > +{ > + u32 hprt0; > + > + if (hcd->op_state == B_HOST) { > + /* > + * Reset the port. During a HNP mode switch the reset > + * needs to o

Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread Felipe Balbi
Hi, On Mon, Feb 11, 2013 at 05:26:41PM +0530, kishon wrote: > Hi, > > On Monday 11 February 2013 05:07 PM, Felipe Balbi wrote: > >On Mon, Feb 11, 2013 at 05:02:15PM +0530, kishon wrote: > >>Hi, > >> > >>On Monday 11 February 2013 03:22 PM, Felipe Balbi wrote: > >>>Add support for basic power mana

Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread Felipe Balbi
On Mon, Feb 11, 2013 at 03:55:06PM +0200, Felipe Balbi wrote: > Hi, > > On Mon, Feb 11, 2013 at 05:26:41PM +0530, kishon wrote: > > Hi, > > > > On Monday 11 February 2013 05:07 PM, Felipe Balbi wrote: > > >On Mon, Feb 11, 2013 at 05:02:15PM +0530, kishon wrote: > > >>Hi, > > >> > > >>On Monday 11

Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread Felipe Balbi
On Mon, Feb 11, 2013 at 03:58:44PM +0200, Felipe Balbi wrote: > On Mon, Feb 11, 2013 at 03:55:06PM +0200, Felipe Balbi wrote: > > Hi, > > > > On Mon, Feb 11, 2013 at 05:26:41PM +0530, kishon wrote: > > > Hi, > > > > > > On Monday 11 February 2013 05:07 PM, Felipe Balbi wrote: > > > >On Mon, Feb 1

Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread kishon
Hi, On Monday 11 February 2013 07:32 PM, Felipe Balbi wrote: On Mon, Feb 11, 2013 at 03:58:44PM +0200, Felipe Balbi wrote: On Mon, Feb 11, 2013 at 03:55:06PM +0200, Felipe Balbi wrote: Hi, On Mon, Feb 11, 2013 at 05:26:41PM +0530, kishon wrote: Hi, On Monday 11 February 2013 05:07 PM, Felip

Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

2013-02-11 Thread Felipe Balbi
On Mon, Feb 11, 2013 at 07:36:41PM +0530, kishon wrote: > Hi, > > On Monday 11 February 2013 07:32 PM, Felipe Balbi wrote: > >On Mon, Feb 11, 2013 at 03:58:44PM +0200, Felipe Balbi wrote: > >>On Mon, Feb 11, 2013 at 03:55:06PM +0200, Felipe Balbi wrote: > >>>Hi, > >>> > >>>On Mon, Feb 11, 2013 at

Re: [PATCH v3 5/5] Hook the DWC2 driver into the build system

2013-02-11 Thread Felipe Balbi
Hi, On Sat, Feb 09, 2013 at 07:37:52PM -0800, Paul Zimmerman wrote: > Add the DWC2 Kconfig and Makefile, and modify the USB Kconfig and > Makefile to include them > > Signed-off-by: Paul Zimmerman this patch looks alright Reviewed-by: Felipe Balbi -- balbi signature.asc Description: Digit

Re: [PATCH V3 2/5] usb: gadget/uvc: Make video streaming buffer size compliant to USB3.0 SS specs

2013-02-11 Thread Laurent Pinchart
Hi Bhupesh, On Monday 11 February 2013 21:27:50 Bhupesh SHARMA wrote: > On Friday, February 08, 2013 4:22 AM Laurent Pinchart wrote: > > On Thursday 17 January 2013 16:23:50 Bhupesh Sharma wrote: > > > As per the USB3.0 specs, the bandwidth requirements of a UVC's video > > > streaming endpoint wi

Re: [PATCH v3 4/5] PCI bus interface for the DWC2 driver

2013-02-11 Thread Felipe Balbi
Hi, On Sat, Feb 09, 2013 at 07:37:51PM -0800, Paul Zimmerman wrote: > +static struct dwc2_core_params dwc2_module_params = { > + .otg_cap= 0,/* HNP/SRP capable */ > + .dma_enable = 1, > + .dma_desc_enable= 1, > + .spee

Re: [PATCH V3 0/5] UVC webcam gadget related changes

2013-02-11 Thread Laurent Pinchart
Hi Michael, On Friday 08 February 2013 23:38:59 Bhupesh SHARMA wrote: [snip] > > Beside my two comments on patch 3 i have tested it with the contig > > allocator instead of vmalloc [¹]. With that changes applied i can give my > > Tested-By if desired. > > @ Michael, sure I can apply your commen

Re: [PATCH V3 0/5] UVC webcam gadget related changes

2013-02-11 Thread Laurent Pinchart
Hi Bhupesh, On Thursday 17 January 2013 16:23:48 Bhupesh Sharma wrote: > This patchset tries to enhance the UVC webcam gadget driver and > is based on Laurent's git tree available here (head uvc-gadget): > git://linuxtv.org/pinchartl/uvcvideo.git > > Note that to ease review and integration of th

Re: [PATCH V2] usb: ehci: more bus glues as separate modules

2013-02-11 Thread Arnd Bergmann
On Monday 11 February 2013, manjunath.gou...@linaro.org wrote: > From: Manjunath Goudar > > Separate the SOC On-Chip host controller driver from ehci-hcd > host code into its own driver module Hi Manjunath, Please include in your next version of this a more verbose description of why this is al

Re: [PATCH V3 0/5] UVC webcam gadget related changes

2013-02-11 Thread Michael Grzeschik
Hi Laurent, On Mon, Feb 11, 2013 at 04:02:23PM +0100, Laurent Pinchart wrote: > Hi Michael, > > On Friday 08 February 2013 23:38:59 Bhupesh SHARMA wrote: > > [snip] > > > > Beside my two comments on patch 3 i have tested it with the contig > > > allocator instead of vmalloc [¹]. With that chang

Re: [PATCH 6/8] USB: EHCI: make ehci-msm a separate driver

2013-02-11 Thread Stephen Warren
On 02/10/2013 11:58 AM, manjunath.gou...@linaro.org wrote: > Separate the Qualcomm On-Chip host controller driver from ehci-hcd host code > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig > @@ -203,7 +203,7 @@ config USB_EHCI_TEGRA > boolean "NVIDIA Tegra HCD support" >

Re: [PATCH 3/8] USB: EHCI: make ehci-s5p a separate driver

2013-02-11 Thread Stephen Warren
On 02/10/2013 11:58 AM, manjunath.gou...@linaro.org wrote: > From: Manjunath Goudar > > Separate the s5p host controller driver from ehci-hcd host code > into its own driver module. > diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c > -#ifdef CONFIG_USB_EHCI_TEGRA > -#incl

Re: [PATCH] usb: musb: set TXMAXP and AUTOSET for full speed bulk in device mode

2013-02-11 Thread Sergei Shtylyov
Hello. On 12/06/2012 08:42 AM, Supriya Karanth wrote: > From: supriya karanth > The TXMAXP register is not set correctly for full speed bulk case > when the can_bulk_split() is used. Without this PIO transfers will > not take place correctly > The "mult" factor needs to be updated correctly fo

Re: Delta PLC serial USB port

2013-02-11 Thread Greg KH
On Mon, Feb 11, 2013 at 10:08:41AM +0100, Andrea Baldoni wrote: > Good morning. > I'm successfully talking with a Delta (www.delta.com.tw) PLC DVP-12SE with the > generic USB driver. Why are you using the generic usb-serial driver for this device? It "should" work just fine with the cdc-acm drive

Re: [PATCH v7 01/22] mfd: omap-usb-host: Consolidate OMAP USB-HS platform data

2013-02-11 Thread Tony Lindgren
* Roger Quadros [130211 00:02]: > On 02/11/2013 08:46 AM, Olof Johansson wrote: > > On Thu, Jan 17, 2013 at 8:59 AM, Tony Lindgren wrote: > >> * Alan Stern [130117 07:19]: > >>> On Thu, 17 Jan 2013, Roger Quadros wrote: > >>> > Let's have a single platform data structure for the OMAP's High

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Yinghai Lu
On Mon, Feb 11, 2013 at 5:02 AM, Peter Hurley wrote: > On Sun, 2013-02-10 at 22:40 -0800, Yinghai Lu wrote: >> On Sun, Feb 10, 2013 at 12:33 PM, Yinghai Lu wrote: >> > On Sun, Feb 10, 2013 at 6:23 AM, Peter Hurley >> > wrote: >> >> On Sat, 2013-02-09 at 22:14 -0500, Peter Hurley wrote: >> >>> O

Re: [PATCH V3 3/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2013-02-11 Thread Laurent Pinchart
Hi Michael, On Monday 04 February 2013 19:03:56 Michael Grzeschik wrote: > On Thu, Jan 17, 2013 at 04:23:51PM +0530, Bhupesh Sharma wrote: > > This patch reworks the videobuffer management logic present in the UVC > > webcam gadget and ports it to use the "more apt" videobuf2 framework for > > vid

Re: [PATCH V3 3/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2013-02-11 Thread Laurent Pinchart
Hi Michael, On Monday 04 February 2013 11:58:27 Michael Grzeschik wrote: > On Thu, Jan 17, 2013 at 04:23:51PM +0530, Bhupesh Sharma wrote: > > This patch reworks the videobuffer management logic present in the UVC > > webcam gadget and ports it to use the "more apt" videobuf2 framework for > > vid

Re: [PATCH] usb: gadget/uvc: Implement videobuf2 .wait_prepare and .wait_finish operations

2013-02-11 Thread Laurent Pinchart
Hi Michael, Thanks for the patch. On Saturday 09 February 2013 00:54:54 Michael Grzeschik wrote: > Those optional operations are used to release and reacquire the queue > lock when videobuf2 needs to perform operations that sleep for a long > time, such as waiting for a buffer to be complete. Imp

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Sedat Dilek
On Mon, Feb 11, 2013 at 8:19 PM, Yinghai Lu wrote: > On Mon, Feb 11, 2013 at 5:02 AM, Peter Hurley > wrote: >> On Sun, 2013-02-10 at 22:40 -0800, Yinghai Lu wrote: >>> On Sun, Feb 10, 2013 at 12:33 PM, Yinghai Lu wrote: >>> > On Sun, Feb 10, 2013 at 6:23 AM, Peter Hurley >>> > wrote: >>> >> O

Re: [PATCH v8 19/22] ARM: OMAP3: clock data: get rid of unused USB host clock aliases and dummies

2013-02-11 Thread Paul Walmsley
Hi Roger, On Tue, 5 Feb 2013, Roger Quadros wrote: > FYI, the usbhost patches are already in linux-next. Thanks, I think I'll wait for 3.10 cleanup to send the clock cleanup patches, they seem non-critical... - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in th

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Yinghai Lu
On Mon, Feb 11, 2013 at 11:45 AM, Sedat Dilek wrote: > On Mon, Feb 11, 2013 at 8:19 PM, Yinghai Lu wrote: >> On Mon, Feb 11, 2013 at 5:02 AM, Peter Hurley >> wrote: >>> On Sun, 2013-02-10 at 22:40 -0800, Yinghai Lu wrote: On Sun, Feb 10, 2013 at 12:33 PM, Yinghai Lu wrote: > On Sun,

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Yinghai Lu
On Mon, Feb 11, 2013 at 11:19 AM, Yinghai Lu wrote: > On Mon, Feb 11, 2013 at 5:02 AM, Peter Hurley > wrote: >> On Sun, 2013-02-10 at 22:40 -0800, Yinghai Lu wrote: >>> On Sun, Feb 10, 2013 at 12:33 PM, Yinghai Lu wrote: >>> > On Sun, Feb 10, 2013 at 6:23 AM, Peter Hurley >>> > wrote: >>> >>

Re: [PATCH V3 0/5] UVC webcam gadget related changes

2013-02-11 Thread Laurent Pinchart
Hi Michael, On Monday 11 February 2013 16:14:00 Michael Grzeschik wrote: > On Mon, Feb 11, 2013 at 04:02:23PM +0100, Laurent Pinchart wrote: > > On Friday 08 February 2013 23:38:59 Bhupesh SHARMA wrote: > > > > [snip] > > > > > > Beside my two comments on patch 3 i have tested it with the contig

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Yinghai Lu
On Mon, Feb 11, 2013 at 11:57 AM, Yinghai Lu wrote: >> >> Bjorn, Rafael, >> >> acpi_pci_irq_add_prt need to be called after pci bridge get scanned, >> so we can not call it from pci_acpi_setup, after we move dev_register >> for pci_dev early. >> >> The attached debug patch move down that calling i

Re: Determine owner/group of a USB device

2013-02-11 Thread Chris Stankevitz
On Mon, Feb 11, 2013 at 2:41 PM, Chris Stankevitz wrote: > a) ls -l /dev. Hint: grep for the vendor id in hex > > c) lsusb -v Combination of these: First use lsusb to determine the bus number and device number. For example "Bus 004 Device 009". Then use ls -l to show the owner: ls -l /dev/bu

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Bjorn Helgaas
[+cc linux-acpi, linux-pci] On Mon, Feb 11, 2013 at 01:06:27PM -0800, Yinghai Lu wrote: > On Mon, Feb 11, 2013 at 11:57 AM, Yinghai Lu wrote: > >> > >> Bjorn, Rafael, > >> > >> acpi_pci_irq_add_prt need to be called after pci bridge get scanned, > >> so we can not call it from pci_acpi_setup, aft

Re: Determine owner/group of a USB device

2013-02-11 Thread Greg KH
On Mon, Feb 11, 2013 at 02:41:56PM -0800, Chris Stankevitz wrote: > Hello, > > Many people across the internet offer advice about how to set > owner/group of a USB device: Add a udev node like the following: > SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="04b4", > ATTR{idProduct}="8613", GROUP

Re: Determine owner/group of a USB device

2013-02-11 Thread Chris Stankevitz
On Mon, Feb 11, 2013 at 2:53 PM, Greg KH wrote: > My larger question, why do you want to do such a thing? What problem > are you trying to solve here that console-kit (or the like), isn't > already solving today for you? Greg, Thank you for your reply. Give a man a fish and you feed him for a

Re: Determine owner/group of a USB device

2013-02-11 Thread Greg KH
On Mon, Feb 11, 2013 at 03:23:59PM -0800, Chris Stankevitz wrote: > On Mon, Feb 11, 2013 at 2:53 PM, Greg KH wrote: > > My larger question, why do you want to do such a thing? What problem > > are you trying to solve here that console-kit (or the like), isn't > > already solving today for you? >

RE: [PATCH v3 0/5] DWC2 DesignWare HS OTG driver

2013-02-11 Thread Paul Zimmerman
> From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Monday, February 11, 2013 3:05 AM > > On Sat, Feb 09, 2013 at 07:37:47PM -0800, Paul Zimmerman wrote: > > - The PCI bus driver has a couple dozen module parameters to control > > various optional features of the controller. I realize module para

RE: [PATCH v3 1/5] Core files for the DWC2 driver

2013-02-11 Thread Paul Zimmerman
> From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Monday, February 11, 2013 5:43 AM Hi Felipe, I'm only responding to the things I want to clarify here, the stuff that I don't respond to you can consider as "OK, I'll do that". > On Sat, Feb 09, 2013 at 07:37:48PM -0800, Paul Zimmerman wrote: >

RE: [PATCH v3 2/5] HCD files for the DWC2 driver

2013-02-11 Thread Paul Zimmerman
> From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Monday, February 11, 2013 5:53 AM > > On Sat, Feb 09, 2013 at 07:37:49PM -0800, Paul Zimmerman wrote: > > +void dwc2_hcd_start(struct dwc2_hcd *hcd) > > +{ > > + u32 hprt0; > > + > > + if (hcd->op_state == B_HOST) { > > + /* > > +

RE: [PATCH v3 4/5] PCI bus interface for the DWC2 driver

2013-02-11 Thread Paul Zimmerman
> From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Monday, February 11, 2013 6:30 AM > > On Sat, Feb 09, 2013 at 07:37:51PM -0800, Paul Zimmerman wrote: > > +static struct dwc2_core_params dwc2_module_params = { > > + .otg_cap= 0,/* HNP/SRP capable */ > > + .dma_ena

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Yinghai Lu
On Mon, Feb 11, 2013 at 2:41 PM, Bjorn Helgaas wrote: > [+cc linux-acpi, linux-pci] > > The _PRT describes motherboard interrupt wiring, which has nothing to > do with PCI bus numbers. Our current drivers/acpi/pci_irq.c caches > the PCI bus number along with the _PRT, and I think that's a mistake

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-11 Thread Sarah Sharp
Hi Holger, Can you turn on CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING, recompile the 3.7.5 kernel, and send me dmesg starting from the point you unmount the device and then power it off? I'd like to keep that patch in stable, but I need to understand what exactly is failing with it. Sara

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-11 Thread Jonathan Nieder
Sarah Sharp wrote: > Can you turn on CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING, > recompile the 3.7.5 kernel, and send me dmesg starting from the point > you unmount the device and then power it off? > > I'd like to keep that patch in stable, but I need to understand what > exactly is fai

Re: Determine owner/group of a USB device

2013-02-11 Thread Chris Stankevitz
On Mon, Feb 11, 2013 at 3:52 PM, Greg KH wrote: >> sed -i -e 's/SYSFS/ATTR/g' /etc/udev/rules.d/* > > I doubt that will solve your root problem correctly I created a rule many years ago that set the group to "usb" for a custom FPGA board my coworkers created. I decided to use udev as the mechani

Re: [Bisected] [-next-20130204] usb/hcd: irq 18: nobody cared

2013-02-11 Thread Yinghai Lu
On Mon, Feb 11, 2013 at 4:08 PM, Yinghai Lu wrote: > On Mon, Feb 11, 2013 at 2:41 PM, Bjorn Helgaas wrote: >> [+cc linux-acpi, linux-pci] >> >> The _PRT describes motherboard interrupt wiring, which has nothing to >> do with PCI bus numbers. Our current drivers/acpi/pci_irq.c caches >> the PCI b

Re: [PATCH v3 0/5] DWC2 DesignWare HS OTG driver

2013-02-11 Thread Felipe Balbi
On Tue, Feb 12, 2013 at 12:01:01AM +, Paul Zimmerman wrote: > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Monday, February 11, 2013 3:05 AM > > > > On Sat, Feb 09, 2013 at 07:37:47PM -0800, Paul Zimmerman wrote: > > > - The PCI bus driver has a couple dozen module parameters to contro

Re: [PATCH v3 1/5] Core files for the DWC2 driver

2013-02-11 Thread Felipe Balbi
Hi, On Tue, Feb 12, 2013 at 12:01:28AM +, Paul Zimmerman wrote: > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Monday, February 11, 2013 5:43 AM > > Hi Felipe, > > I'm only responding to the things I want to clarify here, the stuff that > I don't respond to you can consider as "OK, I

Re: [PATCH v3 2/5] HCD files for the DWC2 driver

2013-02-11 Thread Felipe Balbi
Hi, On Tue, Feb 12, 2013 at 12:01:47AM +, Paul Zimmerman wrote: > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Monday, February 11, 2013 5:53 AM > > > > On Sat, Feb 09, 2013 at 07:37:49PM -0800, Paul Zimmerman wrote: > > > +void dwc2_hcd_start(struct dwc2_hcd *hcd) > > > +{ > > > + u3