Re: Pantum M7300FDW

Zdenek Dohnal <[email protected]> Tue, 19 Mar 2024 14:25:41 +0100
Newsgroups dev.linux.lists.printing-architecture
Message-ID <[email protected]>
Hi Alex!

On 3/15/24 15:27, Alexander Pevzner wrote:
>
> P.S. I observed that my patch to ipp-usb, which enables devices with 
> similar issues, was not accepted by RedHat.
Yes, I tried to remove the functionality based on security concerns that 
were raised here, but completely forgot about that I could (and have to) 
do that via quirks...
>
> Zdenek, if you choose to pursue this route, it may be safer to 
> blacklist this device in your ipp-usb build. Otherwise, ipp-usb may 
> hold the device while still providing eSCL but preventing access by 
> proprietary printing drivers.
Thanks, I totally forgot about this!
>
> In the latest version of ipp-usb, I have transformed this workaround 
> into a quirk with three options: "reject" - the old behavior, "accept" 
> - akin to 0.99.24 behavior, and "sanitize" - ipp-usb rectifies all 
> broken IPP responses. With the "sanitize" option, this device prints 
> over USB using unmodified CUPS.
That's great! To have a way how to configure this behavior is ideal from 
POV - we can ship the safe way as default (IMO sanitize option should 
insert message into the log - admin would like to know whether something 
is not correct, instead of silently workaround issue) and if the user 
has problems, they can switch the quirk anytime.


Zdenek

-- 
Zdenek Dohnal
Senior Software Engineer
Red Hat, BRQ-TPBC