On Sat, 29 Dec 2007 22:15:21 +0100, Martin Mares <[EMAIL PROTECTED]> wrote:
> I am currently playing with HP LaserJet P2015D connected over USB and > I have a slight problem with the usblp driver there. Whenever I try to > read from /dev/usb/lp0 and no data are available, it immediately returns > reporting EOF (0 bytes read) instead of waiting for the data. Does > anybody know if this is intentional? You aren't opening it with O_NDELAY by any chance? Please look with strace. If that looks ok, a usbmon trace would be helpful. Please send me both traces. -- Pete - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html