On Sat, Feb 23, 2008 at 07:54:36PM -0800, David Brownell wrote:

> > When I suspend-to-RAM my HP nx6325 laptop with no device connected to
> > the OHCI port, the port will not be active after resuming.
>
> So I'd think any problem is related to the EHCI linkage, and
> maybe even something that's specific to your system.  You could
> verify that by "rmmod ehci-hcd" before suspending.

I've done two things:

[connect USB mouse]
[disconnect USB mouse]
chopin:/home/adi# rmmod ehci_hcd
[suspend]
[resume]
[connect USB mouse, nothing happens]

chopin:/home/adi# modprobe ehci_hcd
[nothing happens]
chopin:/home/adi# rmmod ohci_hcd

chopin:/home/adi# modprobe ohci_hcd
[USB mouse is getting detected]


On the other hand, when I use a USB2.0 device instead of the mouse,
suspend/resume works without unloading/reloading any module. The port is
handled by ehci_hcd.

So as mentioned earlier: the problem only exists with ohci_hcd
controlled devices being physically disconnected before suspend.

> Does this failure happen in 2.6.25-rc2 as well?  (You might
> wait what I suspect will be a couple days for RC3 to appear.)

I've checked with 2.6.25-rc3, no cure.


Here are the 2.6.24.1-logs *after* resume and with the USB mouse plugged
in, but only being detected after rmmod ohci_hcd ; modprobe ohci_hcd:

[rmmod ohci_hcd]
Feb 25 22:19:32 chopin kernel: ohci_hcd 0000:00:13.1: remove, state 1
Feb 25 22:19:32 chopin kernel: usb usb3: USB disconnect, address 1
Feb 25 22:19:32 chopin kernel: usb 3-1: USB disconnect, address 6
Feb 25 22:19:32 chopin kernel: ohci_hcd 0000:00:13.1: USB bus 3
deregistered
Feb 25 22:19:32 chopin kernel: ACPI: PCI interrupt for device
0000:00:13.1 disabled
Feb 25 22:19:32 chopin kernel: ohci_hcd 0000:00:13.0: remove, state 4
Feb 25 22:19:32 chopin kernel: usb usb2: USB disconnect, address 1
Feb 25 22:19:32 chopin kernel: ohci_hcd 0000:00:13.0: USB bus 2
deregistered
Feb 25 22:19:32 chopin kernel: ACPI: PCI interrupt for device
0000:00:13.0 disabled

[modprobe ohci_hcd]
Feb 25 22:21:14 chopin kernel: ACPI: PCI Interrupt 0000:00:13.0[A] ->
GSI 19 (level, low) -> IRQ 19
Feb 25 22:21:14 chopin kernel: ohci_hcd 0000:00:13.0: OHCI Host
Controller
Feb 25 22:21:14 chopin kernel: ohci_hcd 0000:00:13.0: new USB bus
registered, assigned bus number 2
Feb 25 22:21:14 chopin kernel: ohci_hcd 0000:00:13.0: irq 19, io mem
0xd4401000
Feb 25 22:21:14 chopin kernel: usb usb2: configuration #1 chosen from 1
choice
Feb 25 22:21:14 chopin kernel: hub 2-0:1.0: USB hub found
Feb 25 22:21:14 chopin kernel: hub 2-0:1.0: 4 ports detected
Feb 25 22:21:15 chopin kernel: ACPI: PCI Interrupt 0000:00:13.1[A] ->
GSI 19 (level, low) -> IRQ 19
Feb 25 22:21:15 chopin kernel: ohci_hcd 0000:00:13.1: OHCI Host
Controller
Feb 25 22:21:15 chopin kernel: ohci_hcd 0000:00:13.1: new USB bus
registered, assigned bus number 3
Feb 25 22:21:15 chopin kernel: ohci_hcd 0000:00:13.1: irq 19, io mem
0xd4402000
Feb 25 22:21:15 chopin kernel: usb usb3: configuration #1 chosen from 1
choice
Feb 25 22:21:15 chopin kernel: hub 3-0:1.0: USB hub found
Feb 25 22:21:15 chopin kernel: hub 3-0:1.0: 4 ports detected
Feb 25 22:21:15 chopin kernel: usb 2-3: new low speed USB device using
ohci_hcd and address 2
Feb 25 22:21:15 chopin kernel: usb 2-3: configuration #1 chosen from 1
choice
Feb 25 22:21:15 chopin kernel: input: Logitech USB-PS/2 Optical Mouse as
/class/input/input16
Feb 25 22:21:15 chopin kernel: input: USB HID v1.10 Mouse [Logitech
USB-PS/2 Optical Mouse] on usb-0000:00:13.0-3
Feb 25 22:21:16 chopin kernel: usb 3-1: new full speed USB device using
ohci_hcd and address 2
Feb 25 22:21:16 chopin kernel: usb 3-1: configuration #1 chosen from 1
choice


HTH

-- 
mail: [EMAIL PROTECTED]         http://adi.thur.de      PGP/GPG: key via 
keyserver

Warum gräbst du ein vier Wochen altes posting aus? Geh einfach sterben.
Das wäre für dich doch ein schöner Vorsatz fürs neue Jahr. (Felix Deutsch)
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to