Re: Not enough host controller resources for new device state

2015-11-21 Thread Alan Stern
On Sat, 21 Nov 2015, Patrick Shirkey wrote: > On Sat, November 21, 2015 9:35 am, Peter Stuge wrote: > > Patrick Shirkey wrote: > >> > You essentially have to educate yourself on silicon level (ie. what > >> > hardware IP is being used in which consumer products) to sustain a > >> > dependency on 1

Re: [Linux USB] enable/disable individual ports

2015-11-21 Thread Alan Stern
On Sat, 21 Nov 2015, Patrick Shirkey wrote: > Hi, > > I have a libusb (USB-2.0_ tree with the following layout: > > HOST (USB 2.0) -> 5 port hub (master) -> 5 x 10 port hub -> 50 x USB devices > > It is a 50 unit mobile device charger and also enables USB data comms to > the individual devices.

Re: [Linux USB] enable/disable individual ports

2015-11-21 Thread Bjørn Mork
Alan Stern writes: > I have written a program (for Linux only; it doesn't use libusb) that > issues a reset to a single device: > > http://marc.info/?l=linux-usb&m=126944503308931&w=2 > > You can use this to reset each of the 10-port hubs in turn. Or even to > reset the 5-port hub. This

Re: [PATCH] usb-storage: Fix scsi-sd failure "Invalid field in cdb" for USB adapter JMicron

2015-11-21 Thread Dmitry Katsubo
On 20/11/2015 17:08, Alan Stern wrote: > On Fri, 20 Nov 2015, Dmitry Katsubo wrote: > >> From: Dmitry Katsubo >> >> The patch extends the family of SATA-to-USB JMicron adapters that need >> FUA to be disabled and applies the same policy for uas driver. >> See details in http://unix.stackexchange.

Re: [Linux USB] enable/disable individual ports

2015-11-21 Thread Greg KH
On Sat, Nov 21, 2015 at 08:32:10PM +0100, Bjørn Mork wrote: > Alan Stern writes: > > > I have written a program (for Linux only; it doesn't use libusb) that > > issues a reset to a single device: > > > > http://marc.info/?l=linux-usb&m=126944503308931&w=2 > > > > You can use this to reset ea

Re: [PATCH v4 2/3] usb: phy: msm: fix connect/disconnect bug for dragonboard OTG port

2015-11-21 Thread Bjorn Andersson
On Fri 20 Nov 15:47 PST 2015, Tim Bird wrote: > Add support for async_irq to wake up driver from low power mode. > Without this, the power management code never calls resume. > Remove a spurious interrupt enable in the driver resume function. > > Signed-off-by: Tim Bird Sorry Tim for missing th

Re: [PATCH v4 01/12] usb: xhci: add sysfs file for xHCI debug port

2015-11-21 Thread Lu Baolu
On 11/20/2015 10:33 PM, Mathias Nyman wrote: On 17.11.2015 08:38, Lu Baolu wrote: This patch adds a sysfs file for users to check 1) whether the debug capability is implemented by hardware; 2) if supported, which state does it stay at. With a host that supports debug port, a file named "debug

[PATCH] USB: quirks: Fix another ELAN touchscreen

2015-11-21 Thread Adrien Vergé
Like other buggy models that had their fixes [1], the touchscreen with id 04f3:21b8 from ELAN Microelectronics needs the device-qualifier quirk. Otherwise, it fails to respond, blocks the boot for a random amount of time and pollutes dmesg with: [ 2887.373196] usb 1-5: new full-speed USB device nu