Re: Not enough resource for old configuration after USB bus reset

2013-02-07 Thread Lan Tianyu
2013/2/4 Soar Hung soarh...@realtek.com: Hi Alan, Sarah, Thank you for your kindly help. Can I do something to provide some help? You found the issue on the 3.0.30+ kernel. Can you test it on the usb-next branch of usb tree? Sarah has fixed a lot of bugs since v3.0. Best regards, Soar

RE: Not enough resource for old configuration after USB bus reset

2013-02-07 Thread Soar Hung
Hi Tianyu, I can produce the issue on the Ubuntu 12.10 (linux 3.5), too. However, could you tell me more detail about what to do or give me some hint for google? Do you mean replacing the usb related source with source from 'usb next', rebuild the kernel, and test again? Best regards, Soar

Re: MUSB regression in linux next at least for pandboard

2013-02-07 Thread Roger Quadros
On 02/06/2013 05:43 PM, Alan Stern wrote: On Wed, 6 Feb 2013, Felipe Balbi wrote: I can't reproduce the problem on Panda, but I can on Beagle with a slightly different behaviour. 1) connecting/disconnecting device directly to the beagleboard's USB port works fine. 2) If I connect a USB

Re: [PATCH v4] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-07 Thread Sascha Hauer
Alexander, Did you have a chance to look at this series? Development of this driver has stalled for too long now, I don't want to miss the next merge window. Thanks Sascha On Mon, Feb 04, 2013 at 02:24:26PM +0100, Sascha Hauer wrote: 4th round of patches. Peter, I would be glad if you

[PATCH v3] usb: phy: moving all PHY API definitions to usb/phy directory

2013-02-07 Thread Venu Byravarasu
As drivers/usb/otg/otg.c contains most of the PHY related APIs which are not OTG specific, moving them to more logical place under drivers/usb/phy. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v2: renamed usb_phy.c to phy.c. delta from v1: Missed adding newly created file

Re: [PATCH 1/1]linux-usb: fix the idProduct value to be compatible with current CPU in initializers.c

2013-02-07 Thread Sergei Shtylyov
Hello. On 07-02-2013 11:32, fangxiaozhi 00110321 wrote: From: fangxiaozhi huana...@huawei.com 1. The idProduct is little endian, so make sure its value to be compatible with the current CPU. Make no break on big endian processors. Wrap your lines reasonable at 80 columns at last

Re: [PATCH v3] usb: phy: moving all PHY API definitions to usb/phy directory

2013-02-07 Thread kishon
Hi, On Thursday 07 February 2013 05:02 PM, Venu Byravarasu wrote: As drivers/usb/otg/otg.c contains most of the PHY related APIs which are not OTG specific, moving them to more logical place under drivers/usb/phy. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v2: renamed

[PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-02-07 Thread Freddy Xin
From: Freddy Xin fre...@asix.com.tw This is a resubmission. Added const to ethtool_ops structure and fixed the coding style of AX88179_BULKIN_SIZE array. Fixed the issue that the default MTU is not 1500. Added ax88179_change_mtu function and enabled the hardware jumbo frame function to support

Disconnecting an USB3 device from xhci-port isn't detected properly

2013-02-07 Thread Matthias Schniedermeyer
Hi After updating from 3.7.2 to 3.7.6 disconnecting a USB3 device from a xhci-port isn't detected properly anymore. After removing a 32GB stick the only line in syslog i can see is: sdc: detected capacity change from 31625052160 to 0 /dev/sdc is still there. Reconnecting the device results in

question on valid characters for serial numbers

2013-02-07 Thread Oliver Neukum
Hi, I have a question interpreting the specs.The bulk only storage spec clearly states that serial numbers shall contain only 0-9 and A-F. The USB spec says that serial numbers shall be Unicode strings. Is that to be read so that for storage devices requirements are stricter or is that just an

Re: MUSB regression in linux next at least for pandboard

2013-02-07 Thread Grazvydas Ignotas
On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros rog...@ti.com wrote: snip It seems the beagleboard problem is related to OMAP silicon errata [1]. Apparently, remote wakeup as well as host issued wakeup break omap-ehci and have nothing to do with the hub or it's driver. I'll work on this

Re: question on valid characters for serial numbers

2013-02-07 Thread Alan Stern
On Thu, 7 Feb 2013, Oliver Neukum wrote: Hi, I have a question interpreting the specs.The bulk only storage spec clearly states that serial numbers shall contain only 0-9 and A-F. The USB spec says that serial numbers shall be Unicode strings. Is that to be read so that for storage

Re: MUSB regression in linux next at least for pandboard

2013-02-07 Thread Alan Stern
On Wed, 6 Feb 2013, Alan Stern wrote: Is this issue fixed ? Actually we too are getting very similar issue with samsung exynos5250 hardware. With latest 'usb-next' kernel and supporting arch patches, when i use following test scenerio: Connect a USB 2.0 external hub to USB 2.0

Re: question on valid characters for serial numbers

2013-02-07 Thread Oliver Neukum
On Thursday 07 February 2013 09:54:05 Alan Stern wrote: On Thu, 7 Feb 2013, Oliver Neukum wrote: Hi, I have a question interpreting the specs.The bulk only storage spec clearly states that serial numbers shall contain only 0-9 and A-F. The USB spec says that serial numbers shall be

Re: Disconnecting an USB3 device from xhci-port isn't detected properly

2013-02-07 Thread Greg KH
On Thu, Feb 07, 2013 at 02:42:05PM +0100, Matthias Schniedermeyer wrote: Hi After updating from 3.7.2 to 3.7.6 disconnecting a USB3 device from a xhci-port isn't detected properly anymore. After removing a 32GB stick the only line in syslog i can see is: sdc: detected capacity change

Re: [PATCH v2 00/30] USB: omap-ehci: Move PHY management to PHY driver

2013-02-07 Thread Roger Quadros
On 02/06/2013 07:11 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130206 01:53]: On 02/05/2013 07:17 PM, Tony Lindgren wrote: * Greg KH gre...@linuxfoundation.org [130205 09:00]: On Tue, Feb 05, 2013 at 01:28:51PM +0200, Roger Quadros wrote: Hi Tony Greg, What's the best way to

