[sane-devel] add support for ricoh aficio sp100su

viruxx dj_virus142 at hotmail.com
Thu Mar 9 12:06:14 UTC 2017


my current experimentation is usb sniffing under windows xp during a color a4
scan preview

i try to report the values i found in linux py2usb and read the scanner
response

>>> dev.write(0x3,"\x03\x09\x01"); dev.read(0x85,100)3
<<<array('B', [0])//scanner response

>>> dev.write(0x3,"\x03\x0D\x0B"); dev.read(0x85,100)3
<<<array('B', [126, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])//scanner response

>>> dev.write(0x3,"\x03\x0C\x11\x00\x00\x00\x01\x03\x05\xFF\x00\x00\x00\x00\xE8\x13\x68\x1B");
>>> dev.write(0x3,"\x03\x0B\x08"); dev.read(0x85,100)
<<<array('B', [0, 10, 180, 13, 244, 9, 180, 13]) //scanner response

>>> dev.write(0x3,"\x03\x08\x04\x00\x00\x00\x00\x18\x9B\x01\x01"); //scanner
>>> motor start to do the noise he do before a scan // the light do a fast
>>> on/off // the lcd screen say pc capturing

//if wait 60s he do the end scan noise (charret back to idle pos)
//note : communication is busy, cancel button does nothing

//the windows computer is sending 2 sequences here, the first who make the
motor doing noise, and the second, i believe is for start the scan but i got
a timeout error

here is the full sequence i dont arrive to achieve

>>> dev.write(0x3,"\x03\x08\x04\x00\x00\x00\x00\x18\x9B\x01\x01\x00\x00\x00\xE8\x13\x68\x1B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00");
>>> dev.write(0x3,"\x03\x0E\x04\x00\x00\x00\x00\x0F\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00");
>>> dev.read(0x85,100)
<<<usb.core.USBError: [Errno 110] Operation timed out

my knowledge is zero in this domain, so im lost in this error. i will now do
some other tests of this start sequence with other option, b/w, grayscale,
resolution changing
will post it here in a few moment



--
View this message in context: http://sane.10972.n7.nabble.com/add-support-for-ricoh-aficio-sp100su-tp20705p20710.html
Sent from the SANE - Dev mailing list archive at Nabble.com.



More information about the sane-devel mailing list