Re: UAS problem

2015-06-07 Thread Oliver Neukum
On Sun, 2015-06-07 at 04:19 +, James wrote: > I am having trouble with my USB3 drive, it drops the connection. > > I found this in dmesg: > > [59375.478410] usb 3-1: USB controller :02:00.0 does not support > streams, which are required by the UAS driver. > > I use kernel-4.0.4 > > [582

Re: [PATCH 2/2] usb: gadget: f_mass_storage: defer storage thread wakeup

2015-06-07 Thread Sanjay Singh Rawat
On 6/6/2015 3:22 PM, Michal Nazarewicz wrote: On Fri, Jun 05 2015, Sanjay Singh Rawat wrote: As the bind configuration is not complete during thread creation, defering the thread wake to end of bind. Signed-off-by: Sanjay Singh Rawat --- drivers/usb/gadget/function/f_mass_storage.c | 5 +++-

Re: UAS problem

2015-06-07 Thread James
Oliver Neukum writes: > > On Sun, 2015-06-07 at 04:19 +, James wrote: > > I am having trouble with my USB3 drive, it drops the connection. > > > > I found this in dmesg: > > > > [59375.478410] usb 3-1: USB controller :02:00.0 does not support > > streams, which are required by the UAS

[RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Anand Moon
Facilitate getting required 3.3V and 1.0V VDD supply for EHCI controller on Exynos. With the patches for regulators' nodes merged in 3.15: c8c253f ARM: dts: Add regulator entries to smdk5420 275dcd2 ARM: dts: add max77686 pmic node for smdk5250, the exynos systems turn on only minimal number of re

[RESEND 2/2] usb: ohci-exynos: Make provision for vdd regulators

2015-06-07 Thread Anand Moon
Facilitate getting required 3.3V and 1.0V VDD supply for OHCI controller on Exynos. With patches for regulators' nodes merged in 3.15: c8c253f ARM: dts: Add regulator entries to smdk5420 275dcd2 ARM: dts: add max77686 pmic node for smdk5250, the exynos systems turn on only minimal number of regula

Re: [PATCH 2/3] usb: chipidea: usbmisc_imx: delete clock information

2015-06-07 Thread Fabio Estevam
Hi Maciej, On Sat, Jun 6, 2015 at 7:16 PM, Maciej S. Szmigiero wrote: > I think your idea of having this clock under USB host controller was fine, > maybe it just needs to be renamed to something like "hub" or "aux" > (like you mentioned previously)? Please feel free to modify my patch and subm

Re: SuperSpeed usb-storage, yet runs at 5Mbyte/sec

2015-06-07 Thread Mark Hills
On Sat, 6 Jun 2015, Alan Stern wrote: > On Sat, 6 Jun 2015, Mark Hills wrote: > > >Whatever the reason is, it doesn't seem to be connected with the USB > > >stack. > > > > Ok thanks for your assistance. Unless anyone does have any ideas here, > > I suppose my only option is to start tracing th

Re: USB3 external HDD not recognized [regression]

2015-06-07 Thread Lu, Baolu
On 06/06/2015 04:56 AM, Ralf Jung wrote: Hi, I got some untested and not yet reviewed usb3 resume race fixes from Zhuang Jin Can If you can try them out and see if they help it would be great. They are sitting in a topic branch called "xhci_usb3_pm_fixes" in my tree: (5 extra patches on top

Re: [RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Krzysztof Kozlowski
On 07.06.2015 22:20, Anand Moon wrote: > Facilitate getting required 3.3V and 1.0V VDD supply for > EHCI controller on Exynos. > > With the patches for regulators' nodes merged in 3.15: > c8c253f ARM: dts: Add regulator entries to smdk5420 > 275dcd2 ARM: dts: add max77686 pmic node for smdk5250, >

[GIT PULL] USB Chipidea updates for v4.2-rc1

2015-06-07 Thread Peter Chen
Hi Greg, Below is the pull request for USB Chipidea tree, thanks. Peter The following changes since commit b3d424e3dcbb5eba572baae30e1052b2fff7b51e: Merge tag 'phy-for-v4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy into usb-next (2015-06-03 14:13:41 +0900) are avai

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-06-07 Thread Felipe Balbi
On Sat, Jun 06, 2015 at 10:04:55AM +0200, Pali Rohár wrote: > On Friday 05 June 2015 22:17:09 Felipe Balbi wrote: > > Hi, > > > > On Fri, Jun 05, 2015 at 10:09:03PM +0200, Pali Rohár wrote: > > > On Friday 29 May 2015 18:57:06 Felipe Balbi wrote: > > > > All right, I tried merging it and it added

Re: [RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Anand Moon
Hi Krzysztof , On 8 June 2015 at 07:40, Krzysztof Kozlowski wrote: > On 07.06.2015 22:20, Anand Moon wrote: >> Facilitate getting required 3.3V and 1.0V VDD supply for >> EHCI controller on Exynos. >> >> With the patches for regulators' nodes merged in 3.15: >> c8c253f ARM: dts: Add regulator ent

Re: [RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Krzysztof Kozlowski
2015-06-08 13:21 GMT+09:00 Anand Moon : > Hi Krzysztof , > > On 8 June 2015 at 07:40, Krzysztof Kozlowski wrote: >> On 07.06.2015 22:20, Anand Moon wrote: >>> Facilitate getting required 3.3V and 1.0V VDD supply for >>> EHCI controller on Exynos. >>> >>> With the patches for regulators' nodes merg

[PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-06-07 Thread Pali Rohár
This patch adds removable mass storage support to g_nokia gadget (for N900). It means that at runtime block device can be exported or unexported. So it does not export anything by default and thus allows to use MyDocs partition as before... Signed-off-by: Pali Rohár --- drivers/usb/gadget/legacy

[PATCH v2 0/4] usb: gadget: mass-storage: handle thread in error case

2015-06-07 Thread Sanjay Singh Rawat
This patch set releases storage thread in error case. Changes since v1: - Handled review comments from Michal. - updated patch-2 : added thread wake in legacy client of function (patch-2). - added patch-4 : freeing file-storage thread in configuration error case. - added patch-3 (neede

[PATCH v2 1/4] usb: gadget: f_mass_storage: stop thread in bind failure case

2015-06-07 Thread Sanjay Singh Rawat
After the worker thread is launched, bind function is doing further configuration. In case of failure stop the thread. Signed-off-by: Sanjay Singh Rawat --- drivers/usb/gadget/function/f_mass_storage.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/

[PATCH v2 3/4] usb: gadget: move common storage gadget structure to header file

2015-06-07 Thread Sanjay Singh Rawat
struct fsg_common is used in multiple files, moving it to header file from the source file. Signed-off-by: Sanjay Singh Rawat --- drivers/usb/gadget/function/f_mass_storage.c | 70 drivers/usb/gadget/function/f_mass_storage.h | 68 ++- 2 files

[PATCH v2 2/4] usb: gadget: mass-storage: defer storage thread wakeup

2015-06-07 Thread Sanjay Singh Rawat
As the configuration is not complete at the time of thread creation, defering the thread wakeup till the end. Signed-off-by: Sanjay Singh Rawat --- drivers/usb/gadget/function/f_mass_storage.c | 5 +++-- drivers/usb/gadget/legacy/acm_ms.c | 3 +++ drivers/usb/gadget/legacy/mass_storage

[PATCH v2 4/4] usb: gadget: stop mass storage thread in failure case

2015-06-07 Thread Sanjay Singh Rawat
We are launching the mass-storage thread during the function configuration phase, in case of failure adding function to stop the thread. Signed-off-by: Sanjay Singh Rawat --- drivers/usb/gadget/legacy/acm_ms.c | 2 ++ drivers/usb/gadget/legacy/mass_storage.c | 1 + drivers/usb/gadget/legac

Re: [RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Javier Martinez Canillas
Hello, On Mon, Jun 8, 2015 at 7:14 AM, Krzysztof Kozlowski wrote: [...] > > To summarize my point of view: > 1. Unless Vivek's says otherwise, please give him the credits with > proper "from" field. > 2. Issues mentioned in previous mail should be addressed (missing > IS_ERR(), how disabling th

Re: [RESEND 1/2] usb: ehci-exynos: Make provision for vdd regulators

2015-06-07 Thread Krzysztof Kozlowski
2015-06-08 15:42 GMT+09:00 Javier Martinez Canillas : > Hello, > > On Mon, Jun 8, 2015 at 7:14 AM, Krzysztof Kozlowski > wrote: > > [...] > >> >> To summarize my point of view: >> 1. Unless Vivek's says otherwise, please give him the credits with >> proper "from" field. >> 2. Issues mentioned in p