Hello, world! 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?
I am currently experimenting with vanilla kernel 2.6.23.9, but the problem does not seem to be limited to this particular version. lsusb for the printer: | Bus 001 Device 004: ID 03f0:3817 Hewlett-Packard | Device Descriptor: | bLength 18 | bDescriptorType 1 | bcdUSB 2.00 | bDeviceClass 0 (Defined at Interface level) | bDeviceSubClass 0 | bDeviceProtocol 0 | bMaxPacketSize0 64 | idVendor 0x03f0 Hewlett-Packard | idProduct 0x3817 | bcdDevice 1.00 | iManufacturer 1 Hewlett-Packard | iProduct 2 HP LaserJet P2015 Series | iSerial 3 00CNBW74108M | bNumConfigurations 1 | Configuration Descriptor: | bLength 9 | bDescriptorType 2 | wTotalLength 55 | bNumInterfaces 2 | bConfigurationValue 1 | iConfiguration 0 | bmAttributes 0xc0 | Self Powered | MaxPower 2mA | Interface Descriptor: | bLength 9 | bDescriptorType 4 | bInterfaceNumber 0 | bAlternateSetting 0 | bNumEndpoints 2 | bInterfaceClass 7 Printer | bInterfaceSubClass 1 Printer | bInterfaceProtocol 2 Bidirectional | iInterface 17 Printer | Endpoint Descriptor: | bLength 7 | bDescriptorType 5 | bEndpointAddress 0x01 EP 1 OUT | bmAttributes 2 | Transfer Type Bulk | Synch Type None | Usage Type Data | wMaxPacketSize 0x0200 1x 512 bytes | bInterval 255 | Endpoint Descriptor: | bLength 7 | bDescriptorType 5 | bEndpointAddress 0x81 EP 1 IN | bmAttributes 2 | Transfer Type Bulk | Synch Type None | Usage Type Data | wMaxPacketSize 0x0200 1x 512 bytes | bInterval 0 | Interface Descriptor: | bLength 9 | bDescriptorType 4 | bInterfaceNumber 1 | bAlternateSetting 0 | bNumEndpoints 2 | bInterfaceClass 255 Vendor Specific Class | bInterfaceSubClass 1 | bInterfaceProtocol 1 | iInterface 19 HP EWS | Endpoint Descriptor: | bLength 7 | bDescriptorType 5 | bEndpointAddress 0x0b EP 11 OUT | bmAttributes 2 | Transfer Type Bulk | Synch Type None | Usage Type Data | wMaxPacketSize 0x0200 1x 512 bytes | bInterval 255 | Endpoint Descriptor: | bLength 7 | bDescriptorType 5 | bEndpointAddress 0x8b EP 11 IN | bmAttributes 2 | Transfer Type Bulk | Synch Type None | Usage Type Data | wMaxPacketSize 0x0200 1x 512 bytes | bInterval 0 | Device Qualifier (for other device speed): | bLength 10 | bDescriptorType 6 | bcdUSB 2.00 | bDeviceClass 0 (Defined at Interface level) | bDeviceSubClass 0 | bDeviceProtocol 0 | bMaxPacketSize0 64 | bNumConfigurations 1 | Device Status: 0x0001 | Self Powered Have a nice fortnight -- Martin `MJ' Mares <[EMAIL PROTECTED]> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth Immanuel doesn't pun, he Kant. - 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