Re: g_file_storage: handle_exception() handled too late after the usb device sleep and wakeup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 18 Dec 2009, Yuping Luo wrote:

> > You will need to modify the controller driver if it doesn't implement
> > the ops->pullup method correctly.
> >
> > Alan Stern
> >
> >
> my pcd_pullup() already supported, it will set the RS bit with  0 for
> USBCMD. however, my device controller resumed earlier than the pm
> notifier, and will start the usb controller, the RS bit will be set
> with 1,  so the device enumeration procedure started not as we
> expected.  Maybe I need delay the resume of the device controller.

Or maybe you need to fix the resume procedure so that it doesn't set RS
to 1 if the gadget driver has called pcd_pullup() with a 0 argument.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux