Ignore IEEE1284 descriptors when looking for bidirectional mode. We don't
really know how to talk IEEE1284, so attaching to that interface makes the printer unusable. Approved by: joe
This commit is contained in:
parent
6ed6884063
commit
f0d91fb7ea
@ -246,8 +246,8 @@ USB_ATTACH(ulpt)
|
||||
id->bInterfaceNumber == ifcd->bInterfaceNumber) {
|
||||
if (id->bInterfaceClass == UICLASS_PRINTER &&
|
||||
id->bInterfaceSubClass == UISUBCLASS_PRINTER &&
|
||||
(id->bInterfaceProtocol == UIPROTO_PRINTER_BI ||
|
||||
id->bInterfaceProtocol == UIPROTO_PRINTER_1284))
|
||||
(id->bInterfaceProtocol == UIPROTO_PRINTER_BI /* ||
|
||||
id->bInterfaceProtocol == UIPROTO_PRINTER_1284 */))
|
||||
goto found;
|
||||
altno++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user