Alan Stern ha scritto:

On Sat, 24 Sep 2005, Patrizio Bassi wrote:

000:00:0a.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
       Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
       Latency: 32, cache line size 08
       Interrupt: pin B routed to IRQ 9
       Region 4: I/O ports at a400 [size=32]
       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-

Ah yes.  These last two lines say that the controller does not support
Remote Wakeup in any state.

patch applied good, but....


CC      drivers/usb/core/hcd-pci.o
drivers/usb/core/hcd-pci.c: In function `usb_hcd_pci_resume':
drivers/usb/core/hcd-pci.c:355: error: `rc' undeclared (first use in this function) drivers/usb/core/hcd-pci.c:355: error: (Each undeclared identifier is reported only once
drivers/usb/core/hcd-pci.c:355: error: for each function it appears in.)
make[3]: *** [drivers/usb/core/hcd-pci.o] Error 1

ok....it's a trivial "error"

just declare rc before the #ifdef DEBUG

Yes, my fault. It compiled okay on my computer because I have debugging enabled.

Alan Stern


Stopping tasks: ====================|
Freeing memory... done (38360 pages freed)
usbfs 1-2:1.0: resume is unsafe!
ACPI: PCI interrupt for device 0000:00:0d.0 disabled
ACPI: PCI interrupt for device 0000:00:0a.2 disabled
ehci_hcd 0000:00:0a.2: Unable to activate remote wakeup from 4: -22
ACPI: PCI interrupt for device 0000:00:0a.1 disabled
uhci_hcd 0000:00:0a.1: Unable to activate remote wakeup from 3: -22
uhci_hcd 0000:00:0a.1: Unable to activate remote wakeup from 4: -22
ACPI: PCI interrupt for device 0000:00:0a.0 disabled
uhci_hcd 0000:00:0a.0: Unable to activate remote wakeup from 3: -22
uhci_hcd 0000:00:0a.0: Unable to activate remote wakeup from 4: -22
ACPI: PCI interrupt for device 0000:00:09.0 disabled
ACPI: PCI interrupt for device 0000:00:04.2 disabled
swsusp: Need to copy 19955 pages
ACPI: PCI Interrupt 0000:00:04.2[D] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:04.2[D] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth0: Setting promiscuous mode.
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
usb 1-2: USB disconnect, address 2
ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:0a.2[C] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 ACPI: PCI Interrupt 0000:00:0a.2[C] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth1: Setting promiscuous mode.
usb 1-2: new full speed USB device using uhci_hcd and address 3
Restarting tasks... done

works perfectly!!!! please commit upstream asap.

i posted this dmesg just because i see -22 errors, but, as you said, it should be
related to wakeup unsupported.


ps. i've only another usb trouble:
usb 1-2: usbfs: process 9623 (eciadsl-firmwar) did not claim interface 0 before use

it works good, but it print that warning.
eciadsl team says it's a kernel bug, can you take a look at it?

http://cvs.sourceforge.net/viewcvs.py/eciadsl/usermode/eciadsl-firmware.c?rev=1.6&view=markup

Thanks for your help!


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to