Re: Poor performance with USB 1.1 drive connected to USB 3.0 port

2014-09-30 Thread Lu, Baolu
On 9/30/2014 5:03 AM, Mark Knibbs wrote: Great. I hope someone else is motivated to reproduce the issue. It will take a long time for me to bisect due to my slow computer. Hi Mark, I tried to reproduce this issue. I connected a USB key under a full-speed hub. sg_rbuf returns error which I

Re: Urb completion handler returns -32

2014-09-30 Thread Naveen Kumar Parna
Hi Alan, The device replied with a STALL. The device runs at low speed or full speed and is connected through a USB-2 hub Yes, my device is full speed (12Mbps) device and connected to 2.0 root hub. So how to avoid getting the STALL? I attached the usbmon log and Ellisys USB analyser log.

[PATCH net] r8152: fix setting RTL8152_UNPLUG

2014-09-30 Thread Hayes Wang
The flag of RTL8152_UNPLUG should only be set when the device is unplugged, not each time the rtl8152_disconnect() is called. Otherwise, the device wouldn't be stopped normally. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 6 +- 1 file changed, 5

Re: Poor performance with USB 1.1 drive connected to USB 3.0 port

2014-09-30 Thread Mark Knibbs
On Tue, 30 Sep 2014 14:10:28 +0800 Lu, Baolu baolu...@linux.intel.com wrote: I tried to reproduce this issue. I connected a USB key under a full-speed hub. sg_rbuf returns error which I am not familiar with. allen@allen-ivb:~$ lsusb -t [...snip...] /: Bus 01.Port 1: Dev 1,

Re: [PATCH v2 1/3] mfd: add support for Cypress CYUSBS234 USB Serial Bridge controller

2014-09-30 Thread Johan Hovold
On Thu, Sep 25, 2014 at 11:20:12AM +0530, Muthu Mani wrote: Adds support for USB-I2C/GPIO interfaces of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. Details about the device can be found at: http://www.cypress.com/?rID=84126 Signed-off-by: Muthu Mani m...@cypress.com

Re: Urb completion handler returns -32

2014-09-30 Thread Naveen Kumar Parna
The device tree is here: root@naveen-OptiPlex-745:/home/naveen# lsusb -t 1-1.5.2:1.2: No such file or directory 1-1.5.3:1.2: No such file or directory 1-1.5.4:1.2: No such file or directory 1-1.5.5:1.2: No such file or directory 1-1.5.6:1.2: No such file or directory 1-1.5.7.1:1.2: No such

Re: Poor performance with USB 1.1 drive connected to USB 3.0 port

2014-09-30 Thread Mark Knibbs
On Tue, 30 Sep 2014 14:10:28 +0800 Lu, Baolu baolu...@linux.intel.com wrote: On 9/30/2014 5:03 AM, Mark Knibbs wrote: Great. I hope someone else is motivated to reproduce the issue. It will take a long time for me to bisect due to my slow computer. Hi Mark, I tried to reproduce this

Re: [PATCH v3 2/2] usb: renesas_usbhs: Add device tree support for R-Car H2 and M2

