Re: [RFC] usb: remove clear_halt for a busy endpoint warning

2014-02-14 Thread Bjørn Mork
Alan Stern st...@rowland.harvard.edu writes: On Thu, 13 Feb 2014, Bjørn Mork wrote: Alan Stern st...@rowland.harvard.edu writes: Schould we request to fix that in user space, or can we remove this warning like on below patch (call CLEAR_HALT ioctl, does not seems to do any harm except

Re: [BUG] FL1009: xHCI host not responding to stop endpoint command.

2014-02-14 Thread Thomas Petazzoni
Sarah, Arnaud, On Thu, 13 Feb 2014 16:09:10 -0800, Sarah Sharp wrote: Unless you have some objections or some positive feedback from Fresco Logic people, can you queue your quirks for FL1009 for 3.14-rc* and -stable? Note that I am just asking, i.e. if you want to wait a bit more, I am

Re: [RFC] usb: remove clear_halt for a busy endpoint warning

2014-02-14 Thread Stanislaw Gruszka
On Thu, Feb 13, 2014 at 11:45:16AM -0500, Alan Stern wrote: @@ -1074,6 +1089,7 @@ static int proc_clearhalt(struct dev_sta ret = checkintf(ps, ret); if (ret) return ret; + check_reset_of_active_ep(ps-dev, ep, CLEAR_HALT); if (ep USB_DIR_IN)

Re: rpi/dwc2 kernel panics

2014-02-14 Thread Andre Heider
On Thu, Feb 13, 2014 at 10:08:21PM -0700, Stephen Warren wrote: On 02/13/2014 11:47 AM, Andre Heider wrote: On Wed, Feb 12, 2014 at 08:00:18PM -0700, Stephen Warren wrote: On 02/12/2014 11:52 AM, Andre Heider wrote: Hi guys, I just tried today's Linus' master (45f7fdc2ff) with usb-linus

Re: rpi/dwc2 kernel panics

2014-02-14 Thread Nick Hudson
On 02/13/14 18:47, Andre Heider wrote: On Wed, Feb 12, 2014 at 08:00:18PM -0700, Stephen Warren wrote: On 02/12/2014 11:52 AM, Andre Heider wrote: Hi guys, I just tried today's Linus' master (45f7fdc2ff) with usb-linus (3635c7e2d5) merged on top to give the latest dwc2 fixes another try.

Re: [PATCH 0/7] usb: dwc2/s3c-hsotg: Combine drivers into a single DRD

2014-02-14 Thread Robert Baldyga
On 02/13/2014 10:10 PM, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com Hello, This patch series combines the dwc2 host driver and the s3c-hsotg peripheral driver into a single dual-roler driver similar to the dwc3. Hi. It looks like it doesn't work on Samsung platforms

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-14 Thread Stefani Seibold
Hi Alan; Am Donnerstag, den 13.02.2014, 15:55 -0500 schrieb Alan Stern: Stefani, please try the patch below, with threadirq and the plain vanilla kernel. It ought to fix your problem, but let's make certain. I tried the patch on 3.13.2 together with the commit 88ed9fd50e57 and it seems that

Re: [PATCH v7 01/12] mfd: omap-usb-host: Use resource managed clk_get()

2014-02-14 Thread Lee Jones
Use devm_clk_get() instead of clk_get(). CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/omap-usb-host.c | 81 + 1

Re: [PATCH v7 02/12] mfd: omap-usb-host: Get clocks based on hardware revision

2014-02-14 Thread Lee Jones
Not all revisions have all the clocks so get the necessary clocks based on hardware revision. This should avoid un-necessary clk_get failure messages that were observed earlier. Be more strict and always fail on clk_get() error. It might have been clearer if you'd broken these two pieces

Re: [PATCH v7 03/12] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-02-14 Thread Lee Jones
Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [PATCH v2] usbnet: remove generic hard_header_len check

2014-02-14 Thread Oliver Neukum
On Fri, 2014-02-14 at 15:26 +1100, renev...@internode.on.net wrote: wrong again, nic locked up with sg enabled, took a long time though. The patch with the check removed doesn't appear to break anything that wasn't already broken though. So you think it should be taken and we suffer from

Re: [PATCH v7 02/12] mfd: omap-usb-host: Get clocks based on hardware revision

2014-02-14 Thread Roger Quadros
On 02/14/2014 12:07 PM, Lee Jones wrote: Not all revisions have all the clocks so get the necessary clocks based on hardware revision. This should avoid un-necessary clk_get failure messages that were observed earlier. Be more strict and always fail on clk_get() error. It might have been

[no subject]

2014-02-14 Thread Kasberger Andreas
unsubscribe linux-usb -- 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

Re: [PATCH v7 03/12] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-02-14 Thread Roger Quadros
On 02/14/2014 12:09 PM, Lee Jones wrote: Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 6 +++--- 1

Re: [PATCH v7 03/12] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-02-14 Thread Lee Jones
Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [PATCH v3] phy: Add new Exynos5 USB 3.0 PHY driver

2014-02-14 Thread Vivek Gautam
Hi Tomasz, On Thu, Feb 6, 2014 at 7:37 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Vivek, This patch is just adding the PHY driver. I would also like to look at some users of it, to see how this works when put together. The DWC3's changes had been posted by Kishon sometime back, which will

Re: Instructions to release your payment.

2014-02-14 Thread Dr.William Davies
Attention Sir, Following an application brought, seeking the release of your due payment through British bank, I am directed to inform you that the application has been approved and Natwest bank of London has been mandated to make transfer of your payment to the bank account you will nominate.

Re: some questions about bandwidth calculation

2014-02-14 Thread vichy
hi Alan: I don't understand your question. At full speed (12 Mb/s), the time required to transfer 188 bytes is (188 bytes) * (8 bits/byte) / (12 b/us) = 125.33 us, which is greater than 125 us. @@ -1412,7 +1412,7 @@ sitd_slot_ok ( */ uf = uframe 7; if

3x check of Caching mode page

2014-02-14 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I'm just wondering why it happens 3 times in a row : Feb 14 16:12:53 n22 kernel: usb 1-1.2: new high-speed USB device number 7 using ehci-pci Feb 14 16:12:53 n22 kernel: usb 1-1.2: New USB device found, idVendor=04b4, idProduct=6830 Feb 14

Re: [RFC] usb: remove clear_halt for a busy endpoint warning

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Bjørn Mork wrote: Alan Stern st...@rowland.harvard.edu writes: On Thu, 13 Feb 2014, Bjørn Mork wrote: Alan Stern st...@rowland.harvard.edu writes: Schould we request to fix that in user space, or can we remove this warning like on below patch (call

Re: [RFC] usb: remove clear_halt for a busy endpoint warning

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Stanislaw Gruszka wrote: On Thu, Feb 13, 2014 at 11:45:16AM -0500, Alan Stern wrote: @@ -1074,6 +1089,7 @@ static int proc_clearhalt(struct dev_sta ret = checkintf(ps, ret); if (ret) return ret; + check_reset_of_active_ep(ps-dev, ep,

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Stefani Seibold wrote: Hi Alan; Am Donnerstag, den 13.02.2014, 15:55 -0500 schrieb Alan Stern: Stefani, please try the patch below, with threadirq and the plain vanilla kernel. It ought to fix your problem, but let's make certain. I tried the patch on 3.13.2

Re: some questions about bandwidth calculation

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, vichy wrote: hi Alan: I don't understand your question. At full speed (12 Mb/s), the time required to transfer 188 bytes is (188 bytes) * (8 bits/byte) / (12 b/us) = 125.33 us, which is greater than 125 us. @@ -1412,7 +1412,7 @@ sitd_slot_ok (

Re: 3x check of Caching mode page

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Toralf Förster wrote: I'm just wondering why it happens 3 times in a row : Feb 14 16:12:53 n22 kernel: usb 1-1.2: new high-speed USB device number 7 using ehci-pci Feb 14 16:12:53 n22 kernel: usb 1-1.2: New USB device found, idVendor=04b4, idProduct=6830 Feb 14

Re: Any change on REAPURB ioctl since 3.11.0?

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Steven Xiao wrote: Hello, I find REAPURB ioctl handles NRDY packets in different ways between Linux kernel 3.10.25 and 3.11.12. We connect a USB device(Cypress FX3 Dev kit) to the USB 3.0 port of the host and trigger an NRDY during the Bulk transfer between the host and

Re: [PATCH v3] phy: Add new Exynos5 USB 3.0 PHY driver

2014-02-14 Thread Tomasz Figa
Hi Vivek, On 14.02.2014 14:53, Vivek Gautam wrote: Changes from v2: 1) Added support for multiple PHYs (UTMI+ and PIPE3) and related changes in the driver structuring. I'm a bit skeptical about this separation. Can the PHY operate with just the UTMI+ or PIPE3 part enabled alone without

Re: [RFC] usb: remove clear_halt for a busy endpoint warning

2014-02-14 Thread Stanislaw Gruszka
On Fri, Feb 14, 2014 at 10:31:20AM -0500, Alan Stern wrote: On Fri, 14 Feb 2014, Stanislaw Gruszka wrote: On Thu, Feb 13, 2014 at 11:45:16AM -0500, Alan Stern wrote: @@ -1074,6 +1089,7 @@ static int proc_clearhalt(struct dev_sta ret = checkintf(ps, ret); if (ret)

Re: [RFC] usb: remove clear_halt for a busy endpoint warning

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Stanislaw Gruszka wrote: On Fri, Feb 14, 2014 at 10:31:20AM -0500, Alan Stern wrote: On Fri, 14 Feb 2014, Stanislaw Gruszka wrote: On Thu, Feb 13, 2014 at 11:45:16AM -0500, Alan Stern wrote: @@ -1074,6 +1089,7 @@ static int proc_clearhalt(struct dev_sta

Re: rpi/dwc2 kernel panics

2014-02-14 Thread Andre Heider
On Fri, Feb 14, 2014 at 09:33:54AM +, Nick Hudson wrote: On 02/13/14 18:47, Andre Heider wrote: On Wed, Feb 12, 2014 at 08:00:18PM -0700, Stephen Warren wrote: On 02/12/2014 11:52 AM, Andre Heider wrote: Hi guys, I just tried today's Linus' master (45f7fdc2ff) with usb-linus

Re: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-14 Thread Alan Stern
On Thu, 13 Feb 2014, Ben Collins wrote: On Feb 13, 2014, at 10:19 AM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 13 Feb 2014, Peter Chen wrote: - If you have a usb bus analyzer, please check if the GET_DESCRPTOR sends out successfully. (Most probably, I don't think it sends

Re: rpi/dwc2 kernel panics

2014-02-14 Thread Andre Heider
On Fri, Feb 14, 2014 at 09:33:54AM +, Nick Hudson wrote: On 02/13/14 18:47, Andre Heider wrote: On Wed, Feb 12, 2014 at 08:00:18PM -0700, Stephen Warren wrote: On 02/12/2014 11:52 AM, Andre Heider wrote: Hi guys, I just tried today's Linus' master (45f7fdc2ff) with usb-linus

Re: /dev entry of USB device not disappearing after detach

2014-02-14 Thread Greg KH
Adding linux-usb@vger... On Fri, Feb 14, 2014 at 10:20:11AM -0800, Greg KH wrote: On Fri, Feb 14, 2014 at 07:35:31PM +0200, Valentina Manea wrote: Hello, I am working on a driver for a virtual USB host controller. When I attach a USB device, everything is fine - sysfs files are

[PATCH RESEND 0/2] Two trivial fixes for MUSB

2014-02-14 Thread Daniel Mack
Hi Felipe, I'm resending these two small patches for musb that missed the 3.14 merge window. 1. A long-standing bug fixed which causes 'sleeping while atomic' warnings. 2. A trivial fix for an unfortunate regression I caused with 8ed1fb790ea (upstream). Could you queue this one up so it'll

[PATCH RESEND 2/2] usb: musb: correct use of schedule_delayed_work()

2014-02-14 Thread Daniel Mack
schedule_delayed_work() takes the delay in jiffies, not msecs. Fix the caller sites in musb. This bug caused regressions with the cleanups that went in for 3.14 (8ed1fb790ea: usb: musb: finish suspend/reset work independently from musb_hub_control()). Signed-off-by: Daniel Mack dan...@zonque.org

[PATCH RESEND 1/2] usb: musb: do not sleep in atomic context

2014-02-14 Thread Daniel Mack
musb_port_reset() is called from musb_hub_control() which in turn holds a spinlock, so musb_port_reset() is not allowed to call msleep(). With the asynchronous work helpers in place, this is fortunately easy to fix by rescheduling the reset deassertion function to after the time when the wait

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-14 Thread Stefani Seibold
Am Freitag, den 14.02.2014, 10:32 -0500 schrieb Alan Stern: On Fri, 14 Feb 2014, Stefani Seibold wrote: Hi Alan; Am Donnerstag, den 13.02.2014, 15:55 -0500 schrieb Alan Stern: Stefani, please try the patch below, with threadirq and the plain vanilla kernel. It ought to fix your

Re: [PATCH v2] usbnet: remove generic hard_header_len check

2014-02-14 Thread Emil Goode
On Fri, Feb 14, 2014 at 03:26:32PM +1100, renev...@internode.on.net wrote: wrong again, nic locked up with sg enabled, took a long time though. The patch with the check removed doesn't appear to break anything that wasn't already broken though. How about with scatter gather disabled? If

Re: EHCI host broken -- interrupts disabled

2014-02-14 Thread Bjorn Helgaas
On Fri, Feb 14, 2014 at 9:36 AM, Chen, Jamie jamie.c...@intel.com wrote: Sorry for late response. The dmesg attach in the mail. Thanks, I put this info in https://bugzilla.kernel.org/show_bug.cgi?id=70601 and applied the patch to pci/misc. This seems like a potentially important fix, so I

Re: [PATCH Resend] net: asix: add missing flag to struct driver_info

2014-02-14 Thread David Miller
From: Emil Goode emilgo...@gmail.com Date: Thu, 13 Feb 2014 19:30:39 +0100 The struct driver_info ax88178_info is assigned the function asix_rx_fixup_common as it's rx_fixup callback. This means that FLAG_MULTI_PACKET must be set as this function is cloning the data and calling

[GIT PULL] USB fixes for 3.14-rc3

2014-02-14 Thread Greg KH
The following changes since commit 38dbfb59d1175ef458d006556061adeaa8751b72: Linus 3.14-rc1 (2014-02-02 16:42:13 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.14-rc3 for you to fetch changes up to

RE: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-14 Thread Paul Zimmerman
From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Alan Stern Sent: Friday, February 14, 2014 9:09 AM On Thu, 13 Feb 2014, Ben Collins wrote: On Feb 13, 2014, at 10:19 AM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 13 Feb 2014, Peter

Re: [PATCH RESEND 0/2] Two trivial fixes for MUSB

2014-02-14 Thread Greg KH
On Fri, Feb 14, 2014 at 08:49:45PM +0100, Daniel Mack wrote: Hi Felipe, I'm resending these two small patches for musb that missed the 3.14 merge window. 1. A long-standing bug fixed which causes 'sleeping while atomic' warnings. 2. A trivial fix for an unfortunate regression I caused

RE: Slightly off-topic, USB code in Linux working, but fails in U-Boot

2014-02-14 Thread Alan Stern
On Fri, 14 Feb 2014, Paul Zimmerman wrote: The problem may have something to do with the fact that the keyboard's internal hub runs at full speed. The other devices you tested, which worked okay, would have been low speed and high speed but not full speed. The original email said:

Re: EHCI host broken -- interrupts disabled

2014-02-14 Thread Sarah Sharp
On Fri, Feb 14, 2014 at 01:47:48PM -0700, Bjorn Helgaas wrote: On Fri, Feb 14, 2014 at 9:36 AM, Chen, Jamie jamie.c...@intel.com wrote: Sorry for late response. The dmesg attach in the mail. Thanks, I put this info in https://bugzilla.kernel.org/show_bug.cgi?id=70601 and applied the

Re: [PATCH] usb: gadget: bcm63xx_udc: fix build failure on DMA channel code

2014-02-14 Thread Florian Fainelli
2014-01-21 17:30 GMT-08:00 Greg KH gre...@linuxfoundation.org: On Tue, Jan 21, 2014 at 11:20:09AM -0800, Florian Fainelli wrote: 2014/1/14 Florian Fainelli flor...@openwrt.org: Commit 3dc6475 (bcm63xx_enet: add support Broadcom BCM6345 Ethernet) changed the ENETDMA[CS] macros such that they

Re: EHCI host broken -- interrupts disabled

2014-02-14 Thread Bjorn Helgaas
On Fri, Feb 14, 2014 at 3:27 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Fri, Feb 14, 2014 at 01:47:48PM -0700, Bjorn Helgaas wrote: On Fri, Feb 14, 2014 at 9:36 AM, Chen, Jamie jamie.c...@intel.com wrote: Sorry for late response. The dmesg attach in the mail. Thanks, I put

RE: [PATCH 0/7] usb: dwc2/s3c-hsotg: Combine drivers into a single DRD

2014-02-14 Thread Paul Zimmerman
From: Jingoo Han [mailto:jg1@samsung.com] Sent: Thursday, February 13, 2014 11:46 PM On Friday, February 14, 2014 2:27 PM, Peter Chen wrote: On Thu, Feb 13, 2014 at 03:10:40PM -0600, dingu...@altera.com wrote: From: Dinh Nguyen dingu...@altera.com Hello, This patch series

xHCI out of order events on BSD, was Re: xhci and other woes

2014-02-14 Thread Sarah Sharp
On Thu, Feb 06, 2014 at 11:30:29AM +0100, Hans Petter Selasky wrote: On 02/04/14 20:10, Sarah Sharp wrote: And there's code in the xHCI driver to ignore the second successful event. See ep-last_td_was_short. Yes, this is a slight race condition, and we should wait for the successful event.

Re: 174c:5106 1 TB External USB 3.0 Drive Fails to Automount through USB 3.0 dock with XHCI Enabled

2014-02-14 Thread Sarah Sharp
On Thu, Jan 30, 2014 at 08:36:04AM -0800, Jay S wrote: Hi Sarah, I haven't tried using a USB 2.0 cable to attach the dock/drive, but I have disabled XHCI in my BIOS and the dock and 1 TB drive work fine at USB 2.0 speeds using EHCI. According to the manufacturer, the dock is designed for

Re: 174c:5106 1 TB External USB 3.0 Drive Fails to Automount through USB 3.0 dock with XHCI Enabled

2014-02-14 Thread Jay S
Thanks Sarah. I appreciate your efforts. A new BIOS (F8) was released on 1/24 for my motherboard, and I flashed it with that to see if that made a difference, but it did not. -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to

Re: usb audio breaks ohci-pci

2014-02-14 Thread Dennis New
On Fri, 31 Jan 2014 21:30:03 -0500 (EST), Alan Stern wrote: On Thu, 30 Jan 2014, Dennis New wrote: Indeed, ohci_quirk_zfmicro (as mentioned in that marc.info link) would crash my kernel/system (I think when some graphics switch would happen) :). So I tried ohci_quirk_amd700, since there

Re: USB storage vanilla kernel 3.13 hang on DELL PRECISION M6400

2014-02-14 Thread Thomas Gleixner
On Fri, 14 Feb 2014, Stefani Seibold wrote: Am Freitag, den 14.02.2014, 10:32 -0500 schrieb Alan Stern: On Fri, 14 Feb 2014, Stefani Seibold wrote: Hi Alan; Am Donnerstag, den 13.02.2014, 15:55 -0500 schrieb Alan Stern: Stefani, please try the patch below, with threadirq

Re: [PATCH v4 12/14] usb: guarantee child device resume on port poweron

2014-02-14 Thread Dan Williams
On Mon, Feb 10, 2014 at 1:01 PM, Alan Stern st...@rowland.harvard.edu wrote: The patch description here could be improved substantially. It should start out with an explanation of the basic reason for the patch and a clear indication of what the patch does. On Fri, 31 Jan 2014, Dan Williams

[PATCH][usbutils] lsusb: decode CDC MBIM extended functional descriptor

2014-02-14 Thread Ben Chan
Signed-off-by: Ben Chan benc...@chromium.org --- Example output: Before: UNRECOGNIZED CDC: 08 24 1c 00 01 0f dc 05 After: CDC MBIM Extended: bcdMBIMExtendedVersion 1.00 bMaxOutstandingCommandMessages 15 wMTU