Re: [PATCH] qmi_wwan, cdc-ether: add ADU960S

2013-02-07 Thread Dan Williams
On Wed, 2013-02-06 at 20:51 +0100, Bjørn Mork wrote: Dan Williams d...@redhat.com writes: It advertises a standard CDC-ETHER interface, which actually should be driven by qmi_wwan. Signed-off-by: Dan Williams d...@redhat.com --- diff --git a/drivers/net/usb/cdc_ether.c

Re: [PATCH v3] usb: phy: moving all PHY API definitions to usb/phy directory

2013-02-07 Thread Stephen Warren
On 02/07/2013 06:38 AM, kishon wrote: On Thursday 07 February 2013 05:02 PM, Venu Byravarasu wrote: As drivers/usb/otg/otg.c contains most of the PHY related APIs which are not OTG specific, moving them to more logical place under drivers/usb/phy. diff --git a/drivers/usb/phy/Makefile

Re: Not enough resource for old configuration after USB bus reset

2013-02-07 Thread Lan Tianyu
于 2013/2/7 16:59, Soar Hung 写道: Hi Tianyu, I can produce the issue on the Ubuntu 12.10 (linux 3.5), too. However, could you tell me more detail about what to do or give me some hint for google? Do you mean replacing the usb related source with source from 'usb next', rebuild the kernel, and

Re: [PATCH 2/2 v2] sierra_net: fix issues with SYNC/RESTART messages and interrupt pipe setup

2013-02-07 Thread Dan Williams
On Wed, 2013-02-06 at 22:11 +0100, Bjørn Mork wrote: Dan Williams d...@redhat.com writes: As part of the initialization sequence, the driver sends a SYNC message via the control pipe to the firmware, which appears to request a firmware restart. The firmware responds with an indication

[PATCH 00/10] usb: ehci: more bus glues as separate modules

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the SOC On-Chip host controller driver from ehci-hcd host code into its own driver module. Manjunath Goudar (10): USB:Changed omap2plus_defconfig to support OMAP USB static driver USB: EHCI: make ehci-omap a separate driver USB:

[PATCH 01/10] USB:Changed omap2plus_defconfig to support OMAP USB static driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Selected EHCI and OMAP driver as static drivers using omap2plus_defconfig configuration Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@linaro.org Cc: Felipe Balbi ba...@ti.com Cc: Greg KH

[PATCH 02/10] USB: EHCI: make ehci-omap a separate driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the OMAP host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@linaro.org Cc: Felipe Balbi ba...@ti.com Cc: Greg KH

[PATCH 03/10] USB: EHCI: make ehci-spear a separate driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the Spear host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Deepak Saxena dsax...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern

[PATCH 04/10] USB: EHCI: make ehci-orion a separate driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the Marvell Orion host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Jason

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

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the s5p host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Kukjin Kim

[PATCH 09/10] USB: EHCI: make ehci-msm a separate driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the Qualcomm On-Chip host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: David

[PATCH 10/10] USB: EHCI: make ehci-w90X900 a separate driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the Nuvoton On-Chip host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Wan

