Re: [PATCH] ppc32: Rework power management take #3
> The only log I have is:
> hci_usb_intr_rx_submit: hci0 intr rx submit failed urb de5791f4 err -90
> I don't really understand how suspend/resume is supposed to work for USB
Looks like the host controller is dead. I'll have a look later, I'm
doing more major work on the swsusp stuff at the moment. I suspect more
suspend/resume "issues" with USB, it never works properly.
> When resuming, I see disconnect/reconnect messages from ehci_hcd
> corresponding to my external usb mouse:
> ehci_hcd 0001:10:1b.2: park 0
> ehci_hcd 0001:10:1b.2: USB 2.0 restarted, EHCI 1.00, driver 10 Dec 2004
> usb 4-1: USB disconnect, address 3
> usb 4-1: new low speed USB device using ohci_hcd and address 4
> input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0001:10:1b.1-1
> But no other USB messages. However, this Powerbook has a USB keyboard,
> which works ok after the resume. Even stranger, the USB keyboard and the
> bluetooth controller are on the same USB bus:
> Bus 004 Device 005: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
> Bus 004 Device 001: ID 0000:0000
> Bus 003 Device 001: ID 0000:0000
> Bus 002 Device 007: ID 05ac:8205 Apple Computer, Inc.
> ^^^^^^^^^ this one is the bluetooth controller
> Bus 002 Device 006: ID 05ac:020f Apple Computer, Inc.
> ^^^^^^^^^ this is the keyboard
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
> I have no idea if this is Powerbook specific, so I start by posting this
> here, but linux-usb may be more appropriate...
I'd say the endpoint descriptor for the device gets stuffed or something
like that. Oh well, we'll look at this later, after I'm done doing my
rework of the common PM code.