On Sun, 2004-02-15 at 17:26, Alan Stern wrote: 
> On Sun, 15 Feb 2004, Axel Waggershauser wrote:
> > Well, it did not solve my problem... The workaround was applied (showing
> > "VIA UHCI babble workaround applied" in syslog) but seemed to have no
> > effect.
> 
> Do you know whether the driver wakes up the controller when you plug in
> another device after unplugging the test device?  I can't tell from your
> earlier emails.  If it leaves the controller suspended that would explain
> what you see.

If I reconnect my test device after my unplug-test I get these syslog
lines:

16:45:28: uhci_irq status = 36, uhci->state = -10

# looks like there is an interrupt from a disabled (status=0x20)
# controller ??? the uhci_irq handler processes the pending urb...

16:45:28: uhci_remove_pending_qhs processed d680eac0
16:45:28: >>> uhci_finish_urb d680eac0
16:45:28: >>> uhci_set_next_interrupt
16:45:28:  << uhci_set_next_interrupt
16:45:28:  << uhci_finish_urb d680eac0
16:45:28: drivers/usb/host/uhci-hcd.c: c800: wakeup_hc
16:45:29: hub 1-0:1.0: new USB device on port 2, assigned address 5
16:45:34: usb 1-2: control timeout on ep0out

# up until here happened what I expected but now there comes another
# uhci_urb_deque for the already processed d680eac0 URB...

16:45:34: >>> uhci_urb_dequeue d680eac0
16:45:34: >>> uhci_set_next_interrupt
16:45:34:  << uhci_set_next_interrupt
16:45:34: uhci_urb_dequeue d680eac0 list_empty == true
16:45:34: >>> uhci_set_next_interrupt
16:45:34:  << uhci_set_next_interrupt
16:45:34:  << uhci_urb_dequeue d680eac0 uhci->state: 2

Thats all that happens after the reconnection. So there is especially no
irq except this one in the first line. To me it looks like the wakeup_hc
did not really work. If I connect another device (not my test device)
after the unplug-test I get the exact same results.

Axel.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to