Re: [PATCH 2/3 v2] USB: ehci-s5p: Add support for device tree

2012-07-13 Thread Jingoo Han
On Thursday, July 12, 2012 2:55 PM, Vivek Gautam wrote: > > This patch adds support to parse probe data for > ehci driver for exynos using device tree > > Signed-off-by: Thomas Abraham > Signed-off-by: Abhilash Kesavan > Signed-off-by: Vivek Gautam > > diff --git a/drivers/usb/host/ehci-s5p.c

Re: [PATCH 1/3 v2] USB: ohci-exynos: Add support for device tree

2012-07-13 Thread Jingoo Han
On Thursday, July 12, 2012 2:55 PM, Vivek Gautam wrote: > > This patch adds support to parse probe data for > ohci driver for exynos using device tree. > > Signed-off-by: Thomas Abraham > Signed-off-by: Abhilash Kesavan > Signed-off-by: Vivek Gautam > > diff --git a/drivers/usb/host/ohci-exyn

Re: xhci_hcd: external drive not initialised if already connected during restart or cold boot

2012-07-13 Thread Andiry Xu
On 07/13/2012 09:56 AM, Matt Causey wrote: On Thu, Jul 12, 2012 at 12:54 PM, Matt Causey wrote: On Thu, Jul 12, 2012 at 2:04 AM, Andiry Xu wrote: On 07/12/2012 10:53 AM, Matt Causey wrote: On Wed, Jul 11, 2012 at 11:03 AM, Matt Causey wrote: On Wed, Jul 11, 2012 at 10:12 AM, Matt Causey w

Re: Problems with the Nikon D800 and USB3

2012-07-13 Thread Andiry Xu
On 07/13/2012 12:26 AM, Richard Adams wrote: Hi, I've recently been doing some development work with the latest Linux Kernel (3.4& 3.5rc6) and I'm experiencing problems with USB3 on both. I've been in conversation with the developers at gphoto and they've directed me to you? 1) The problem oc

Re: usb sound issue ...

2012-07-13 Thread Andiry Xu
On 07/13/2012 03:19 AM, Dr. Ing. Dieter Jurzitza wrote: Hi Andiry, hi Sarah, Andiry is right, the test patch was applied. Please advise what I can do on top of this ... Thank you for all your time and all your efforts, take care Sarah, What do you suggest? What should we do with a interrupt

Re: usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-13 Thread Andiry Xu
On 07/13/2012 02:49 PM, VIKAS SAJJAN C wrote: Hi , I am working on 3.4 kernel , when i try to connect a USB 2.0 device on Super Speed HUB , i get following error. usb 3-1.1: Device not responding to set address. usb 3-1.1: device not accepting address 3, error -71 any inputs will be of great h

Re: Re: usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-13 Thread VIKAS SAJJAN C
Hi Andiry, Thanks for the reply. If I connect the USB 2.0 Device directly to the USB 3.0 Port (without the SS Hub ), it works fine. It even works fine if i connect the same USB 2.0 Device through a SS Hub connected to USB 2.0 port (EHCI root hub). the Problem comes if i connect the same USB 2.

Re: usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-13 Thread Andiry Xu
On 07/13/2012 03:50 PM, VIKAS SAJJAN C wrote: Hi Andiry, Thanks for the reply. If I connect the USB 2.0 Device directly to the USB 3.0 Port (without the SS Hub ), it works fine. It even works fine if i connect the same USB 2.0 Device through a SS Hub connected to USB 2.0 port (EHCI root hub).

Re: g_serial and cdc_acm communications

2012-07-13 Thread Dipen Patel
Hi, However I have another problem. My host application calls SET_CONFIGURATION everytime it starts. On device side my application is running and waiting for data from Host. But whenever set config is called serial gadget driver (from composite.c) does soft reset and I think new port number is

usb3 writes fail with transcend rdf8

2012-07-13 Thread Sami Farin
transcend rdf8 reader works in usb2 port, but some SD cards do not work in usb3 port. 3.5.0-g918227bb1 kernel, Asus P8Z68-V PRO GEN3 rev 3402. If someone knows a working (in Linux) SD card reader for usb3, please tell me. cat: write error: Input/output error [50883.849511] hub 4-0:1.0: state 7

