Re: USB device reset while printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan,

Am 14.03.2012 21:49, schrieb Alan Stern:
> Okay, I see what the problem is.  Your printer has a mass-storage 
> interface -- a card reader or something of the sort, right?

Yes, indeed it has a builtin card reader.

> Starting in 3.1 the kernel continually polls this mass-storage
> interface, looking for media-change events (such as insertion of a
> memory card).  Right at the time you began printing, the mass-storage
> interface stopped responding to these polls.  After 30 seconds the
> computer realized something was wrong, so it reset the printer.  This
> reset interfered with the printing, so the second page never got
> completed.
> 
> If you don't care about that card reader or whatever it is, you can 
> prevent the kernel from polling it.  The command to use is:
> 
> 	echo 0 >/sys/block/sdX/events_poll_msecs

This fixes my printing issues.

Thanks for looking into it.

I'm wondering why that issue is not more widespread. I would have
expected that many printers have features like this nowadays (but then
again the specific behaviour is HP Officejet only).
Is there no other technical solution to address this? Something like "do
never reset a USB device which is currently in use"?
Sorry I don't know anything about kernel components and USB stuff just
thinking out loud that this does not look like a user compatible
behaviour ;-)

Thanks,
 Wolfgang
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux