Skip to content

xerox_mfp: skip ENDPOINT CLEAR HALT command by default. #706

Some xerox_mfp scanners, such as Samsung SCX-4521F, hangs when their OUT ENDPOINT receives CLEAR HALT command, which is performed in usb open and close functions of the backend. The issue seem to be dependant on USB controller and assumingly happens due to some sort of incompatibility of USB implementation in the scanner.

Skip sending this command by default and add SANE_XEROX_USB_HALT_WORKAROUND env variable to execute CLEAR HALT commands.

NOTE: this changes default behavior and could potentially break other printers. I found no information on why CLEAR HALT is needed in git history.

See other report for SCX-4200 https://alioth-lists.debian.net/pipermail/sane-devel/2014-January/032052.html
and SCX-4500W https://sane-devel.alioth.debian.narkive.com/LdmrzpEV/help-needed-diagnosing-strange-failure-to-scan-with-samsung-scx-4500w

Edited by ValdikSS

Merge request reports