Re: Re: usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-13 Thread VIKAS SAJJAN C
Hi Andiry, 1. xHCI root hub --- SS hub --- some other USB 2.0 devices - I tired with 2 more usb 2.0 devices , same error comes. 2. xHCI root hub --- some other SS hub or HS hub --- the same USB2.0 device -- i connected xHCI root hub -->HS hub--> the same 2.0 device , it works fine

[PATCH] USB: ehci-omap: fix compile failure(v1)

2012-07-13 Thread Ming Lei
The omap_ehci_init() is introduced in the below commit: commit 1a49e2ac9651df7349867a5cf44e2c83de1046af(EHCI: centralize controller initialization) the local variable of 'pdev' inside omap_ehci_init() is used but not defined, so fix the compiling failure. Cc: Alan Stern Signed-o

Re: usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-13 Thread Andiry Xu
On 07/13/2012 04:57 PM, VIKAS SAJJAN C wrote: Hi Andiry, 1. xHCI root hub --- SS hub --- some other USB 2.0 devices - I tired with 2 more usb 2.0 devices , same error comes. 2. xHCI root hub --- some other SS hub or HS hub --- the same USB2.0 device -- i connected xHCI root hub --

Re: Re: usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-13 Thread Elric Fu
2012/7/13 VIKAS SAJJAN C : > Hi Andiry, > > > 1. xHCI root hub --- SS hub --- some other USB 2.0 devices >- I tired with 2 more usb 2.0 devices , same error comes. That is strange. The usb 3.0 hub is VIA VL810. I have a same usb 3.0 hub that has same firmware with your hub. But it works fi

Re: usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-13 Thread Elric Fu
2012/7/13 Andiry Xu : > On 07/13/2012 04:57 PM, VIKAS SAJJAN C wrote: >> >> Hi Andiry, >> >> >> 1. xHCI root hub --- SS hub --- some other USB 2.0 devices >> - I tired with 2 more usb 2.0 devices , same error comes. >> >> 2. xHCI root hub --- some other SS hub or HS hub --- the same USB2.0

Re: Re: usb 2.0 device connected on Super Speed HUB on USB 3.0 Port throws error during enumeration on 3.4 kernel.

2012-07-13 Thread VIKAS SAJJAN C
I tested same USB 2.0 device on a linux machine running 3.2.19 kernel connecting through same VIA SS hub. it works fine. now i wonder where is the issue in my 3.4.0 kernel. is it in my exynos driver or usb core... --- Original Message --- Sender : Elric Fu Date : Jul 13, 2012 18:59

[PATCH 7/13] USB:support the new interfaces of Huawei Data Card devices in option driver

2012-07-13 Thread Fangxiaozhi (Franko)
From: fangxiaozhi 1. This patch is based on the kernel of 3.5-rc6 2. In this patch, we add new micro for matching the series USB devices with vendor ID and interface information. 3. In this patch, we add new declarations into option.c to support the new interfaces of Huawei Data Card devices. S

Re: [PATCH -next] USB: ehci-omap: fix compile failure

2012-07-13 Thread Sergei Shtylyov
Hello. On 13-07-2012 7:54, Ming Lei wrote: The omap_ehci_init() is introduced in the below commit: commit 1a49e2ac9651df7349867a5cf44e2c83de1046af(EHCI: centralize controller initialization) the local variable of 'pdev' inside omap_ehci_init() is used but not defined, so f

Re: Logitech USB keyboard arbitrarily gets unresponsive

2012-07-13 Thread Paul Menzel
Dear Alan, just before I forget, your mail program does not set the »References:« header field [1], so threading does not work if received and sent messages are stored in different folders. Am Mittwoch, den 11.07.2012, 11:44 -0400 schrieb Alan Stern: > On Wed, 11 Jul 2012, Paul Menzel wrote: >

Re: [PATCH 7/13] USB:support the new interfaces of Huawei Data Card devices in option driver

2012-07-13 Thread Bjørn Mork
"Fangxiaozhi (Franko)" writes: > From: fangxiaozhi > 1. This patch is based on the kernel of 3.5-rc6 > 2. In this patch, we add new micro for matching the series USB devices with > vendor ID and interface information. > 3. In this patch, we add new declarations into option.c to support the new

Re: [PATCH 12/12] USB: chipidea: add imx usbmisc support

