----- Original Message ----- > ----- Original Message ----- > > On Tue, Apr 12, 2011 at 06:25:26PM -0400, CAI Qian wrote: > > > > > > > > > ----- Original Message ----- > > > > On Tue, Apr 12, 2011 at 04:34:10PM -0400, CAI Qian wrote: > > > > > > If auto-suspend is working properly, you > > > > > > should > > > > > > see messages like: > > > > > > > > > > > > "usb 9-1: usb auto-suspend" > > > > > Yes, there was a message there. > > > > > > > > > > kernel: usb 9-1.2: usb auto-suspend > > > > > > > > Ok, will you please try the patch Alan sent (the one that > > > > removes > > > > the > > > > can_submit check). I am able to reproduce this with Linus' > > > > latest > > > After applied this patch on the top of the 5 patches, it is now > > > working. > > > Awesome! Thanks! > > > > Great! Can you test with just Andiry's work-around patch and Alan's > > patch? Andiry's 5 patches are too large to go into 2.6.39, so we > > need a quick fix for 2.6.39. > That is also working for me. > > CAI Qian > > I noticed that there was one issue with the resume from hibernate on > > my > > system, and I'll send you a patch shortly. I have also noticed one major problem though that the USB 3.0 storage device is gone after the hibernate/resume. usb 8-1: usb auto-suspend hub 8-0:1.0: hub_suspend usb usb8: bus auto-suspend xhci_hcd 0000:1a:00.0: suspend USB 2.0 root hub xhci_hcd 0000:1a:00.0: `MEM_WRITE_DWORD(3'b000, 32'hffffc90012858450, 32'ha0002a0, 4'hf); xhci_hcd 0000:1a:00.0: `MEM_WRITE_DWORD(3'b000, 32'hffffc90012858440, 32'hc000e61, 4'hf); xhci_hcd 0000:1a:00.0: `MEM_WRITE_DWORD(3'b000, 32'hffffc90012858444, 32'h8, 4'hf); sd 5:0:0:0: [sdb] Unhandled error code sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 01 00 00 01 00 end_request: I/O error, dev sdb, sector 8 Buffer I/O error on device sdb, logical block 1 sd 5:0:0:0: [sdb] Unhandled error code sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 01 00 00 01 00 end_request: I/O error, dev sdb, sector 8 Buffer I/O error on device sdb, logical block 1 sd 5:0:0:0: [sdb] Unhandled error code sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 2b aa 14 74 00 00 01 00 end_request: I/O error, dev sdb, sector 5860533152 Buffer I/O error on device sdb, logical block 732566644 ... CAI Qian -- 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