[PATCH 08/10] USB: EHCI: make ehci-vt8500 a separate driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the vt8500 host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Tony Prisk

[PATCH 05/10] USB: EHCI: make ehci-atmel a separate driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the Atmel host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Alan Stern st...@rowland.harvard.edu Cc: Greg KH g...@kroah.com Cc: Grant Likely

[PATCH 07/10] USB: EHCI: make ehci-mv a separate driver

2013-02-07 Thread manjunath . goudar
From: Manjunath Goudar manjunath.gou...@linaro.org Separate the mv(marvell) host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Jason Cooper

Re: [PATCH 09/10] USB: EHCI: make ehci-msm a separate driver

2013-02-07 Thread Stephen Warren
On 02/07/2013 10:34 AM, manjunath.gou...@linaro.org wrote: Separate the Qualcomm On-Chip host controller driver from ehci-hcd host code into its own driver module. diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig @@ -209,7 +210,7 @@ config USB_EHCI_TEGRA boolean

Re: [PATCH 06/10] USB: EHCI: make ehci-s5p a separate driver

2013-02-07 Thread Stephen Warren
On 02/07/2013 10:34 AM, manjunath.gou...@linaro.org wrote: 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 @@ -1297,11 +1297,6 @@ MODULE_LICENSE (GPL); #define

Re: [PATCH 08/10] USB: EHCI: make ehci-vt8500 a separate driver

2013-02-07 Thread Tony Prisk
On Thu, 2013-02-07 at 23:04 +0530, manjunath.gou...@linaro.org wrote: From: Manjunath Goudar manjunath.gou...@linaro.org Separate the vt8500 host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH

Re: [PATCH 09/10] USB: EHCI: make ehci-msm a separate driver

2013-02-07 Thread David Brown
manjunath.gou...@linaro.org writes: +MODULE_DESCRIPTION(DRIVER_DESC); +MODULE_ALIAS(platform:omap-msm); +MODULE_LICENSE(GPL); omap-msm? I think you mean msm-ehci. I don't have any hardware to test this on, so hopefully someone can chime in after testing it. David -- sent by an employee

Re: [PATCH 04/10] USB: EHCI: make ehci-orion a separate driver

2013-02-07 Thread Arnd Bergmann
On Thursday 07 February 2013, manjunath.gou...@linaro.org wrote: @@ -155,7 +155,7 @@ static inline unsigned ehci_read_frame_index(struct ehci_hcd *ehci) * before driver shutdown. But it also seems to be caused by bugs in cardbus * bridge shutdown: shutting down the bridge before the