2012-07-13 Thread Michael Grzeschik
On Thu, Jul 12, 2012 at 03:01:52PM +0800, Richard Zhao wrote: > i.MX usb controllers shares non-core registers, which may include > SoC specific controls. We take it as a usbmisc device and usbmisc > driver export functions needed by ci13xxx_imx driver. So this is SoC and not chipidea specific and

Re: g_serial and cdc_acm communications

2012-07-13 Thread Peter Chen
> > However I have another problem. My host application calls > SET_CONFIGURATION everytime it starts. On device side my application > is running and waiting for data from Host. But whenever set config > is called serial gadget driver (from composite.c) does soft reset and > I think new port number

Re: g_serial and cdc_acm communications

2012-07-13 Thread Dipen Patel
Peter Chen writes: > > > > > However I have another problem. My host application calls > > SET_CONFIGURATION everytime it starts. On device side my application > > is running and waiting for data from Host. But whenever set config > > is called serial gadget driver (from composite.c) does soft r

Re: [PATCH 12/12] USB: chipidea: add imx usbmisc support

2012-07-13 Thread Richard Zhao
On Fri, Jul 13, 2012 at 02:25:45PM +0200, Michael Grzeschik wrote: > On Thu, Jul 12, 2012 at 03:01:52PM +0800, Richard Zhao wrote: > > i.MX usb controllers shares non-core registers, which may include > > SoC specific controls. We take it as a usbmisc device and usbmisc > > driver export functions

Re: [PATCH v3] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached.

2012-07-13 Thread Alan Stern
On Fri, 13 Jul 2012, Tomoya MORINAGA wrote: > Intel EG20T USB host controller does not send SOF in resuming time after > suspending, if the FLR bit was not cleared. When pen drive is attached, > the controller has a long resuming time to try re-connect it. > This patch clear the FLR bit in suspend

Re: [PATCH 12/12] USB: chipidea: add imx usbmisc support

2012-07-13 Thread Marc Kleine-Budde
On 07/13/2012 04:02 PM, Richard Zhao wrote: > On Fri, Jul 13, 2012 at 02:25:45PM +0200, Michael Grzeschik wrote: >> On Thu, Jul 12, 2012 at 03:01:52PM +0800, Richard Zhao wrote: >>> i.MX usb controllers shares non-core registers, which may include >>> SoC specific controls. We take it as a usbmisc

Re: usb3 writes fail with transcend rdf8

2012-07-13 Thread Alan Stern
On Fri, 13 Jul 2012, Sami Farin wrote: > transcend rdf8 reader works in usb2 port, but some SD cards do not work in > usb3 port. 3.5.0-g918227bb1 kernel, Asus P8Z68-V PRO GEN3 rev 3402. > > If someone knows a working (in Linux) SD card reader for usb3, please tell me. > > cat: write error: Inpu

Re: [RFC PATCH] drivers: usb: otg: add device tree support to otg library

2012-07-13 Thread Marc Kleine-Budde
On 06/26/2012 11:37 AM, Kishon Vijay Abraham I wrote: > Adds an API to get usb phy by passing a device node phandle value. Since > now it's possible to obtain phy by phandle, the checks in usb_add_phy > for a valid phy type is removed (now it's just a debug message if a user > tries to add a phy wi

Re: [PATCH] USB: ehci-omap: fix compile failure(v1)

2012-07-13 Thread Alan Stern
On Fri, 13 Jul 2012, Ming Lei wrote: > The omap_ehci_init() is introduced in the below commit: > > commit 1a49e2ac9651df7349867a5cf44e2c83de1046af(EHCI: > centralize controller initialization) > > the local variable of 'pdev' inside omap_ehci_init() is used > but not defined, so fix

Re: xhci_hcd: external drive not initialised if already connected during restart or cold boot

2012-07-13 Thread Matt Causey
On Fri, Jul 13, 2012 at 7:13 AM, Andiry Xu wrote: > On 07/13/2012 09:56 AM, Matt Causey wrote: >> >> On Thu, Jul 12, 2012 at 12:54 PM, Matt Causey >> wrote: >>> >>> On Thu, Jul 12, 2012 at 2:04 AM, Andiry Xu wrote: On 07/12/2012 10:53 AM, Matt Causey wrote: > > > On Wed, Jul

Re: usb3 writes fail with transcend rdf8

