Re: Raspberry Pi 3B USB Printing Issue
Archimedes Gaviola <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <CAJFbk7Ek=b9cpdVhWUWiQd3oAO4G203JqwDraHY+5wHeeNUWiw@mail.gmail.com> |
On Thu, Mar 31, 2022 at 9:22 PM Hans Petter Selasky <[email protected]> wrote: > On 3/31/22 13:52, Archimedes Gaviola wrote: > > + /* Bi-directional USB vendor specific */ > > + {USB_IFACE_CLASS(UICLASS_VENDOR), > > + USB_IFACE_SUBCLASS(UISUBCLASS_VENDOR), > > + USB_IFACE_PROTOCOL(UIPROTO_PRINTER_BI)}, > > Can you use the product ID and vendor ID in addition to the IFACE_CLASS > in the match? Then it will be safe for other devices too, and I can > upstream it. > Are you pertaining to this code Hans, the one you've shared to me previously? + /* Epson printer */ + {USB_VPI(USB_VENDOR_EPSON, USB_PRODUCT_EPSON_TMU220B, 0)},