Re: [GIT PATCH] USB patches for 3.9-rc1

Dave Jones
2013-02-22T16:43:31Z

On Fri, Feb 22, 2013 at 05:51:10PM +0800, Lan Tianyu wrote:

> > > Nothing major, lots of gadget fixes, and of course, xhci stuff.
> >
> > I get no USB devices recognised when I insert them any more, which
> > I think is pretty major. I suspect it has something to do with this ?
> >
> > > Lan Tianyu (12):
> > > usb: add runtime pm support for usb port device
> > > usb: add usb port auto power off mechanism
> >
> > It looks like every port on my laptop is powered down, as I can't
> > even charge devices with it.
>
> Do you enable the port/power/pm_qos_no_power_off?
> cat /sys/bus/usb/devices/(dev)/port/power/pm_qos_no_power_off to show.

/sys/bus/usb/devices/1-1.4/port/power/pm_qos_no_power_off:1
/sys/bus/usb/devices/1-1.6/port/power/pm_qos_no_power_off:1
/sys/bus/usb/devices/1-1/port/power/pm_qos_no_power_off:1
/sys/bus/usb/devices/2-1/port/power/pm_qos_no_power_off:1

I changed them to 0, made no difference.

> > What can I do to debug this ?
> Can you attach the output of dmesg with CONFIG_USB_DEBUG?

http://paste.fedoraproject.org/3620

Dave