Alan Stern schrieb:
On Wed, 7 Dec 2005, Carl-Daniel Hailfinger wrote:
Please send the patch above for inclusion in 2.6.15.
Thanks for your help!
Unfortunately that patch is not suitable for the kernel. Below is another
patch that _is_ suitable. If this one works as well as the other (be sure
to remove the previous patch before testing!), I will submit it for
inclusion.
I can suspend and resume successfully using your latest patch. Previous
patch had been reversed prior to the test as you suggested.
However it's probably too late for this to go into 2.6.15 -- more likely
it won't appear until 2.6.16.
That's unfortunate. With either of your patches, suspend worked again for
me. May I ask you to try to submit your patch anyway, perhaps it will end
up in 2.6.15 (and I'd be happy).
dmesg excerpt follows:
usb 1-2: new full speed USB device using uhci_hcd and address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0
proto 2 vid 0x04E8 pid 0x3242
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
PM: Preparing system for mem sleep
Stopping tasks: ==========================================|
[...ACPI stuff...]
PM: Entering mem sleep
Back to C!
PM: Finishing wakeup.
[...ACPI stuff...]
Restarting tasks...<6>usb 1-2: USB disconnect, address 2
drivers/usb/class/usblp.c: usblp0: removed
done
usb 1-2: new full speed USB device using uhci_hcd and address 3
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0
proto 2 vid 0x04E8 pid 0x3242
One question remains: Is the USB disconnect after resume expected and
if so, is there any functional difference between the two patches?
Thanks for your help!
Carl-Daniel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel