Re: [PATCH 3/3] xhci: Intel Panther Point BEI quirk.

2012-09-26 Thread Oliver Neukum
On Tuesday 25 September 2012 15:29:29 Sarah Sharp wrote: This patch should be backported to kernels as old as 3.0, that contain the commit 69e848c2090aebba5698a1620604c7dccb448684 Intel xhci: Support EHCI/xHCI port switching. How do you arrive at that commit? The BIOS may also switch ports.

Re: [PATCH v6 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg

2012-09-26 Thread Praveen Paneri
Hi, On Tue, Sep 25, 2012 at 6:47 PM, ABRAHAM, KISHON VIJAY kis...@ti.com wrote: Hi, On Tue, Sep 25, 2012 at 5:48 PM, Rob Herring robherri...@gmail.com wrote: On 09/25/2012 06:23 AM, Praveen Paneri wrote: Hi Rob, On Mon, Sep 24, 2012 at 6:34 PM, Rob Herring robherri...@gmail.com wrote: On

Loading CDC composite device ACM and MassStorage: g_acm_ms failed

2012-09-26 Thread i...@bastian-ruppert.de
Hello, i have a problem with the composite gadget g_acm_ms (serial and mass storage). The kernel is pretty up to date : Linux 3.6.0-rc7. The architecture is arm davinci omap-l138 on a custom board. Using the g_mass_storage driver with: modprobe g_mass_storage file=/mnt/userdata/gadgetfile

[PATCH 1/2] uas: fix locking

2012-09-26 Thread Gerd Hoffmann
Forgot to unlock in the uas_eh_task_mgmt error paths. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/usb/storage/uas.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index 1578909..4218701 100644 ---

[PATCH 2/2] uas: fix gcc warning

2012-09-26 Thread Gerd Hoffmann
Streamline control flow so it is easier for gcc to follow which paths can be taken and which can't. Fixes warning: 'cmdinfo' may be used uninitialized in this function Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/usb/storage/uas.c | 18 -- 1 files changed, 8

Re: Remote wakeup vs. hub suspend

2012-09-26 Thread Peter Chen
For us to do this would be a little difficult. System suspend is easy enough to handle because we don't actually need to put any external ports into suspend; the entire bus will go into global suspend when the root hub is suspended. In fact, this is what we should be doing now (but we

Re: removing the timer from cdc-ncm

2012-09-26 Thread Oliver Neukum
On Tuesday 25 September 2012 13:18:10 Alexey ORISHKO wrote: -Original Message- From: Oliver Neukum [mailto:oneu...@suse.de] here is the patch that does everything I consider theoretically necessary to have bundling of frames in usbnet and adapting cdc-ncm to it. I'd

Re: [RFC PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Sep 17, 2012 at 3:03 PM, Marc Kleine-Budde m...@pengutronix.de wrote: On 09/14/2012 03:06 PM, ABRAHAM, KISHON VIJAY wrote: [...] diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c new file mode 100644 index 000..c55446a --- /dev/null +++ b/drivers/phy/phy-core.c

Re: [RFC PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread Marc Kleine-Budde
On 09/26/2012 11:20 AM, ABRAHAM, KISHON VIJAY wrote: Hi, On Mon, Sep 17, 2012 at 3:03 PM, Marc Kleine-Budde m...@pengutronix.de wrote: On 09/14/2012 03:06 PM, ABRAHAM, KISHON VIJAY wrote: [...] diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c new file mode 100644 index

Re: [BUG] FTDI driver framing error with even parity

2012-09-26 Thread Uwe Bonnes
Hello Andrew, I can not see such an error with a FT232R! Your diagram is propably done by the Saleae Logic Logic analyzer. The analyzer missanalyses the the trace. If you space the character like with the patch below and if you don't overwrite the CFLAG setting PARENB with the call to

Re: [BUG] FTDI driver framing error with even parity (cont)

2012-09-26 Thread Uwe Bonnes
Hello, on another run now even without inter-character spaces, the analyzer sees the right thing. Bye -- Uwe Bonnesb...@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt - Tel. 06151 162516 Fax. 06151 164321

Re: [BUG] FTDI driver framing error with even parity (cont)

2012-09-26 Thread Uwe Bonnes
Andrew == Andrew and...@ncrmnt.org writes: Andrew Looks like it's a time for a break, I've been missing the trivia Andrew and searching for the bug in the wrong place. Terribly sorry Andrew for wasting your time, please close the bug report at Andrew

Re: Query: usbtest: Test 13: Endpoint Halt Test: At Super Speed does not work

2012-09-26 Thread Pratyush Anand
On 9/25/2012 9:29 PM, Sarah Sharp wrote: Can Pratyush recompile his Linux host side kernel with CONFIG_USB_DEBUG and CONFIG_USB_XHCI_HCD_DEBUGGING and send me the dmesg? Ok, I ll do that. -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to

Re: The USB is not working with SM502 Graphics, but working with Intel Pc graphics

2012-09-26 Thread Greg KH
On Wed, Sep 26, 2012 at 03:09:03PM +0530, Thirumalesha N wrote: Dear Sir/Madam,                 I'm testing PMC type SM502 based Graphics card which has usb, audio and display interfaces.               I'm using kernel version linux-2.6.21 with redhat enterprise 5.5 OS. As you are testing

RE: [PATCH 1/1] usb: Include generic_interrupt for OMAP2_PLUS

2012-09-26 Thread Philippe De Swert
Hi, On Tue, Sep 25, 2012 at 2:39 PM, Philippe De Swert Then maybe it's best to just remove the ifdefs and always provide generic_interrupt() ? Anyone against it ? Providing generic_interrupt seems fine. Well it seems there are only two drivers that

Re: [usb-storage] Re: usb3 fails to write when using usb3 hub in usb3 port

2012-09-26 Thread Alan Stern
On Tue, 25 Sep 2012, Sarah Sharp wrote: Alan, I'm wondering if the xHCI ring expansion is causing issues with USB hard drives under xHCI. Testing with a Buffalo USB 3.0 hard drive with an NEC uPD720200 xHCI host, I see that the usb-storage and SCSI initialization produces I/O errors on

[PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread Kishon Vijay Abraham I
The PHY framework provides a set of API's for the PHY drivers to create/destroy a PHY and API's for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from board file)

Re: Remote wakeup vs. hub suspend

2012-09-26 Thread Alan Stern
On Wed, 26 Sep 2012, Peter Chen wrote: Currently, both ehci_hub_control and ehci_bus_suspend will go bus suspend routine when CONFIG_USB_SUSPEND is defined, and I am not sure if PSE and ASE is cleared before we let bus go to suspend (at ehci_hub_control). Where does ehci_hub_control

Re: [PATCH 02/12] usb: chipidea: udc: add pullup fuction, needed by the uvc gadget

2012-09-26 Thread Michael Grzeschik
Hi, On Thu, Sep 20, 2012 at 03:08:15PM +0800, Peter Chen wrote: On Wed, Sep 12, 2012 at 7:58 PM, Alexander Shishkin alexander.shish...@linux.intel.com wrote: From: Michael Grzeschik m.grzesc...@pengutronix.de Add function to physicaly enable or disable of pullup connection on the

proposal for switching off stuff for external ports

2012-09-26 Thread Oliver Neukum
Hi Sarah, watching your talk and drinking tea I had an idea. Switching off ports saves power in itself. It also allows switching off host controllers. The problem with switching off power on external ports is that they don't detect hotplug events anymore. So is there a way to switch off

Re: proposal for switching off stuff for external ports

2012-09-26 Thread Felipe Balbi
Hi, On Wed, Sep 26, 2012 at 05:31:43PM +0200, Oliver Neukum wrote: Hi Sarah, watching your talk and drinking tea I had an idea. Switching off ports saves power in itself. It also allows switching off host controllers. The problem with switching off power on external ports is that they

Re: [BUG] FTDI driver framing error with even parity (cont)

2012-09-26 Thread Andrew
Uwe Bonnes писал 26.09.2012 15:46: Andrew == Andrew and...@ncrmnt.org writes: Andrew Looks like it's a time for a break, I've been missing the trivia Andrew and searching for the bug in the wrong place. Terribly sorry Andrew for wasting your time, please close the bug report

Re: [PATCH] usb/core: Fix race condition when removing EHCI PCI devices

2012-09-26 Thread Don Zickus
On Wed, Sep 26, 2012 at 12:55:26PM -0400, Alan Stern wrote: On Wed, 26 Sep 2012, Don Zickus wrote: Hi Alan, This patch seemed to be successful. I copied and pasted the response from our customer (we backported the patch to RHEL-6/2.6.32): ... Is there anything else you need

Re: [PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread Joe Perches
On Wed, 2012-09-26 at 20:31 +0530, Kishon Vijay Abraham I wrote: The PHY framework provides a set of API's for the PHY drivers to create/destroy a PHY and API's Just some trivial notes. diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c [] @@ -0,0 +1,445 @@ [] +static void

Re: [PATCH 01/10] usb: otg: msm: Convert to clk_prepare/unprepare

2012-09-26 Thread Pankaj Jangra
Hi.. On Fri, Sep 21, 2012 at 7:56 AM, Stephen Boyd sb...@codeaurora.org wrote: Add calls to clk_prepare and unprepare so that MSM can migrate to the common clock framework. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/usb/otg/msm_otg.c | 38

Re: [usb-storage] Re: usb3 fails to write when using usb3 hub in usb3 port

2012-09-26 Thread Adrian Sandu
On Wed, Sep 26, 2012 at 5:50 PM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 25 Sep 2012, Sarah Sharp wrote: Alan, I'm wondering if the xHCI ring expansion is causing issues with USB hard drives under xHCI. Testing with a Buffalo USB 3.0 hard drive with an NEC uPD720200 xHCI host, I

Re: [PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread Greg KH
On Wed, Sep 26, 2012 at 08:31:15PM +0530, Kishon Vijay Abraham I wrote: The PHY framework provides a set of API's for the PHY drivers to create/destroy a PHY and API's for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without

Re: [PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread David Miller
All networking patches must be submitted to net...@vger.kernel.org Thank you. -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] USB: Fix race condition when removing host controllers

2012-09-26 Thread Alan Stern
This patch (as1607) fixes a race that can occur if a USB host controller is removed while a process is reading the /sys/kernel/debug/usb/devices file. The usb_device_read() routine uses the bus-root_hub pointer to determine whether or not the root hub is registered. The is not a valid test,

Re: [usb-storage] Re: usb3 fails to write when using usb3 hub in usb3 port

2012-09-26 Thread Adrian Sandu
2012-09-26T20:13:09.700606+03:00 d3xt3r01 kernel: [ 2466.455403] usb 3-1.1: reset SuperSpeed USB device number 14 using xhci_hcd 2012-09-26T20:13:09.713629+03:00 d3xt3r01 kernel: [ 2466.468373] xhci_hcd :04:00.0: xHCI xhci_drop_endpoint called with disabled ep 88011aea1300

Re: [PATCH 3/3] xhci: Intel Panther Point BEI quirk.

2012-09-26 Thread Sarah Sharp
On Wed, Sep 26, 2012 at 07:59:24AM +0200, Oliver Neukum wrote: On Tuesday 25 September 2012 15:29:29 Sarah Sharp wrote: This patch should be backported to kernels as old as 3.0, that contain the commit 69e848c2090aebba5698a1620604c7dccb448684 Intel xhci: Support EHCI/xHCI port switching.

Re: [PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread Dmitry Torokhov
On Wednesday, September 26, 2012 09:57:57 AM Joe Perches wrote: On Wed, 2012-09-26 at 20:31 +0530, Kishon Vijay Abraham I wrote: The PHY framework provides a set of API's for the PHY drivers to create/destroy a PHY and API's Just some trivial notes. diff --git a/drivers/phy/phy-core.c

Re: [PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread Marc Kleine-Budde
On 09/26/2012 07:41 PM, Dmitry Torokhov wrote: On Wednesday, September 26, 2012 09:57:57 AM Joe Perches wrote: On Wed, 2012-09-26 at 20:31 +0530, Kishon Vijay Abraham I wrote: The PHY framework provides a set of API's for the PHY drivers to create/destroy a PHY and API's Just some trivial

Re: proposal for switching off stuff for external ports

2012-09-26 Thread Sarah Sharp
On Wed, Sep 26, 2012 at 05:31:43PM +0200, Oliver Neukum wrote: Hi Sarah, watching your talk and drinking tea I had an idea. Switching off ports saves power in itself. It also allows switching off host controllers. The problem with switching off power on external ports is that they don't

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-26 Thread Felipe Balbi
Hi, On Wed, Sep 26, 2012 at 11:10:48AM +0530, ABRAHAM, KISHON VIJAY wrote: Hi, On Wed, Sep 19, 2012 at 5:26 PM, Felipe Balbi ba...@ti.com wrote: On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote: usb_otg_ss_refclk960m is needed by usb2 phy present in omap5. For

Re: [PATCH 01/10] usb: otg: msm: Convert to clk_prepare/unprepare

2012-09-26 Thread Stephen Boyd
On 09/26/12 09:58, Pankaj Jangra wrote: On Fri, Sep 21, 2012 at 7:56 AM, Stephen Boyd sb...@codeaurora.org wrote: diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg/msm_otg.c index 9f5fc90..2ae0639 100644 --- a/drivers/usb/otg/msm_otg.c +++ b/drivers/usb/otg/msm_otg.c @@ -514,13

Re: [PATCH 01/10] usb: otg: msm: Convert to clk_prepare/unprepare

2012-09-26 Thread Pankaj Jangra
On Thu, Sep 27, 2012 at 12:18 AM, Stephen Boyd sb...@codeaurora.org wrote: On 09/26/12 09:58, Pankaj Jangra wrote: On Fri, Sep 21, 2012 at 7:56 AM, Stephen Boyd sb...@codeaurora.org wrote: diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg/msm_otg.c index 9f5fc90..2ae0639 100644 ---

[PATCH 1/2] usb: dwc3: core: define more revisions

2012-09-26 Thread Felipe Balbi
Some new revisions of the DWC3 core have been released, let's add our defines to help implementing known erratas. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/usb/dwc3/core.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index

[PATCH 2/2] usb: dwc3: workaround: unexpected transtion U3 - RESUME

2012-09-26 Thread Felipe Balbi
In DWC3 versions 2.50a configured without Hibernation mode enabled, there will be an extra link status change interrupt if device detects host-initiated U3 exit. In that case, core will generate an unnecessary U3 - RESUME transition which should be ignored by the driver. Signed-off-by: Felipe

Re: proposal for switching off stuff for external ports

2012-09-26 Thread Alan Stern
On Wed, 26 Sep 2012, Sarah Sharp wrote: On Wed, Sep 26, 2012 at 05:31:43PM +0200, Oliver Neukum wrote: Hi Sarah, watching your talk and drinking tea I had an idea. Switching off ports saves power in itself. It also allows switching off host controllers. The problem with switching

Re: [PATCH] drivers: phy: add generic PHY framework

2012-09-26 Thread Marc Kleine-Budde
On 09/26/2012 05:01 PM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of API's for the PHY drivers to create/destroy a PHY and API's for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the

[Patch v5] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-26 Thread Rene Buergel
This patch - moves drivers/usb/serial/ezusb.c to drivers/usb/misc/ - renamed CONFIG_USB_EZUSB to CONFIG_USB_EZUSB_FX2 to avoid build errors - adapts Makefiles and Kconfigs switching from bool to tristate for CONFIG_USB_EZUSB_FX2 Signed-off-by: René Bürgel rene.buer...@sohard.de --- diff --git

Re: [Patch v5] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-26 Thread Greg KH
On Wed, Sep 26, 2012 at 10:20:19PM +0200, Rene Buergel wrote: This patch - moves drivers/usb/serial/ezusb.c to drivers/usb/misc/ - renamed CONFIG_USB_EZUSB to CONFIG_USB_EZUSB_FX2 to avoid build errors Ah, does this solve the error I was seeing? Nice job figuring that one out. greg k-h --

Re: [PATCH 1/2] USB: uas: fix locking

2012-09-26 Thread Greg KH
On Wed, Sep 26, 2012 at 10:28:58AM +0200, Gerd Hoffmann wrote: Forgot to unlock in the uas_eh_task_mgmt error paths. Signed-off-by: Gerd Hoffmann kra...@redhat.com You forgot to add a Reported-by: line for this patch, please be more careful in the future. greg k-h -- To unsubscribe from this

Re: [Patch v5] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-26 Thread Peter Stuge
Rene Buergel wrote: - renamed CONFIG_USB_EZUSB to CONFIG_USB_EZUSB_FX2 to avoid build errors Is this really the reason for the build error? I doubt it. Also, does the code in fact support only FX2, neither older chips nor newer FX3? diff --git a/drivers/usb/misc/Kconfig

Re: proposal for switching off stuff for external ports

2012-09-26 Thread Sarah Sharp
On Wed, Sep 26, 2012 at 03:14:59PM -0400, Alan Stern wrote: On Wed, 26 Sep 2012, Sarah Sharp wrote: On Wed, Sep 26, 2012 at 05:31:43PM +0200, Oliver Neukum wrote: And it seems to me that in many cases, namely EHCI with companion controllers and XHCI controllers that implement a vendor

Re: [Patch v5] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-26 Thread Greg KH
On Wed, Sep 26, 2012 at 11:27:10PM +0200, Peter Stuge wrote: Rene Buergel wrote: - renamed CONFIG_USB_EZUSB to CONFIG_USB_EZUSB_FX2 to avoid build errors Is this really the reason for the build error? I doubt it. It is, try it without it, the Makefiles get confused :( thanks, greg k-h --

Re: [Patch v5] ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-26 Thread Rene Buergel
Also, does the code in fact support only FX2, neither older chips nor newer FX3? It also does support the FX(1), but not FX3. At first sight, it looks like FX3 got another register interface. If FX is also supported then perhaps still rename the option, although I think renaming is

Re: [PATCH 1/2] ARM: Kirkwood: ehci-orion: Add device tree binding

2012-09-26 Thread Olof Johansson
On Mon, Sep 24, 2012 at 09:13:53AM +0200, Andrew Lunn wrote: +Required properties: +- compatible: must be marvell,orion-ehci +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: The EHCI interrupt +- phy-version: Can be one of:

[PATCH v2 0/2] USB: USB: two changes on hub autosuspend

2012-09-26 Thread Ming Lei
There are two patches on usb hub autosuspend. Change log: V2: - check on udev-do_remote_wakeup(1/2) - handle wakeup source for system sleep(1/2) - remove unnecessary comments(2/2) - fix comments(2/2) V1: - only check ports change on bug devices(1/2)

[PATCH v2 1/2] USB: check port changes before hub runtime suspend for some bug device

2012-09-26 Thread Ming Lei
From: Ming Lei tom.leim...@gmail.com The hub status endpoint has a long 'bInterval', which is 255ms for FS/LS device and 256ms for HS device according to USB 2.0 spec, so the device connection change may be reported later more than 255ms via status pipe. The connection change in hub may have

[PATCH v2 2/2] USB: set hub's default autosuspend delay as 0

2012-09-26 Thread Ming Lei
This patch sets hub device's default autosuspend delay as 0 to speedup bus suspend, see comments in code for details. Cc: Alan Stern st...@rowland.harvard.edu Signed-off-by: Ming Lei ming@canonical.com --- drivers/usb/core/hub.c | 34 ++ 1 file changed, 34

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-26 Thread ABRAHAM, KISHON VIJAY
Hi, On Wed, Sep 26, 2012 at 11:57 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Sep 26, 2012 at 11:10:48AM +0530, ABRAHAM, KISHON VIJAY wrote: Hi, On Wed, Sep 19, 2012 at 5:26 PM, Felipe Balbi ba...@ti.com wrote: On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote:

[PATCH 3/3] usb: musb: dsps: document dt bindings properly

2012-09-26 Thread Afzal Mohammed
DT bindings have '-' (hyphens) instead of '_' (underscore), update the documentation to reflect it. Signed-off-by: Afzal Mohammed af...@ti.com --- Documentation/devicetree/bindings/usb/am33xx-usb.txt | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 1/3] usb: otg: nop: add dt support

2012-09-26 Thread Afzal Mohammed
From: B, Ravi ravib...@ti.com Added device tree support for nop transceiver driver and updated the Documentation with device tree binding information for am33xx platform. Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Afzal Mohammed