RE: PROBLEM: XHCI Host Controller on Intel Panther Point with CDC/ACM dead after massive NAK

2014-02-05 Thread Kasberger Andreas
Hello Peter, one short remark Application-specific or vendor-specific are often frowned upon in other contexts but if the protocol is documented publically then it is a great way to take advantage of all that USB offers, and it is explicitly supported by the specification. Use bDeviceClass

Re: new USB serial device: Garmin USB ANT stick

2014-02-05 Thread Henning Knut Skoglund
Greg KH gregkh@... writes: On Sat, Aug 03, 2013 at 09:32:00AM -0700, Scott Alfter wrote: I have a Garmin USB ANT stick that shows up in lsusb as the following: Bus 009 Device 002: ID 0fcf:1008 Dynastream Innovations, Inc. Mini stick Suunto It's a wireless serial device that talks

[no subject]

2014-02-05 Thread Western Union Office ©
Congratulation !! Confirm your 500,000,00 Euros. Contact claims office via : claimsoffic...@yeah.net -- 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

FunctionFS: .iInterface has random value

2014-02-05 Thread Marco Zamponi
Using the test application ffs-test.c I can reproduce this error that seems to be a bug in FunctionFS. At the host, my device shows up sometimes with .Interface having a random value, in which case Language 0x0409 : Source/Sink would be displayed. But most of the times it's 0x00 which

RE: [RFCv2 00/10] xhci: re-work command queue management

2014-02-05 Thread David Laight
From: Dan Williams Adding another list that will have its own set of bugs seems retrograde top me. What bugs? Please be specific. The problem to be addressed is not the allocation of commands, but that timeouts of one command eat the timeout periods of subsequent commands. I'm

RE: xhci and other woes

2014-02-05 Thread David Laight
From: Mark Lord Which means that the controller is obeying the rules, and the software is wrong. .. In this case, the bug has been worked around (not perfectly), but we've had no customer reports that this is an issue. There is no user-visible impact as far as we know. So fixing

RE: PROBLEM: XHCI Host Controller on Intel Panther Point with CDC/ACM dead after massive NAK

2014-02-05 Thread David Laight
From: Kasberger Andreas What is still puzzling me is the fact that the host controller stops any communication. That means there is really electrically no communication (bulk_out) from HC to device anymore. It seems that the host controller has shut down communication port to one

RE: [RFT 1/2] xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-02-05 Thread David Laight
From: Sarah Sharp xHCI 1.0 hosts have a set of requirements on how to align transfer buffers on the endpoint rings called TD fragment rules. When the ax88179_178a driver added support for scatter gather in 3.12, with commit 804fad45411b48233b48003e33a78f290d227c8 USBNET: ax88179_178a:

Re: xhci and other woes

2014-02-05 Thread renevant
Messing with the Realtek nic driver didn't work my pc crashed soon after. It looks like i've hit on a stable combination at the moment. It's looking like either... * Passing nomsi as a kernel parameter has worked somehow, when doing /proc/interrupts it looks like everything that used to be

Re: [PATCH 1/3] Phytec phyFLEX-i.MX6 : Added USB_HOST Support

