Fake USB Playback fails with pixma backend
After adding sanei_usb_exit()
to sane_exit()
(see: !55 (comment 198665771)), I get a xml file from the pixma backend with:
$ SANE_DEBUG_SANEI_USB=127 scanimage --output-file test.pnm -d fakeusbout:test.xml:pixma -x 50 -y 50
.
But I cannot playback the xml file:
SANE_DEBUG_SANEI_USB=127 scanimage --output-file test.pnm -d fakeusb:test.xml -x 50 -y 50
.
It seems that bulk transfers are not supported:
[15:55:53.397318] [sanei_usb] sanei_usb_open: trying to open device `test.xml'
[15:55:53.397324] [sanei_usb] sanei_usb_open: opening fake USB device
[15:55:53.397330] [sanei_usb] sanei_usb_open: opened usb device `test.xml' (*dn=0)
[15:55:53.397337] [sanei_usb] sanei_usb_control_msg: rtype = 0x80, req = 6, value = 256, index = 0, len = 18
[15:55:53.397345] [sanei_usb] sanei_usb_replay_control_msg: FAIL: in transaction with seq 4:
[15:55:53.397351] [sanei_usb] sanei_usb_replay_control_msg: FAIL: [15:55:53.397357] [sanei_usb] unexpected transaction type bulk_tx
[15:55:53.397363] [sanei_usb] sanei_usb_close: evaluating environment variable SANE_USB_WORKAROUND
[15:55:53.397370] [sanei_usb] sanei_usb_close: closing device 0
[15:55:53.397376] [sanei_usb] sanei_usb_close: closing fake USB device
Edited by Rolf Bensch