Re: [PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-02-07 Thread Ben Hutchings
On Thu, 2013-02-07 at 21:39 +0800, Freddy Xin wrote: From: Freddy Xin fre...@asix.com.tw This is a resubmission. Added const to ethtool_ops structure and fixed the coding style of AX88179_BULKIN_SIZE array. Fixed the issue that the default MTU is not 1500. Added ax88179_change_mtu

Re: [PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-02-07 Thread David Miller
From: Ben Hutchings bhutchi...@solarflare.com Date: Thu, 7 Feb 2013 20:02:55 + On Thu, 2013-02-07 at 21:39 +0800, Freddy Xin wrote: From: Freddy Xin fre...@asix.com.tw This is a resubmission. Added const to ethtool_ops structure and fixed the coding style of AX88179_BULKIN_SIZE array.

Re: [PATCH 00/10] usb: ehci: more bus glues as separate modules

2013-02-07 Thread Ezequiel Garcia
Hi Manjunath, Nice work. On Thu, Feb 07, 2013 at 11:03:57PM +0530, manjunath.gou...@linaro.org wrote: From: Manjunath Goudar manjunath.gou...@linaro.org Separate the SOC On-Chip host controller driver from ehci-hcd host code into its own driver module. Perhaps you could add a few lines

Re: [PATCH 2/2 v2] sierra_net: fix issues with SYNC/RESTART messages and interrupt pipe setup

2013-02-07 Thread Dan Williams
On Wed, 2013-02-06 at 21:17 +0100, Oliver Neukum wrote: On Wednesday 06 February 2013 12:42:56 Dan Williams wrote: As part of the initialization sequence, the driver sends a SYNC message via the control pipe to the firmware, which appears to request a firmware restart. The firmware

[PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-07 Thread Joe Perches
alloc failures already get standardized OOM messages and a dump_stack. For the affected mallocs around these OOM messages: Converted kmallocs with multiplies to kmalloc_array. Converted a kmalloc/memcpy to kmemdup. Removed now unused stack variables. Removed unnecessary parentheses. Neatened

Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-07 Thread Arend van Spriel
On 02/07/2013 10:46 PM, Joe Perches wrote: alloc failures already get standardized OOM messages and a dump_stack. For the affected mallocs around these OOM messages: Converted kmallocs with multiplies to kmalloc_array. Converted a kmalloc/memcpy to kmemdup. Removed now unused stack

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

2013-02-07 Thread Laurent Pinchart
Hi Bhupesh, On Wednesday 30 January 2013 15:56:52 Bhupesh SHARMA wrote: On Monday, January 21, 2013 6:16 PM Laurent Pinchart wrote: On Friday 18 January 2013 20:46:59 Felipe Balbi wrote: On Thu, Jan 17, 2013 at 04:23:48PM +0530, Bhupesh Sharma wrote: This patchset tries to enhance the

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

2013-02-07 Thread Laurent Pinchart
Hi Bhupesh, Thank you for the patch. 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 will change to support super-speed. These changes will be dependent on whether the UVC video streaming

Re: [PATCH V3 4/5] usb: gadget/uvc: Add support for 'USB_GADGET_DELAYED_STATUS' response for a set_intf(alt-set 1) command

2013-02-07 Thread Laurent Pinchart
Hi Bhupesh, Thank you for the patch. On Thursday 17 January 2013 16:23:52 Bhupesh Sharma wrote: This patch adds the support in UVC webcam gadget design for providing USB_GADGET_DELAYED_STATUS in response to a set_interface(alt setting 1) command issue by the Host. The current UVC webcam

Re: [PATCH V3 5/5] usb: gadget/uvc: Add support for 'get_unmapped_area' for MMUless architectures

2013-02-07 Thread Laurent Pinchart
Hi Bhupesh, Thank you for the patch. On Thursday 17 January 2013 16:23:53 Bhupesh Sharma wrote: This patch adds the support for 'get_unmapped_area' in UVC gadget which is called when the 'mmap' system call is executed on MMUless architectures. Signed-off-by: Bhupesh Sharma

Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-07 Thread Marc Kleine-Budde
On 02/07/2013 10:46 PM, Joe Perches wrote: alloc failures already get standardized OOM messages and a dump_stack. For the affected mallocs around these OOM messages: Converted kmallocs with multiplies to kmalloc_array. Converted a kmalloc/memcpy to kmemdup. Removed now unused stack

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

2013-02-07 Thread Laurent Pinchart
Hi Bhupesh, On Thursday 07 February 2013 23:39:07 Laurent Pinchart wrote: On Wednesday 30 January 2013 15:56:52 Bhupesh SHARMA wrote: On Monday, January 21, 2013 6:16 PM Laurent Pinchart wrote: On Friday 18 January 2013 20:46:59 Felipe Balbi wrote: On Thu, Jan 17, 2013 at 04:23:48PM

Re: [PATCH 05/10] USB: EHCI: make ehci-atmel a separate driver

2013-02-07 Thread Bo Shen
Hi Manjunath Goudar, I test this patch based on linux master branch, the commit id is: 6bacaa9ddacb71c691d32c678d37bc59ffc71fac. (I am not sure this is the right place for testing). First, it has an compile error as following. After fix it, and tested, the EHCI doesn't work. ---8---

Re: [PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-02-07 Thread Freddy
On 02/08/2013 04:02 AM, Ben Hutchings wrote: On Thu, 2013-02-07 at 21:39 +0800, Freddy Xin wrote: From: Freddy Xin fre...@asix.com.tw This is a resubmission. Added const to ethtool_ops structure and fixed the coding style of AX88179_BULKIN_SIZE array. Fixed the issue that the default MTU is

Re: [PATCH 03/10] USB: EHCI: make ehci-spear a separate driver

2013-02-07 Thread Viresh Kumar
On Thu, Feb 7, 2013 at 11:04 PM, manjunath.gou...@linaro.org wrote: From: Manjunath Goudar manjunath.gou...@linaro.org Separate the Spear host controller driver from ehci-hcd host code into its own driver module. Please write spear as SPEAr everywhere, leaving functions/variables/config

RE: [PATCH v3] usb: phy: moving all PHY API definitions to usb/phy directory

2013-02-07 Thread Venu Byravarasu
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Stephen Warren Sent: Thursday, February 07, 2013 10:26 PM To: kishon Cc: Venu Byravarasu; ba...@ti.com; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org;

Re: [PATCH 02/10] USB: EHCI: make ehci-omap a separate driver

2013-02-07 Thread Felipe Balbi
HI, On Thu, Feb 07, 2013 at 11:03:59PM +0530, manjunath.gou...@linaro.org wrote: From: Manjunath Goudar manjunath.gou...@linaro.org Separate the OMAP host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org