2014-02-05 Thread Fabio Estevam
On Tue, Feb 4, 2014 at 2:34 AM, Ashutosh singh ashutos...@phytec.in wrote: + + reg_usb_h1_vbus: regulator@1 { + compatible = regulator-fixed; + regulator-name = usb_h1_vbus; + regulator-min-microvolt = 500; +

RE: xhci and other woes

2014-02-05 Thread David Laight
From: renev...@internode.on.net Messing with the Realtek nic driver didn't work my pc crashed soon after. It looks like i've hit on a stable combination at the moment. It's looking like either... * Passing nomsi as a kernel parameter has worked somehow, when doing /proc/interrupts it

Re: xhci and other woes

2014-02-05 Thread renevant
It couldn't have been nomsi because I forgot to preface it with pci= I also have the nic plugged in via a hub which I included in all my messing around lol. [ 96.210387] usb 9-4: Product: USB3.0 Hub [ 96.210391] usb 9-4: Manufacturer: GenesysLogic [ 96.213442] hub 9-4:1.0: USB hub found [

RE: xhci and other woes

2014-02-05 Thread David Laight
From: renev...@internode.on. I got a feeling if I plug the nic into the Asmedia again i'm still going to get a bunch of kevent 4 spam. Did you see my message about those yesterday? Try adding a printk() to the usbnet_write_cmd_async() code paths called from ax88179's set_multicast code. I

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

2014-02-05 Thread Daniel Mack
schedule_delayed_work() takes the delay in jiffies, not msecs. This bug slipped in with the recent reset logic cleanup (8ed1fb790ea: usb: musb: finish suspend/reset work independently from musb_hub_control()). Signed-off-by: Daniel Mack dan...@zonque.org --- drivers/usb/musb/musb_core.c| 3

Re: [RFCv2 01/10] xhci: Use command structures when calling xhci_configure_endpoint

2014-02-05 Thread Mathias Nyman
On 02/05/2014 04:21 AM, Dan Williams wrote: Hi Mathias, comments below: s/xhci_check_bandwith/xhci_check_bandwidth/ s/strucure/structure/ s/strucure/structure/ s/requre/require/ s/strucure/structure/ Thanks I guess I need to start using a spell checker for commit messages. One cleanup we

Re: new USB serial device: Garmin USB ANT stick

2014-02-05 Thread Greg KH
On Wed, Feb 05, 2014 at 08:39:33AM +, Henning Knut Skoglund wrote: Greg KH gregkh@... writes: On Sat, Aug 03, 2013 at 09:32:00AM -0700, Scott Alfter wrote: I have a Garmin USB ANT stick that shows up in lsusb as the following: Bus 009 Device 002: ID 0fcf:1008 Dynastream

Re: PROBLEM: XHCI Host Controller on Intel Panther Point with CDC/ACM dead after massive NAK

2014-02-05 Thread Bjørn Mork
Kasberger Andreas andreaskasber...@hotmail.com writes: On the protocol design: First, using CDC-ACM means sacrificing all structured communication offered by the USB packet bus and settling for such primitive use of USB is not a decision that should be made lightly. Almost all applications

Re: [PATCH 1/6] i2c: bcm-kona: register with subsys_initcall

2014-02-05 Thread Matt Porter
On Wed, Feb 05, 2014 at 10:08:18AM +0100, Wolfram Sang wrote: On Tue, Feb 04, 2014 at 07:19:07AM -0500, Matt Porter wrote: Voltage regulators are needed very early due to deferred probe being incompatible with built-in USB gadget drivers. What does it need to fix those instead? [added

Re: [PATCH 1/6] i2c: bcm-kona: register with subsys_initcall

2014-02-05 Thread Alan Stern
On Wed, 5 Feb 2014, Matt Porter wrote: On Wed, Feb 05, 2014 at 10:08:18AM +0100, Wolfram Sang wrote: On Tue, Feb 04, 2014 at 07:19:07AM -0500, Matt Porter wrote: Voltage regulators are needed very early due to deferred probe being incompatible with built-in USB gadget drivers.

RE: [PATCH v6 8/8] usb: ehci-exynos: Change to use phy provided by the generic phy framework

2014-02-05 Thread Kamil Debski
Hi Olof, Thank you for your review. From: Olof Johansson [mailto:o...@lixom.net] Sent: Wednesday, January 29, 2014 9:55 PM Hi, On Wed, Jan 29, 2014 at 9:29 AM, Kamil Debski k.deb...@samsung.com wrote: Change the phy provider used from the old one using the USB phy framework to a new

RE: [PATCH v6 8/8] usb: ehci-exynos: Change to use phy provided by the generic phy framework

2014-02-05 Thread Kamil Debski
Hi Alan, Thank you for your review. From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Wednesday, January 29, 2014 9:43 PM On Wed, 29 Jan 2014, Kamil Debski wrote: Change the phy provider used from the old one using the USB phy framework to a new one using the Generic phy

RE: [PATCH v6 3/8] dts: Add usb2phy to Exynos 4

2014-02-05 Thread Kamil Debski
Hi Olof, From: Olof Johansson [mailto:o...@lixom.net] Sent: Wednesday, January 29, 2014 9:51 PM On Wed, Jan 29, 2014 at 9:29 AM, Kamil Debski k.deb...@samsung.com wrote: Add support to PHY of USB2 of the Exynos 4 SoC. Signed-off-by: Kamil Debski k.deb...@samsung.com ---

Re: [PATCH 1/6] i2c: bcm-kona: register with subsys_initcall

2014-02-05 Thread Matt Porter
On Wed, Feb 05, 2014 at 10:30:29AM -0500, Alan Stern wrote: On Wed, 5 Feb 2014, Matt Porter wrote: On Wed, Feb 05, 2014 at 10:08:18AM +0100, Wolfram Sang wrote: On Tue, Feb 04, 2014 at 07:19:07AM -0500, Matt Porter wrote: Voltage regulators are needed very early due to deferred

Re: [RFCv2 00/10] xhci: re-work command queue management

2014-02-05 Thread Dan Williams
On Wed, Feb 5, 2014 at 1:22 AM, David Laight david.lai...@aculab.com wrote: From: Dan Williams Adding another list that will have its own set of bugs seems retrograde top me. What bugs? Please be specific. The problem to be addressed is not the allocation of commands, but that timeouts

RE: [RFCv2 00/10] xhci: re-work command queue management

2014-02-05 Thread David Laight
From: Dan Williams Yes, but I think we need to centralize the context under which commands are submitted. The complicating factor is the mix of synchronous command submission and interrupt driven asynchronous command queuing. I think we can simplify it by making it all submitted from a

Re: [RFCv2 00/10] xhci: re-work command queue management

2014-02-05 Thread Dan Williams
On Wed, Feb 5, 2014 at 9:05 AM, David Laight david.lai...@aculab.com wrote: From: Dan Williams Yes, but I think we need to centralize the context under which commands are submitted. The complicating factor is the mix of synchronous command submission and interrupt driven asynchronous command

Re: [PATCH v6 8/8] usb: ehci-exynos: Change to use phy provided by the generic phy framework

2014-02-05 Thread Olof Johansson
On Wed, Feb 5, 2014 at 7:57 AM, Kamil Debski k.deb...@samsung.com wrote: Hi Olof, Thank you for your review. From: Olof Johansson [mailto:o...@lixom.net] Sent: Wednesday, January 29, 2014 9:55 PM Hi, On Wed, Jan 29, 2014 at 9:29 AM, Kamil Debski k.deb...@samsung.com wrote: Change the

RE: [RFC PATCHv1] usb: dwc2: Combine the dwc2 and s3c_hsotg into a single USB DRD driver.

2014-02-05 Thread Paul Zimmerman
From: Dinh Nguyen [mailto:dingu...@altera.com] Sent: Tuesday, February 04, 2014 10:14 PM On Wed, 2014-02-05 at 00:42 +, Paul Zimmerman wrote: From: dingu...@altera.com [mailto:dingu...@altera.com] Sent: Tuesday, February 04, 2014 1:46 PM From: Dinh Nguyen dingu...@altera.com

Re: [GIT PULL] xhci: Fix some regressions introduced in 3.14.

2014-02-05 Thread Sarah Sharp
On Tue, Feb 04, 2014 at 12:44:23PM -0800, Greg Kroah-Hartman wrote: On Tue, Feb 04, 2014 at 12:29:22PM -0800, Sarah Sharp wrote: Please pull usb-linus into usb-next, as I have feature patches that rely on 140e3026a57a Revert usbcore: set lpm_capable field for LPM capable root hubs

Re: [GIT PULL] xhci: Fix some regressions introduced in 3.14.

2014-02-05 Thread Greg Kroah-Hartman
On Wed, Feb 05, 2014 at 11:23:22AM -0800, Sarah Sharp wrote: On Tue, Feb 04, 2014 at 12:44:23PM -0800, Greg Kroah-Hartman wrote: On Tue, Feb 04, 2014 at 12:29:22PM -0800, Sarah Sharp wrote: Please pull usb-linus into usb-next, as I have feature patches that rely on 140e3026a57a Revert

Re: [PATCH v3] usb: dwc2: handle the Host Port Interrupt when it occurs in device mode

2014-02-05 Thread Greg KH
On Tue, Feb 04, 2014 at 03:19:40PM -0800, Paul Zimmerman wrote: From: Dinh Nguyen dingu...@altera.com According to the spec for the DWC2 controller, when the PRTINT interrupt fires, the application must clear the appropriate status bit in the Host Port Control and Status register to clear

RE: [PATCH v3] usb: dwc2: handle the Host Port Interrupt when it occurs in device mode

2014-02-05 Thread Paul Zimmerman
From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Wednesday, February 05, 2014 11:36 AM On Tue, Feb 04, 2014 at 03:19:40PM -0800, Paul Zimmerman wrote: From: Dinh Nguyen dingu...@altera.com According to the spec for the DWC2 controller, when the PRTINT interrupt fires, the

RE: [PATCH v6 8/8] usb: ehci-exynos: Change to use phy provided by the generic phy framework

2014-02-05 Thread Alan Stern
On Wed, 5 Feb 2014, Kamil Debski wrote: Hi Alan, Thank you for your review. You're welcome. Change the phy provider used from the old one using the USB phy You have removed all the OTG stuff from the driver. This wasn't mentioned in the patch description, and it has no connection

[PATCH] UAS: fallback to storage if no streams are available

2014-02-05 Thread oliver
From: Oliver Neukum oneu...@suse.de uas_probe() calls usb_alloc_streams(). That can fail on XHCI with -ENOSYS if the controller doesn't support streams. In that case devices should be handed over to storage. Thus the driver needs to return -ENODEV so that the driver core will give other drivers a

Re: PROBLEM: XHCI Host Controller on Intel Panther Point with CDC/ACM dead after massive NAK

2014-02-05 Thread Sarah Sharp
On Wed, Feb 05, 2014 at 07:33:15AM +, Kasberger Andreas wrote: Hello Peter, many many thanks for your long and detailed answer.  On the protocol design: First, using CDC-ACM means sacrificing all structured communication offered by the USB packet bus and settling for such

Re: [GIT PULL] xhci: Fix some regressions introduced in 3.14.

2014-02-05 Thread Sarah Sharp
On Wed, Feb 05, 2014 at 11:30:39AM -0800, Greg Kroah-Hartman wrote: On Wed, Feb 05, 2014 at 11:23:22AM -0800, Sarah Sharp wrote: On Tue, Feb 04, 2014 at 12:44:23PM -0800, Greg Kroah-Hartman wrote: On Tue, Feb 04, 2014 at 12:29:22PM -0800, Sarah Sharp wrote: Please pull usb-linus into

Re: [RFT 1/2] xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-02-05 Thread Sarah Sharp
On Wed, Feb 05, 2014 at 11:58:12AM +, David Laight wrote: From: Sarah Sharp xHCI 1.0 hosts have a set of requirements on how to align transfer buffers on the endpoint rings called TD fragment rules. When the ax88179_178a driver added support for scatter gather in 3.12, with commit

Re: [PATCH] UAS: fallback to storage if no streams are available

2014-02-05 Thread Hans de Goede
Hi Oliver, On 02/05/2014 09:13 PM, oli...@neukum.org wrote: From: Oliver Neukum oneu...@suse.de uas_probe() calls usb_alloc_streams(). That can fail on XHCI with -ENOSYS if the controller doesn't support streams. In that case devices should be handed over to storage. Thus the driver needs to

Re: [RFT 1/2] xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-02-05 Thread Alan Stern
On Wed, 5 Feb 2014, Sarah Sharp wrote: On Wed, Feb 05, 2014 at 11:58:12AM +, David Laight wrote: The problem is that the ax88179_178a driver submits receive URBs that cross 64k boundaries, and are not aligned (they start at an 0x40 boundary). Receive USB frames can contain multiple

Re: [RFT 1/2] xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-02-05 Thread Sarah Sharp
On Wed, Feb 05, 2014 at 04:23:50PM -0500, Alan Stern wrote: On Wed, 5 Feb 2014, Sarah Sharp wrote: On Wed, Feb 05, 2014 at 11:58:12AM +, David Laight wrote: The problem is that the ax88179_178a driver submits receive URBs that cross 64k boundaries, and are not aligned (they start

Re: xhci and other woes

2014-02-05 Thread Peter Stuge
Sarah Sharp wrote: Yes, this is a slight race condition, and we should wait for the successful event. However, we have not seen any issues with this race condition. I'm glad that you say that having the race is wrong (we should) and I guess that we should wait for the sake of correctness?

Re: [RFCv2 08/10] xhci: Add a global command queue

2014-02-05 Thread Sarah Sharp
On Tue, Feb 04, 2014 at 10:57:09PM -0800, Dan Williams wrote: On Thu, Jan 30, 2014 at 6:10 AM, Mathias Nyman mathias.ny...@linux.intel.com wrote: @@ -1722,6 +1723,12 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci) kfree(cur_cd); } +

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2014-02-05 Thread Ivaylo Dimitrov
Hi Felipe, cool, I'll send this during the -rc and Cc stable, then I'll manually backport it to stable later. PING! I still do not see this patch in linus tree. What happened? -- Pali Rohár pali.ro...@gmail.com BUMP Is there any problem with above patch? If you are short on time or

Re: [RFT 1/2] xhci 1.0: Limit arbitrarily-aligned scatter gather.

2014-02-05 Thread Peter Stuge
Sarah, Sarah Sharp wrote: I'm simply trying to see how much of a priority it is to fix this. I really want to re-architect the code and do this right, and it will take some time. Awesome! I think wanting to do it right is very close to desire for perfection, or at the very least correctness.

affiliate

2014-02-05 Thread SA
May I request for your cooperation to move funds and invest same in your country. -- 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: BUG: usb: obex in g_nokia.ko causing kernel panic

2014-02-05 Thread Greg Kroah-Hartman
On Thu, Feb 06, 2014 at 12:25:21AM +0200, Ivaylo Dimitrov wrote: Hi Felipe, cool, I'll send this during the -rc and Cc stable, then I'll manually backport it to stable later. PING! I still do not see this patch in linus tree. What happened? -- Pali Rohár pali.ro...@gmail.com

Add for Devices on USB to Serial Device

2014-02-05 Thread Gerd W.
Dear Sirs I´ve an USB to Serial Adapter ,who works under Linux mint 16. I use it for control Label Printers they connect to Serial. Please add and set this Driver for Device 067b:2303 Prolific Technology, Inc. PL2303 Serial Port With kind regards. one Linux user. -- To unsubscribe from

Re: xhci and other woes

2014-02-05 Thread Sarah Sharp
On Wed, Feb 05, 2014 at 09:44:20AM +, David Laight wrote: From: Mark Lord Which means that the controller is obeying the rules, and the software is wrong. .. In this case, the bug has been worked around (not perfectly), but we've had no customer reports that this is an issue.

Re: [RFC PATCHv1] usb: dwc2: Combine the dwc2 and s3c_hsotg into a single USB DRD driver.

2014-02-05 Thread Jingoo Han
On Thursday, February 06, 2014 4:21 AM, Paul Zimmerman wrote: On Tuesday, February 04, 2014 10:14 PM, Dinh Nguyen wrote: On Wed, 2014-02-05 at 00:42 +, Paul Zimmerman wrote: From: dingu...@altera.com [mailto:dingu...@altera.com] Sent: Tuesday, February 04, 2014 1:46 PM From:

[PATCH net] r8152: fix the submission of the interrupt transfer

2014-02-05 Thread Hayes Wang
The submission of the interrupt transfer should be done after setting the bit of WORK_ENABLE, otherwise the callback function would have the opportunity to be returned directly. Clear the bit of WORK_ENABLE before killing the interrupt transfer. Signed-off-by: Hayes Wang hayesw...@realtek.com