Bug 10977
Summary: | USB_PERSIST does not work for a specific combination of usb port, hub, and stick | ||
---|---|---|---|
Product: | Drivers | Reporter: | Astrid S. de Wijn (astrid-spammenot) |
Component: | USB | Assignee: | Alan Stern (stern) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | bunk, stern |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.26-rc6 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216 | ||
Attachments: |
kernel configuration file
dmesg output output of lsusb -v dmesg output with newer kernel, gregkh patch, and config_usb_debug enabled Retry with reset-resume if a normal resume fails |
Description
Astrid S. de Wijn
2008-06-24 14:55:03 UTC
Created attachment 16606 [details]
kernel configuration file
Created attachment 16607 [details]
dmesg output
Created attachment 16608 [details]
output of lsusb -v
USB_PERSIST should now always be enabled, so that's strange. I assume 2.6.25 worked fine? (In reply to comment #4) > USB_PERSIST should now always be enabled, so that's strange. Not sure. > I assume 2.6.25 worked fine? Well, I don't really think it's a regression in the strict sense. > I assume 2.6.25 worked fine?
In 2.6.25 USB_PERSIST did not work for me at all. I haven't tried earlier kernels.
(Aside: I wish people would assign the correct MIME type to their attachments. It's a real nuisance not to be able to view them directly in my browser.) The USB_PERSIST code has been updated. You should try running with the gregkh-all patch available from http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/ If it still doesn't work, build a kernel with CONFIG_USB_DEBUG enabled and attach the dmesg log again. The problem is still there in 2.6.26-rc8 with the patch. I'll attach the dmesg output. Sorry about the MIME type. I'll try to do better this time. Created attachment 16637 [details]
dmesg output with newer kernel, gregkh patch, and config_usb_debug enabled
Created attachment 16641 [details]
Retry with reset-resume if a normal resume fails
The problem is that hub. It maintained its connection during the suspend but then failed to respond properly during the resume. This patch will detect when that happens and then retry using a reset-resume, to try and provide persistence.
The patch fixed it. Thank you! |