Hi Martin, I scanned a tiny part of a blank paper and I attached to this email (result.tar.gz) the result of the following command line : $ ./log2io usbsnoop_blank.log > log.txt
Does it look promising ? Regards, Farvil Martin Schewe a ?crit : >Hi Farvil, > >On Sun, Mar 26, 2006 at 11:20:14PM +0200, Farvil wrote: > > >>I saw that you published the pixma-0.3 release and add a model >>description for the MP150. >> >> > >I just took the product id and the endpoints from [1] and hoped that the >protocol could be the same as the one used by a MP750, but... > > > >>ff 20 00 00 00 00 00 00 10 00 >>expecting 2 status and 0x0010 answer bytes... >>Incomplete read >> >>cf 60 00 00 00 00 00 00 0a 00 >>01 00 00 00 00 00 00 00 00 ff >>expecting 2 status and 0x0000 answer bytes... >>ERR >> >> > >...does not look promising. Though the last line shows that your >scanner uses the same error status code (0x1515) anyway -- otherwise my >little dumb driver would have written "???" instead of "ERR". > >Please download http://pixma.schewe.com/log2io, sniff a scan of some >tiny (!) picture and run > >$ ./log2io your.log > >You will hopefully get something like > >03: cf 60 00 00 00 00 00 00 0a 00 01 00 00 00 00 00 00 00 00 ff >84: 06 06 >03: cf 60 00 00 00 00 00 00 0a 00 01 00 00 20 00 00 00 00 00 df >84: 06 06 >03: e9 20 00 00 00 00 00 00 00 00 >84: 06 06 >03: db 20 00 00 00 00 00 00 00 00 >84: 06 06 >03: dd 20 00 00 00 00 00 00 0a 00 01 01 00 00 00 00 00 00 00 fe >84: 06 06 >03: de 20 00 00 00 00 00 00 2e 00 00 00 00 00 80 96 80 96 00 00 00 08 00 00 00 >0 >84: 06 06 >03: f3 20 00 00 00 00 00 00 0c 00 >84: 06 06 03 01 00 02 03 00 02 03 00 00 00 f2 >85: 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 >03: f3 20 00 00 00 00 00 00 0c 00 >84: 06 06 03 01 00 02 03 00 02 03 0f 00 00 e3 >03: d4 20 00 00 00 00 00 00 04 00 >84: 06 06 00 00 00 00 >03: f3 20 00 00 00 00 00 00 0c 00 >84: 06 06 03 01 00 02 03 00 02 03 0f 00 00 e3 >03: d4 20 00 00 00 00 00 00 04 00 >84: 06 06 00 00 00 00 >03: d4 20 00 00 00 00 00 c0 04 00 >84: 06 06 00 00 c0 00 >[...] > >The first ~30 lines will be enough to analyse whether your scanner's >command set has any similarities with a MP750. > >Good luck, > Martin > >[1] http://sane-project.org/unsupported/canon-pixma-mp150.html and hoped > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: result.tar.gz Type: application/x-gzip Size: 2255 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060327/d3c381d1/result.tar.bin From sane-de...@schewe.com Mon Mar 27 12:22:35 2006 From: sane-de...@schewe.com (Martin Schewe) Date: Mon Mar 27 12:23:43 2006 Subject: [sane-devel] [ANN] Canon Pixma Scanner Driver (stand-alone) In-Reply-To: <4427ce8d.8060...@yahoo.fr> References: <20060326002951.gb7...@bruno.schewe.com> <4427058e.4090...@yahoo.fr> <20060326222450.gc8...@bruno.schewe.com> <4427ce8d.8060...@yahoo.fr> Message-ID: <20060327122235.gg3...@bruno.schewe.com> Hi Farvil, On Mon, Mar 27, 2006 at 01:37:49PM +0200, Farvil wrote: > I scanned a tiny part of a blank paper and I attached to this email too bad that it was a blank paper -- otherwise I could have reconstructed it. :) > Does it look promising ? Yes, in principle it does: > 07: db 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 88: 06 06 00 00 00 00 00 00 Put the device in scan mode. > 07: dd 20 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 01 01 00 00 00 00 00 00 > 00 00 00 fe > 88: 06 06 00 00 00 00 00 00 Setup for flatbad use. > 07: ee 20 00 00 00 00 00 00 00 00 00 00 00 00 10 08 10 00 10 04 00 00 00 00 > 00 00 00 [...] > 88: 06 06 00 00 00 00 00 00 The only command I cannot interpret ad hoc. Some initializiation data, maybe calibration related. > 07: de 20 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 80 4b 80 4b > 00 00 01 3c 00 00 00 0a 00 00 00 18 00 00 00 18 08 18 00 00 00 00 00 00 ff 00 > 00 81 00 00 02 01 00 00 00 00 00 00 00 50 > 88: 06 06 00 00 00 00 00 00 Scan parameters: 75dpi, x = 316, y = 10, width = 24, height = 24, ... Am I right? ;) > 07: f3 20 00 00 00 00 00 00 00 00 00 00 00 00 00 0c > 88: 06 06 00 00 00 00 00 00 01 00 00 00 03 00 02 00 00 21 00 d9 Read some info: ADF is empty, lamp warms up (?), no calibration in progress. > 07: d4 20 00 00 00 00 00 00 00 00 00 00 00 08 00 08 > 88: 06 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Request 2048 data bytes, but the scanner needs some more time... > [...] > 07: d4 20 00 00 00 00 00 00 00 00 00 00 00 08 00 08 > 88: 06 06 00 00 00 00 00 00 38 00 00 00 00 00 06 c0 e9 f4 f6 eb f6 f6 ea [...] Ok, here is the data: e9 f4 f6 eb f6 f6 ea [...] The commands are very similar, but they are 16 bytes long (instead of 10) and they always return 8 status bytes. That's the main difference. I will take a closer look on it in the evening. Could you please do some more sniffing? With simple images (like Similies :) and under different conditions (cold lamp, uncalibrated, calibrated, after power-on etc.). The output of log2io is enough. Regards, Martin