On Sunday 24 October 2004 07:28, Pavel Kysilka wrote:
> 
>    Hi,
> 
> i was testing acpi in my computer. i found problem with suspending usb
> device.
> 
> i test:
> 
> echo 1 > /proc/acpi/sleep

Or better yet, the new-school approach:

   echo standby > /sys/power/state
 
> and i get this output from kernel.log:
> 
> ...
> Oct 24 16:02:33 prog3 kernel: uhci_hcd 0000:00:07.3: Unlink after no-IRQ?
>        Different ACPI or APIC settings may help. 
> Oct 24 16:02:33 prog3 kernel: uhci_hcd 0000:00:07.2: Unlink after no-IRQ?
>        Different ACPI or APIC settings may help.

Those look odd ... especially if you've got no USB devices connected,
there should be no URBs that need unlinking!  I don't see messages like
those; but maybe it's just because of one of several usbcore PM fixes
I've not yet submitted.

         
> Oct 24 16:02:33 prog3 kernel: uhci_hcd 0000:00:07.3: suspend D0 --> D1
> Oct 24 16:02:33 prog3 kernel: uhci_hcd 0000:00:07.3: suspend_hc
> Oct 24 16:02:33 prog3 kernel: uhci_hcd 0000:00:07.3: PCI suspend fail, -5

There are mismatches between the upper layers of system suspend
and what PCI does.  In particular, the "suspend to ACPI-S1" request
is getting foolishly mapped into "enter PCI state D1", and there's a lot
of UHCI hardware that can't do that.

Sometime next week I'll post a batch of PM updates for USB, one of
which handles this case.  I've posted the relevant patch before, but
it probably depends on some of the other updates.


> 0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 0e) (prog-if 00 [UHCI])
>       ...
>       Capabilities: [80] Power Management version 2
>               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>               Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Exactly:  it doesn't support PCI D1 or D2 states.  (Or PME# wakeup signaling.)
So it was bogus for the PM core code to tell it to enter that state.

- Dave



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to