[PATCH 1/1] Adds support for Lenovo 10/100 USB dongle.

2012-09-28 Thread Quinlan Pfiffer
This dongle ships with the X1 Carbon, and has an AX88772B usb to ethernet chip in it. Signed-off-by: Quinlan Pfiffer --- drivers/net/usb/asix_devices.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/usb/asix_devices.c b/drivers/net/usb/asix_devices.c index 32e31c5..fc20e53 1

Re: xhci: LPM issues using Western Digital harddrive

2012-09-28 Thread Alan Stern
On Fri, 28 Sep 2012, Sarah Sharp wrote: > > This shows that the problem began when the device was sent a command it > > didn't recognize: 0xA1, which is a 12-byte ATA pass-through, in this > > case for an IDENTIFY DEVICE command (0xEC). Presumably the Western > > Digital device doesn't support AT

Re: cannot submit urb 0, error -22: internal error followed by USB hung tasks

2012-09-28 Thread Alan Stern
On Sat, 29 Sep 2012, Lassi Väätämöinen wrote: > On Friday, September 28, 2012 05:16 PM, Alan Stern wrote: > > On Fri, 28 Sep 2012, [iso-8859-1] Lassi V��t�m�inen wrote: > > > >> Ok. How can I tell when this error is visible in the logs? Status field is > >> -22? > > > > > If that is the error yo

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

2012-09-28 Thread Chen Peter-B29397
> > Hmm, gadget gets zeroed out on every gadget->whatever switch, but it > also gets reinitialized on every whatever->gadget transition. And it > really shouldn't cause a null dereference. > When gadget->host, the call sequence like below: udc_stop -> usb_del_gadget_udc -> usb_gadget_remove_dr

Re: xhci: LPM issues using Western Digital harddrive

2012-09-28 Thread Sarah Sharp
On Fri, Sep 28, 2012 at 11:39:48AM -0400, Alan Stern wrote: > On Fri, 28 Sep 2012, Don Zickus wrote: > > > > Probably the device was already hung. The log showed that an earlier > > > transfer completed with a STALL. The reason wasn't apparent, although > > > a usbmon trace might give a clue.

Re: cannot submit urb 0, error -22: internal error followed by USB hung tasks

2012-09-28 Thread Lassi Väätämöinen
On Friday, September 28, 2012 05:16 PM, Alan Stern wrote: On Fri, 28 Sep 2012, [iso-8859-1] Lassi V��t�m�inen wrote: Ok. How can I tell when this error is visible in the logs? Status field is -22? If that is the error you are most worried about, then yes. There were other errors (URBs stil

Re: PROBLEM: kernel 3.6.rc6 bug report (usb 3.0 external hard drive problem)

2012-09-28 Thread Sarah Sharp
On Fri, Sep 28, 2012 at 10:27:43AM -0400, Alan Stern wrote: > On Fri, 28 Sep 2012, Dan Carpenter wrote: > > > I've filed a bug for this. > > > > https://bugzilla.kernel.org/show_bug.cgi?id=48061 > > > > Probably the other information which would be useful is the output > > from lsusb. Anyway, I

Re: xhci: LPM issues using Western Digital harddrive

2012-09-28 Thread Alan Stern
On Fri, 28 Sep 2012, Don Zickus wrote: > Hi Alan, > > I added the following patch to my usb-next tree (commit 0220a3f0) to > disable LPM and the driver worked fine. That seems to be pretty clear then; the LPM stuff causes problems either for the drive or for the host controller. But they are od

[PATCH 3/3] EHCI: replace mult/div with bit-mask operation

2012-09-28 Thread Alan Stern
This patch (as1610) replaces multiplication and divison operations in ehci-hcd's isochronous scheduling code with a bit-mask operation, taking advantage of the fact that isochronous periods are always powers of 2. Signed-off-by: Alan Stern --- drivers/usb/host/ehci-sched.c |2 +- 1 file ch

[PATCH 2/3] EHCI: use the isochronous scheduling threshold

2012-09-28 Thread Alan Stern
This patch (as1609) changes the way ehci-hcd uses the "Isochronous Scheduling Threshold" in its calculations. Until now the code has ignored the threshold except for certain Intel PCI-based controllers. This violates the EHCI spec. The new code takes the threshold into account always, removing th

[PATCH 1/3] EHCI: improved logic for isochronous scheduling

2012-09-28 Thread Alan Stern
This patch (as1608) reworks the logic used by ehci-hcd for scheduling isochronous transfers. Now the modular calculations are all based on a window that starts at the last frame scanned for isochronous completions. No transfer descriptors for any earlier frames can possibly remain on the schedule

[PATCH 0/3] EHCI isochronous scheduling improvements

2012-09-28 Thread Alan Stern
Greg: The following three patches make various changes to ehci-hcd's isochronous scheduler, in preparation for the upcoming URB_ISO_ASAP redefinition. None of the changes are terribly big. Although the 1/3 patch looks relatively large, it shouldn't change the driver's behavior in practice un

Re: [PATCH 1/5] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-28 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Sep 28, 2012 at 8:42 PM, Cousson, Benoit wrote: > On 9/28/2012 3:07 AM, ABRAHAM, KISHON VIJAY wrote: >> >> Hi, >> >> On Fri, Sep 28, 2012 at 4:18 AM, Cousson, Benoit wrote: >>> >>> On 9/27/2012 7:24 AM, Rob Herring wrote: On 09/25/2012 05:06 AM, ABRAHAM, KISHON VIJAY w

Re: xhci: LPM issues using Western Digital harddrive

2012-09-28 Thread Alan Stern
On Fri, 28 Sep 2012, Don Zickus wrote: > On Fri, Sep 28, 2012 at 11:39:48AM -0400, Alan Stern wrote: > > On Fri, 28 Sep 2012, Don Zickus wrote: > > > > > > Probably the device was already hung. The log showed that an earlier > > > > transfer completed with a STALL. The reason wasn't apparent,

Re: USB3 port not detected in 'vanilla' kernel, works with etxhci_hcd module in original firmware

2012-09-28 Thread Sarah Sharp
On Fri, Sep 28, 2012 at 05:00:19PM +0200, Jurriaan wrote: > Hi, Hi Jurriaan, > I'm writing you because you're mentioned as the writer of the etxhci > module. This module is included in the firmware of the Qnap TS-119 P II > single-bas NAS. It's a Marvell Kirkwood based device, and the original >

Re: xhci: LPM issues using Western Digital harddrive

2012-09-28 Thread Don Zickus
On Fri, Sep 28, 2012 at 11:39:48AM -0400, Alan Stern wrote: > On Fri, 28 Sep 2012, Don Zickus wrote: > > > > Probably the device was already hung. The log showed that an earlier > > > transfer completed with a STALL. The reason wasn't apparent, although > > > a usbmon trace might give a clue.

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

2012-09-28 Thread Alexander Shishkin
Chen Peter-B29397 writes: > >> > > hw_write(ci, OP_USBINTR, ~0, >> > > >> USBi_UI|USBi_UEI|USBi_PCI|USBi_URI|USBi_SLI); >> > > - hw_write(ci, OP_USBCMD, USBCMD_RS, USBCMD_RS); >> > > } else { >> > > - hw_write(ci, OP_USBCMD, USBCMD_RS, 0); >>

Re: xhci: LPM issues using Western Digital harddrive

2012-09-28 Thread Alan Stern
On Fri, 28 Sep 2012, Don Zickus wrote: > > Probably the device was already hung. The log showed that an earlier > > transfer completed with a STALL. The reason wasn't apparent, although > > a usbmon trace might give a clue. It might also show why the device > > had to be reset. > > Here is

Re: [PATCH] arm: omap: move OMAP USB platform data to

2012-09-28 Thread Tony Lindgren
* Felipe Balbi [120928 00:08]: > In order to make single zImage work for ARM architecture, > we need to make sure we don't depend on private headers. > > Move USB platform_data to The new standard seems to be subsystem-soc.h, so usb-omap.h :) > and keep only internal functions in . Can the re

Re: [PATCH 1/5] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-28 Thread Cousson, Benoit
On 9/28/2012 3:07 AM, ABRAHAM, KISHON VIJAY wrote: Hi, On Fri, Sep 28, 2012 at 4:18 AM, Cousson, Benoit wrote: On 9/27/2012 7:24 AM, Rob Herring wrote: On 09/25/2012 05:06 AM, ABRAHAM, KISHON VIJAY wrote: Hi, On Mon, Sep 24, 2012 at 6:45 PM, Rob Herring wrote: On 09/06/2012 09:57 AM, K

Re: xhci: LPM issues using Western Digital harddrive

2012-09-28 Thread Don Zickus
On Thu, Sep 27, 2012 at 04:42:52PM -0400, Alan Stern wrote: > On Thu, 27 Sep 2012, Sarah Sharp wrote: > > > On Wed, Sep 26, 2012 at 02:03:06PM -0400, Don Zickus wrote: > > > Hi Sarah, > > > > > > As discussed privately, here is the debug output of what happens when I > > > plug in the hard drive

[PATCH] Add CDC-ACM support for the CX93010-2x UCMxx USB Modem

2012-09-28 Thread jc
From: Jean-Christian de Rivaz This USB V.92/V.32bis Controllered Modem have the USB vendor ID 0x0572 and device ID 0x1340. It need the NO_UNION_NORMAL quirk to be recognized. Reference: http://www.conexant.com/servlets/DownloadServlet/DSH-201723-005.pdf?docid=1725&revid=5 Signed-off-by: Jean-Ch

Re: PROBLEM: kernel 3.6.rc6 bug report (usb 3.0 external hard drive problem)

2012-09-28 Thread Alan Stern
On Fri, 28 Sep 2012, Dan Carpenter wrote: > I've filed a bug for this. > > https://bugzilla.kernel.org/show_bug.cgi?id=48061 > > Probably the other information which would be useful is the output > from lsusb. Anyway, I've added the USB list to the CC. > > regards, > dan carpenter > > On Sun,

Re: PROBLEM: kernel 3.6.rc6 bug report (usb 3.0 external hard drive problem)

2012-09-28 Thread Dan Carpenter
I've filed a bug for this. https://bugzilla.kernel.org/show_bug.cgi?id=48061 Probably the other information which would be useful is the output from lsusb. Anyway, I've added the USB list to the CC. regards, dan carpenter On Sun, Sep 23, 2012 at 05:33:44PM +0200, Gabor Takacs wrote: > Bug repo

Re: cannot submit urb 0, error -22: internal error followed by USB hung tasks

2012-09-28 Thread Alan Stern
On Fri, 28 Sep 2012, [iso-8859-1] Lassi V��t�m�inen wrote: > > On Sep 28, 2012, at 00:18 , Alan Stern wrote: > > The usbmon trace does not show any errors at all. The file doesn't > > contain any occurrences of "-22", for instance. > > Ok. How can I tell when this error is visible in the logs

Re: [PATCH 6/6] usb: dwc3: core: add dt support for dwc3 core

2012-09-28 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Sep 28, 2012 at 6:32 PM, Felipe Balbi wrote: > On Fri, Sep 28, 2012 at 06:23:15PM +0530, Kishon Vijay Abraham I wrote: >> Added dwc3 support for dwc3 core and update the documentation with >> device tree binding information. >> >> Signed-off-by: Kishon Vijay Abraham I >> --- >> Docu

Re: [PATCH 4/6] usb: dwc3-omap: Add an API to write to dwc mailbox

2012-09-28 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Sep 28, 2012 at 6:29 PM, Felipe Balbi wrote: > Hi, > > On Fri, Sep 28, 2012 at 06:23:13PM +0530, Kishon Vijay Abraham I wrote: >> Add an API in the omap glue layer to write to the mailbox register which >> can be used by comparator driver(twl). To pass the detection of the attached >>

Re: [PATCH 2/6] usb: dwc3-omap: use runtime API's to enable clocks

2012-09-28 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Sep 28, 2012 at 6:28 PM, Felipe Balbi wrote: > Hi, > > On Fri, Sep 28, 2012 at 06:23:11PM +0530, Kishon Vijay Abraham I wrote: >> Before accessing any register, runtime API's should be invoked to enable >> the clocks. runtime API's are added here to prevent abort during register >> ac

Re: [PATCH 1/6] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-09-28 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Sep 28, 2012 at 6:27 PM, Felipe Balbi wrote: > Hi, > > On Fri, Sep 28, 2012 at 06:23:10PM +0530, Kishon Vijay Abraham I wrote: >> Used of_platform_populate() to populate dwc3 core platform_device >> from device tree data. Since now the allocation of unique device id is >> handled be o

Re: [PATCH 6/6] usb: dwc3: core: add dt support for dwc3 core

2012-09-28 Thread Felipe Balbi
On Fri, Sep 28, 2012 at 06:23:15PM +0530, Kishon Vijay Abraham I wrote: > Added dwc3 support for dwc3 core and update the documentation with > device tree binding information. > > Signed-off-by: Kishon Vijay Abraham I > --- > Documentation/devicetree/bindings/usb/dwc3.txt | 24 > +

Re: [PATCH 4/6] usb: dwc3-omap: Add an API to write to dwc mailbox

2012-09-28 Thread Felipe Balbi
Hi, On Fri, Sep 28, 2012 at 06:23:13PM +0530, Kishon Vijay Abraham I wrote: > Add an API in the omap glue layer to write to the mailbox register which > can be used by comparator driver(twl). To pass the detection of the attached > device (signified by VBUS, ID) to the dwc3 core, dwc3 core has to

Re: [PATCH 2/6] usb: dwc3-omap: use runtime API's to enable clocks

2012-09-28 Thread Felipe Balbi
Hi, On Fri, Sep 28, 2012 at 06:23:11PM +0530, Kishon Vijay Abraham I wrote: > Before accessing any register, runtime API's should be invoked to enable > the clocks. runtime API's are added here to prevent abort during register > access. > > Signed-off-by: Kishon Vijay Abraham I > --- > drivers/

Re: [PATCH 1/6] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-09-28 Thread Felipe Balbi
Hi, On Fri, Sep 28, 2012 at 06:23:10PM +0530, Kishon Vijay Abraham I wrote: > Used of_platform_populate() to populate dwc3 core platform_device > from device tree data. Since now the allocation of unique device id is > handled be of_*, removed the call to dwc3_get_device_id. > > Signed-off-by: Ki

[PATCH 6/6] usb: dwc3: core: add dt support for dwc3 core

2012-09-28 Thread Kishon Vijay Abraham I
Added dwc3 support for dwc3 core and update the documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/dwc3.txt | 24 drivers/usb/dwc3/core.c| 14 -- 2 fi

[PATCH 1/6] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-09-28 Thread Kishon Vijay Abraham I
Used of_platform_populate() to populate dwc3 core platform_device from device tree data. Since now the allocation of unique device id is handled be of_*, removed the call to dwc3_get_device_id. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 63 +++-

[PATCH 5/6] usb: dwc3-omap: Minor fixes to get dt working

2012-09-28 Thread Kishon Vijay Abraham I
Includes few minor fixes in dwc3-omap like populating the compatible string in a correct way, extracting the utmi-mode property properly and changing the index of get_irq since irq of core is removed from hwmod entry. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c |6

[PATCH 0/6] usb: dwc3-omap: add dt support

2012-09-28 Thread Kishon Vijay Abraham I
This patch series adds dt support to dwc3 core and fixes few minor stuff in dwc3-omap glue to get dwc3 working. While at that it also uses *of_platform* to create the child device (dwc3-core) and fixes to use runtime API's to enable clock and write to SYSCONFIG register. This patch series is deve

[PATCH 4/6] usb: dwc3-omap: Add an API to write to dwc mailbox

2012-09-28 Thread Kishon Vijay Abraham I
Add an API in the omap glue layer to write to the mailbox register which can be used by comparator driver(twl). To pass the detection of the attached device (signified by VBUS, ID) to the dwc3 core, dwc3 core has to write to the mailbox regiter. Signed-off-by: Kishon Vijay Abraham I --- drivers/

[PATCH 2/6] usb: dwc3-omap: use runtime API's to enable clocks

2012-09-28 Thread Kishon Vijay Abraham I
Before accessing any register, runtime API's should be invoked to enable the clocks. runtime API's are added here to prevent abort during register access. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/driv

[PATCH 3/6] usb: dwc3-omap: Remove explicit writes to SYSCONFIG register

2012-09-28 Thread Kishon Vijay Abraham I
The runtime API's takes care of setting the SYSCONFIG register with appropriate values. Hence explicit writes to SYSCONFIG register is removed. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/

Re: [PATCH 1/5] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-28 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Sep 28, 2012 at 4:18 AM, Cousson, Benoit wrote: > On 9/27/2012 7:24 AM, Rob Herring wrote: >> >> On 09/25/2012 05:06 AM, ABRAHAM, KISHON VIJAY wrote: >>> >>> Hi, >>> >>> On Mon, Sep 24, 2012 at 6:45 PM, Rob Herring >>> wrote: On 09/06/2012 09:57 AM, Kishon Vijay Abraham I w

Re: [PATCH v2 1/2] usb: phy: add a new driver for usb3 phy

2012-09-28 Thread ABRAHAM, KISHON VIJAY
Hi, On Thu, Sep 27, 2012 at 7:48 PM, Russell King - ARM Linux wrote: > On Thu, Sep 27, 2012 at 07:34:07PM +0530, Kishon Vijay Abraham I wrote: >> +static int omap5_usb_phy_power(struct omap_usb *phy, bool on) >> +{ >> + u32 val; >> + unsigned long rate; >> + struct clk *sys_clk; >> +

Re: [PATCH usb:usb-next] USB: ezusb: make some vars/funcs static

2012-09-28 Thread Fengguang Wu
On Thu, Sep 27, 2012 at 10:10:26AM -0700, Greg KH wrote: > On Thu, Sep 27, 2012 at 02:24:13PM +0800, Fengguang Wu wrote: > > Signed-off-by: Fengguang Wu > > --- > > drivers/usb/misc/ezusb.c | 16 > > 1 file changed, 8 insertions(+), 8 deletions(-) > > > > tree: git://git.ker

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

2012-09-28 Thread Adrian Sandu
The only solution I see is to buy something else, like an Asus EB1501P-B057E .. I need something small and fast enough .. :| Maybe any other recommendations ? ( other root chipset / atom cpu .. small powered .. etc. ) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the bo

[PATCH] usb: dwc3: exynos: use devm_ functions

2012-09-28 Thread Jingoo Han
The devm_ functions allocate memory that is released when a driver detaches. This makes the code smaller and a bit simpler. Cc: Anton Tikhomirov Signed-off-by: Jingoo Han --- drivers/usb/dwc3/dwc3-exynos.c | 59 +++- 1 files changed, 28 insertions(+), 31 de

[PATCH] arm: omap: move OMAP USB platform data to

2012-09-28 Thread Felipe Balbi
In order to make single zImage work for ARM architecture, we need to make sure we don't depend on private headers. Move USB platform_data to and keep only internal functions in . Signed-off-by: Felipe Balbi --- Compile tested only. arch/arm/mach-omap2/usb-host.c | 1 +