Hello,
if I connect a printer (Brother HL-1250 - 0x04f9/0x0007) to the USB port,
and do "lsusb", after printing some information it hangs (not even kill -9
works) until the printer is unplugged or turned off. Looking at the
"wchan" field in ps, then "gdb vmlinux /proc/kcore", it seems to hang in
drivers/usb/usb.c function usb_start_wait_urb, this while loop:
if (urb->status == -EINPROGRESS) {
while (timeout && urb->status == -EINPROGRESS)
status = timeout = schedule_timeout(timeout);
} else
status = 1;
PIIX4 USB controller, kernel 2.4.4, no modules, CONFIG_USB_UHCI_ALT
(but it also hangs with 2.2.19, both UHCI drivers tested as modules).
"usbview" doesn't hang, and data sent to /dev/usb/lp0 is printed.
Please tell me what should I do to help debug this. Is the printer
broken somehow (never used with USB before, it has a parallel port
as well)? Even if so, there should be a check for pending signals
inside the loop, or am I missing something?
Thanks,
Marek
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users