Re: Raspberry Pi 3B USB Printing Issue

From: Archimedes Gaviola <archimedes.gaviola_at_gmail.com>
Date: Thu, 31 Mar 2022 13:52:59 UTC
On Thu, Mar 31, 2022 at 9:22 PM Hans Petter Selasky <hps@selasky.org> 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)},