Closed michaelrsweet closed 3 years ago
OK, so I've done some prototyping using the FunctionFS gadget driver which allows me to export N instances of IPP-USB descriptors and endpoints (tested with N=3 which is the typical configuration for printers), and then no need to do a separate kernel driver!
Documentation for FunctionFS sucks. But it looks like it works well.
Additional issues found during testing:
This work is now done.
Develop a Linux USB gadget and corresponding support code in PAPPL to allow communication with the default printer in PAPPL using the IPP-USB protocol. References:
There are two parts to this:
This code should coexist with the USB printer gadget - the client device can only select the legacy printer class or the new IPP-USB class (not both), but the PAPPL code needs to properly handle that selection.