2012-07-13 Thread Sami Farin
On Fri, Jul 13, 2012 at 10:17:14 -0400, Alan Stern wrote: > On Fri, 13 Jul 2012, Sami Farin wrote: > > > transcend rdf8 reader works in usb2 port, but some SD cards do not work in > > usb3 port. 3.5.0-g918227bb1 kernel, Asus P8Z68-V PRO GEN3 rev 3402. > > > > If someone knows a working (in Linux

Re: xhci_hcd: external drive not initialised if already connected during restart or cold boot

2012-07-13 Thread Matt Causey
On Fri, Jul 13, 2012 at 2:41 PM, Matt Causey wrote: > On Fri, Jul 13, 2012 at 7:13 AM, Andiry Xu wrote: >> On 07/13/2012 09:56 AM, Matt Causey wrote: >>> >>> On Thu, Jul 12, 2012 at 12:54 PM, Matt Causey >>> wrote: On Thu, Jul 12, 2012 at 2:04 AM, Andiry Xu wrote: > > On 07/12/

Re: usb3 writes fail with transcend rdf8

2012-07-13 Thread Alan Stern
On Fri, 13 Jul 2012, Sami Farin wrote: > On Fri, Jul 13, 2012 at 10:17:14 -0400, Alan Stern wrote: > > On Fri, 13 Jul 2012, Sami Farin wrote: > > > > > transcend rdf8 reader works in usb2 port, but some SD cards do not work in > > > usb3 port. 3.5.0-g918227bb1 kernel, Asus P8Z68-V PRO GEN3 rev 3

Re: g_serial and cdc_acm communications

2012-07-13 Thread Dipen Patel
HI, One thing I observed is that set_config() from composite.c calls acm_set_alt() in f_acm.c. Here in acm_set_alt() for intf==acm->data_id it always goes to else part. So rather than resetting it activates new configuration and thus it gets new port number everytime. I guess once the device i

Re: usb3 writes fail with transcend rdf8

2012-07-13 Thread Sami Farin
On Fri, Jul 13, 2012 at 12:02:34 -0400, Alan Stern wrote: > On Fri, 13 Jul 2012, Sami Farin wrote: > > > On Fri, Jul 13, 2012 at 10:17:14 -0400, Alan Stern wrote: > > > On Fri, 13 Jul 2012, Sami Farin wrote: > > > > > > > transcend rdf8 reader works in usb2 port, but some SD cards do not work >

Re: usb3 writes fail with transcend rdf8

2012-07-13 Thread Alan Stern
On Fri, 13 Jul 2012, Sami Farin wrote: > > The card reader has a couple of bugs in its firmware. It's odd that > > the errors occur only when running at SuperSpeed. You'd think the > > firmware would behave the same way regardless of the speed. > > > > Anyway, you can work around one of the b

Re: suspending USB keyboards

2012-07-13 Thread Alan Stern
[CC-ing the public mailing list and a few interested parties] On Wed, 11 Jul 2012, Len Brown wrote: > Hello Alan, > I'm struggling with a system that consumes 20% more power when a USB keyboard > is plugged in. > > Can you help me? > > thanks, > -Len > > > I find that even if no keyboard

Re: usb3 writes fail with transcend rdf8

2012-07-13 Thread Sami Farin
On Fri, Jul 13, 2012 at 16:39:13 -0400, Alan Stern wrote: > On Fri, 13 Jul 2012, Sami Farin wrote: > > > > The card reader has a couple of bugs in its firmware. It's odd that > > > the errors occur only when running at SuperSpeed. You'd think the > > > firmware would behave the same way regard

Re: usb sound issue ...

2012-07-13 Thread Sarah Sharp
On Fri, Jul 13, 2012 at 03:19:58PM +0800, Andiry Xu wrote: > On 07/13/2012 03:19 AM, Dr. Ing. Dieter Jurzitza wrote: > >Hi Andiry, hi Sarah, > >Andiry is right, the test patch was applied. Please advise what I can do on > >top of this ... > > > >Thank you for all your time and all your efforts, > >

Re: [PATCH v4 2/4] usb gadget: Configure endpoint according to gadget speed.

2012-07-13 Thread Rajaram R
Hi Felipe/Tatyana Could you please comment ? On Thu, Jul 12, 2012 at 4:53 PM, Rajaram R wrote: > Hi > > > On Thu, Nov 18, 2010 at 6:17 PM, Tatyana Brokhman > wrote: >> >> Add config_ep_by_speed() to configure the endpoint according to the gadget >> speed. Using this function will spare the FDs