Re: USB deadlock after resume | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Am Mittwoch 21 November 2007 schrieb Felipe Balbi: > > Do you know any good way for performing a softreset within the driver? > > The video application should get a continuous datastream after > > resuming the notebook, so the driver shouldn't be unloaded. > > The driver also keeps a list of previous camera settings which should > > be set up again after resuming. Stopping the video application and > > reattaching the device using ACPI (this board supports reconnecting > > the device using ACPI) should be avoided. > > When you suspend, you cut off vbus (afaik, correct me if I'm wrong), which > means your device will get disconnected. One way to avoid this is enabling > CONFIG_USB_PERSIST and trying with that on. Suspend may or may not cut off power. If it does cut off power, resume() will never be called, instead either disconnect() or reset_resume(). Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[Home] [Video for Linux] [Photo] [Yosemite Forum] [Yosemite Photos] [Video Projectors] [PDAs] [Hacking TiVo] [Linux Kernel] [Linux SCSI] [XFree86] [Devices] [Big List of Linux Books] [Free Dating]
![]() |