2014-09-30 Thread Yoshihiro Shimoda
Hello. (2014/09/30 1:35), Sergei Shtylyov wrote: Hello. On 09/03/2014 09:25 AM, Yoshihiro Shimoda wrote: This driver supports other SoCs, but they need boards/Soc depend code. So, this patch adds device tree support for R-Car H2 and M2 initially. Signed-off-by: Yoshihiro Shimoda

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-30 Thread Arnd Bergmann
On Tuesday 30 September 2014 08:12:07 Peter Chen wrote: + + if (dev-of_node) { + ret = ci_hdrc_usb2_dt_probe(dev, ci_pdata); + if (ret) + goto clk_err; + } else { + ret = dma_set_mask_and_coherent(pdev-dev,

Re: [PATCH v4] ARM: shmobile: r8a7790: link PCI USB devices to USB PHY

2014-09-30 Thread Arnd Bergmann
On Monday 29 September 2014 22:21:59 Sergei Shtylyov wrote: + + usb@0,1 { + reg = 0x800 0 0 0 0; + device_type = pci; + phys = usb0 0; + phy-names = usb; + }; + +

Re: [PATCH 2/3] i2c: add support for Cypress CYUSBS234 USB-I2C adapter

2014-09-30 Thread Johan Hovold
On Thu, Sep 25, 2014 at 05:46:16AM +, Muthu Mani wrote: +static int cy_i2c_xfer(struct i2c_adapter *adapter, +struct i2c_msg *msgs, int num) { + int ret = 0; + struct cyusbs_i2c *cy_i2c; + struct cyusbs23x *cyusbs = (struct cyusbs23x

Re: [PATCH v2 2/3] i2c: add support for Cypress CYUSBS234 USB-I2C adapter

2014-09-30 Thread Johan Hovold
On Thu, Sep 25, 2014 at 11:21:15AM +0530, Muthu Mani wrote: Adds support for USB-I2C interface of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. The read/write operation is setup using vendor command through control endpoint and actual data transfer happens through bulk

Re: [PATCH v2 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-09-30 Thread Johan Hovold
On Thu, Sep 25, 2014 at 11:21:58AM +0530, Muthu Mani wrote: Adds support for USB-GPIO interface of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. The GPIO get/set can be done through vendor command on control endpoint. Details about the device can be found at:

Re: [PATCH v2 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-09-30 Thread Johan Hovold
On Tue, Sep 30, 2014 at 01:08:29PM +0200, Johan Hovold wrote: On Thu, Sep 25, 2014 at 11:21:58AM +0530, Muthu Mani wrote: +static int cy_gpio_direction_input(struct gpio_chip *chip, + unsigned offset) +{ + return 0; +} + +static int

Re: [PATCH 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-09-30 Thread Johan Hovold
On Thu, Sep 25, 2014 at 05:47:11AM +, Muthu Mani wrote: -Original Message- From: Johan Hovold [mailto:jhov...@gmail.com] On Behalf Of Johan Hovold +static int cy_gpio_direction_input(struct gpio_chip *chip, + unsigned offset) { +

Re: [PATCH] USB: host: st: fix ehci/ohci driver selection

2014-09-30 Thread Paul Bolle
/ohci driver selection) in next-20140930. diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index b943545f862c..002ba1d5bcf5 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -174,6 +174,15 @@ config USB_EHCI_HCD_SPEAR Enables support

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-30 Thread Peter Chen
On Tue, Sep 30, 2014 at 12:03:42PM +0200, Arnd Bergmann wrote: On Tuesday 30 September 2014 08:12:07 Peter Chen wrote: + + if (dev-of_node) { + ret = ci_hdrc_usb2_dt_probe(dev, ci_pdata); + if (ret) + goto clk_err; + } else {

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-30 Thread Arnd Bergmann
On Tuesday 30 September 2014 20:39:34 Peter Chen wrote: Thanks, Arnd. I had not thought setting dma mask is so complicated, yes, it should check the return value, two things to confirm: - dma_coerce_mask_and_coherent or dma_set_mask_and_coherent, the only difference of these two API is the

Re: [RFC PATCH 3/4] usb: dwc3: add quirk to be compatible for AMD NL

2014-09-30 Thread Felipe Balbi
On Mon, Sep 29, 2014 at 11:48:41PM -0500, Felipe Balbi wrote: Hi, On Tue, Sep 30, 2014 at 11:12:55AM +0800, Huang Rui wrote: On Thu, Sep 25, 2014 at 03:21:46PM +0800, Huang Rui wrote: diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index

Re: Urb completion handler returns -32

2014-09-30 Thread Alan Stern
On Tue, 30 Sep 2014, Naveen Kumar Parna wrote: Hi Alan, The device replied with a STALL. The device runs at low speed or full speed and is connected through a USB-2 hub Yes, my device is full speed (12Mbps) device and connected to 2.0 root hub. So how to avoid getting the STALL? I

[SOLVED] Re: No USB3 / Asus P5B-VM, U3S6 and Transcend RDF-8 card reader

2014-09-30 Thread Daniel van Gerpen
Am Tue, 23 Sep 2014 23:09:25 +0200 schrieb Daniel van Gerpen dan...@vangerpen.de: my RDF-8 card reader does not establish a super-speed connection when connected to an U3S6 USB3.0 port. It only manages high-speed: [..] Problem was not kernel related. Fixed by changing the BIOS Option for PCI

Re: [PATCH net] r8152: fix setting RTL8152_UNPLUG

2014-09-30 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Tue, 30 Sep 2014 16:48:01 +0800 The flag of RTL8152_UNPLUG should only be set when the device is unplugged, not each time the rtl8152_disconnect() is called. Otherwise, the device wouldn't be stopped normally. Signed-off-by: Hayes Wang

Re: [PATCH v3 2/2] usb: renesas_usbhs: Add device tree support for R-Car H2 and M2

2014-09-30 Thread Sergei Shtylyov
Hello. On 09/30/2014 01:51 PM, Yoshihiro Shimoda wrote: This driver supports other SoCs, but they need boards/Soc depend code. So, this patch adds device tree support for R-Car H2 and M2 initially. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com Acked-by: Kuninori Morimoto

[PATCH net 0/2] r8152: patches about firmware

2014-09-30 Thread Hayes Wang
The patches fix the issues when the firmware exists. For the multiple OS, the firmware may be loaded by the driver of the other OS. And the Linux driver has influences on it. Hayes Wang (2): r8152: remove clearing bp r8152: disable power cut for RTL8153 drivers/net/usb/r8152.c | 30

[PATCH net 1/2] r8152: remove clearing bp

2014-09-30 Thread Hayes Wang
The xxx_clear_bp() is used to halt the firmware. It only necessary for updating the new firmware. Besides, depend on the version of the current firmware, it may have problem to halt the firmware directly. Finally, halt the firmware would let the firmware code useless, and the bugs which are fixed

[PATCH net 2/2] r8152: disable power cut for RTL8153

2014-09-30 Thread Hayes Wang
The firmware would be clear when the power cut is enabled for RTL8153. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 18b9e0d..604ef21 100644