You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw you added the "usb-max-interfaces" configuration, although you say it is quirks for "HP ScanJet Pro 4500 fn1". But I want to use airscan + Canon printer driver concurrently (As I said in the alexpevzner/sane-airscan#68 (comment)), so I think it is a chance for me.
I did test: Add below setting in /usr/share/ipp-usb/quirks/default.conf
[Canon MF745C/746C]
usb-max-interfaces = 1
After plug the USB printer, I first test airscan, it works well. Then I add the Canon printer driver whose device uri is "usb://Canon/MF745C/746C%20UFR%20II?serial=f4a997cf9d6c&interface=1", it can also print. But after printing, the airscan cannot work. I use below command to test the printer, it has no response. curl http://localhost:60000/eSCL/ScannerCapabilities
Then I unplug and re-plug the USB printer, the airscan can work again.
I cannot guess the reason, is it the printer's issue or can ipp-usb fix it?
Some additional information, MF745C has 3 interfaces. I guess Interface 0 is for scanner, interface 1 is for printer and interface 2 is for fax. And Interface 0 has three endpoints, interface 1 has two endpoints.
Looks like Canon printer driver does something which causes firmware to loose synchronization with the IPP over USB "session", which causes ipp-usb to fail.
Which I can definitely tell, after reading the log you've supplied, is that ipp-usb and Canon printer driver use different USB interfaces, so it is not interference of commands sent by ipp-usb and printer driver to the same interface, but rather a side effect or some command that Canon driver has sent to its interface.
This is unlikely that it can be somehow fixed in the ipp-usb
Activity
tangyanli commentedon Mar 9, 2021
Some additional information, MF745C has 3 interfaces. I guess Interface 0 is for scanner, interface 1 is for printer and interface 2 is for fax. And Interface 0 has three endpoints, interface 1 has two endpoints.
alexpevzner commentedon Mar 12, 2021
Hi Tess,
glad to hear from you again :-)
Looks like Canon printer driver does something which causes firmware to loose synchronization with the IPP over USB "session", which causes
ipp-usbto fail.Which I can definitely tell, after reading the log you've supplied, is that
ipp-usband Canon printer driver use different USB interfaces, so it is not interference of commands sent byipp-usband printer driver to the same interface, but rather a side effect or some command that Canon driver has sent to its interface.This is unlikely that it can be somehow fixed in the
ipp-usbtangyanli commentedon Mar 12, 2021
Hi, Alexander:
Glad to receive from you again :)
Then I give up to configure the “usb-max-interfaces”.