Wimpie » Wed 21. Jan 2015, 23:32 hat geschrieben:The real problem appears to be the 0x2006 error. It means PTP_RC_ParameterNotSupported.This error code has been defined in source file ptprocodes.h but I can't find where it is actually reported in the code. I must be blind.
O.K. I turned the light on and I suddenly saw what happens. This error code is actually coming from your camera. And the PTP_RC_ParameterNotSupported is returned because The CloseSession routine passes 1 parameter which it shouldn't. The camera15 application does not pass a parameter on closing a session. So try out if camera.exe does indeed work.
Wim.
Yes, with the "guzzi" set I just tested with camera.exe and that works!
Will your fix be implemented in the Arca Noae set too?
Scanning still does break off halfway, but I have already created a ticket about that on the AN website.
Thanks a lot, Wim!
P.S. Just to be complete, this is what scanimage.exe says after the data transmission that does go ok:
[sanei_usb] sanei_usb_read_bulk: trying to read 524288 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Other error
[pixma] IN T=32.582 len=-9
[pixma] ERROR: ETIMEDOUT
[pixma]
[sanei_usb] sanei_usb_write_bulk: trying to write 16 bytes
[sanei_usb] 000 EF 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . ..............
[sanei_usb] sanei_usb_write_bulk: wanted 16 bytes, wrote 16 bytes
[pixma] OUT T=32.582 len=16
[pixma] 00000000:ef 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[pixma]
[sanei_usb] sanei_usb_read_bulk: trying to read 8 bytes
[sanei_usb] 000 06 06 00 00 00 00 00 00 ........
[sanei_usb] sanei_usb_read_bulk: wanted 8 bytes, got 8 bytes
[pixma] IN T=32.582 len=8
[pixma] 00000000:06 06 00 00 00 00 00 00
[pixma]
[pixma] pixma_read_image() failed EEOF
[pixma] Reader task terminated: EEOF
[pixma] BUG: unmapped error -14
[pixma] read_image():reader task closed the pipe:505296 bytes received, 1678578 bytes expected
scanimage: min/max graylevel value = 40/251
scanimage: sane_read: Error during device I/O
[pixma] pixma_close(): Canon PIXMA MP540
[sanei_usb] sanei_usb_close: closing device 0