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

Lan Tianyu
2013-02-22T17:02:45Z

On 2013/2/23 0:43, Dave Jones wrote:
> 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
>
At last, this mean usb port power off mechanism should not work.

> 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
How about"sudo lsusb -s 1:1 -v" or "2:1"?
>
> Dave
>

--
Best Regards
Tianyu Lan
linux kernel enabling team