Re: [PATCH 21/22] usbip: vhci_hcd: use USB_DT_HUB

2015-03-31 Thread Valentina Manea
On Sun, Mar 29, 2015 at 12:45 AM, Sergei Shtylyov sergei.shtyl...@cogentembedded.com wrote: Fix using the bare number to set the 'bDescriptorType' field of the Hub Descriptor while the value is #define'd in linux/usb/ch11.h. Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com

bus powered hub reported as self powered

2015-03-31 Thread Rong Wang
Hi all, I'm on USB certification of a vendor SoC, and there's a case called Bus powered hub power exceeded test in the compliance plan defined by the usb.org. It requires an error message when a device (Max power descriptor 100mA) is attached to an external bus powered hub. But when I attached

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-31 Thread Marc Joliet
(Sorry for the belated response.) Am Mon, 23 Mar 2015 17:14:27 -0400 (EDT) schrieb Alan Stern st...@rowland.harvard.edu: On Mon, 23 Mar 2015, Marc Joliet wrote: OK, so obviously the drive is doing something wrong. I'm just confused about why one way works and not the other: -

Re: [PATCH V9 02/10] USB: f81232: implement RX bulk-in EP

2015-03-31 Thread Peter Hung
Hello, Thanks for your kindly support and code review. It's my honor to work with you :D Johan Hovold 於 2015/3/28 上午 12:17 寫道: I'll apply the whole series now. Thanks again for fixing up this driver! Johan -- With Best Regards, Peter Hung -- To unsubscribe from this list: send the line

Re: bus powered hub reported as self powered

2015-03-31 Thread Rong Wang
Hi Alan, Thanks for the confirmative answer, since I suspect it's the bug of the hub first, but all the three hubs at my hand report the same status. I can see why the hubs are reported as self powered, e.g. if there's a device configured with max power equals to 120 mA, if the hub is self

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-31 Thread Alan Stern
On Tue, 31 Mar 2015, Marc Joliet wrote: Like Matt suggested, the most reasonable possibility is an interaction with the BIOS. Like I said in my replay to Matt, the BIOS doesn't support booting via USB. The If it supports a USB keyboard, it might still go through and initialize all

[PATCH 0/6] Allow UVC devices to remain runtime-suspended when sleeping

2015-03-31 Thread Tomeu Vizoso
Hi, this series contain what I needed to do in order to have my USB webcam to not be resumed when the system resumes, reducing considerably the total time that resuming takes. It makes use of the facility that Rafael Wysocki added in aae4518b3 (PM / sleep: Mechanism to avoid resuming

Re: [PATCH 6/6] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-03-31 Thread Alan Stern
On Tue, 31 Mar 2015, Tomeu Vizoso wrote: Have dev_pm_ops.prepare return 1 for USB devices, interfaces, endpoints and ports so that USB devices can remain runtime-suspended when the system goes to a sleep state. Also enable runtime PM for endpoints, which is another requirement for the

[PATCH 6/6] USB / PM: Allow USB devices to remain runtime-suspended when sleeping

2015-03-31 Thread Tomeu Vizoso
Have dev_pm_ops.prepare return 1 for USB devices, interfaces, endpoints and ports so that USB devices can remain runtime-suspended when the system goes to a sleep state. Also enable runtime PM for endpoints, which is another requirement for the above to work. Signed-off-by: Tomeu Vizoso

Re: [PATCH 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-03-31 Thread Kishon Vijay Abraham I
On Friday 27 March 2015 04:37 AM, Dmitry Torokhov wrote: On Wed, Mar 25, 2015 at 05:04:32PM -0700, Arun Ramamurthy wrote: On 15-03-25 03:03 PM, Kishon Vijay Abraham I wrote: Hi, On Saturday 21 March 2015 02:59 AM, Arun Ramamurthy wrote: On 15-03-20 02:26 PM, Dmitry Torokhov wrote: Hi

usb: gadget: f_fs: O_NONBLOCK waits MAX_SCHEDULE_TIMEOUT

2015-03-31 Thread Baxter, Jim
Hi, I have been looking at an issue where a phone that is the Function FS host sometimes locks up and causes the function: static ssize_t ffs_epfile_io(struct file *file, struct ffs_io_data *io_data) in drivers/usb/gadget/function/f_fs.c to timeout after MAX_SCHEDULE_TIMEOUT jiffies. We are

Re: usb: gadget: f_fs: O_NONBLOCK waits MAX_SCHEDULE_TIMEOUT

2015-03-31 Thread Felipe Balbi
Hi, (it helps if you Cc the maintainer too :-) On Tue, Mar 31, 2015 at 07:53:39PM +0100, Baxter, Jim wrote: I have been looking at an issue where a phone that is the Function FS host sometimes locks up and causes the function: which USB controller ? which kernel ? which platform ? static

Re: bus powered hub reported as self powered

2015-03-31 Thread Alan Stern
On Tue, 31 Mar 2015, Rong Wang wrote: Hi all, I'm on USB certification of a vendor SoC, and there's a case called Bus powered hub power exceeded test in the compliance plan defined by the usb.org. It requires an error message when a device (Max power descriptor 100mA) is attached to an

Re: Errata for Freescale root-hub TT?

2015-03-31 Thread Alan Stern
On Tue, 31 Mar 2015, Peter Chen wrote: I reproduced this issue, I can't see the fifth endpoints during the SoFs although the time to SoF boundary is about 800us, see attached. - At transaction 3749, the third UAC2 gadget is ready to send/receive data. - At next SoF periods, the first and

Re: Errata for Freescale root-hub TT?

2015-03-31 Thread Peter Chen
On Tue, Mar 31, 2015 at 10:02:52AM -0400, Alan Stern wrote: On Tue, 31 Mar 2015, Peter Chen wrote: I reproduced this issue, I can't see the fifth endpoints during the SoFs although the time to SoF boundary is about 800us, see attached. - At transaction 3749, the third UAC2 gadget is