On Sat, 29 May 2004, Jens Axboe wrote:
> Sure. Ok, so now it appears to work with bk-current (I re-applied the
> patch) and usb debugging enabled. Here's the output from dmesg after the
> boot, scanning/printing works.
Your log looks normal, at a quick glance. Don't you just love these
problems that go away when you turn on the debugging option?
Well, if the problem comes back when you turn debugging back off, you
might try the diagnostic patch below. (Although it will probably also
cause the problem to go away!)
Alan Stern
--- usb-2.6/drivers/usb/host/uhci-hcd.c Fri May 28 17:09:18 2004
+++ usb-2.6/drivers/usb/host/uhci-hcd.c Sat May 29 14:38:09 2004
@@ -1408,6 +1408,7 @@
out:
spin_unlock_irqrestore(&uhci->schedule_lock, flags);
+ dev_info(uhci_dev(uhci), "Enqueue urb %p: %d\n", urb, ret);
return ret;
}
@@ -1553,6 +1554,7 @@
done:
spin_unlock_irqrestore(&uhci->schedule_lock, flags);
+ dev_info(uhci_dev(uhci), "Dequeue urb %p\n", urb);
return 0;
}
@@ -1723,6 +1725,7 @@
uhci_destroy_urb_priv(uhci, urb);
spin_unlock(&uhci->schedule_lock);
+ dev_info(uhci_dev(uhci), "Giveback urb %p: %d\n", urb, urb->status);
usb_hcd_giveback_urb(hcd, urb, regs);
spin_lock(&uhci->schedule_lock);
}
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel