[sane-devel] [CanoScan5000f] Analyse of logs

Gerhard Jaeger gerhard@gjaeger.de
Thu, 8 Jul 2004 15:00:01 +0200


Hi,

On Thursday 08 July 2004 16:37, Thibault North wrote:
> Hello,
> I made some sniff of the Canoscan5000f as requested. Files may be found at
> : http://home.gna.org/canoscan5000f/sniff
>
> There is a very big amount of data included in these logs, and I am
> tired of reading them :)

:-))))))))))))))))))

> So I have 2-3 questions :
>
> 1) There are a lot of paragraphs containing :
>
>  00000000: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
>  00000010: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
>  00000020: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
>  00000030: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
>  00000040: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
>  00000050: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
>  00000060: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
>  00000070: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
>  00000080: 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
>  00000090: 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
>  000000a0: a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af
> etc etc.
>
> Are these parts important ? They are very present in the file (80%)

Hmm, seems that these are some lookup-tables - IMHO could be ignored,
as long, as your "future" driver will do the same...

>
> 2) Others seems to be more interesting :
>
> Urb 16 (C) ep=3D (write) 3 ms
>  00000000: 44
>  00000000: 40 0c 88 00 00 00 01 00
>
> But are rare.

These are important -> register I/O
What's the chipset inside? looks like some genesys logic chipset!

>
> 3) Then comes another part, which seems to be the scanned data :
>
> Urb 463 (B) ep=3D81 (read) 21 ms
>  00000000: 93 12 87 12 ad 12 1b 13 de 12 77 12 be 0c a5 0b
>  00000010: 3d 0d 5a 0f 3b 0d b4 0e 7e 0f ef 0c f1 0d c5 0f
>  00000020: 82 0d 81 0e 44 0f 9e 0d 51 0e d1 0f aa 0d b3 0e
>  00000030: 52 0f 99 0d 62 0e 7b 0f 43 0d a3 0e 30 0f 8d 0d
>  00000040: a8 0e 56 0f ee 0c 7b 0e 4b 0f 5f 0d 71 0e 42 0f
>  00000050: 3f 0d 62 0e 2c 0f 1f 0d 6f 0e 5a 0f 75 0d 01 0f
>
> My questions are :
> - for 1) May i remove that without losing informations ?

I really think so.

> - for 2) Are all these short orders all important ? And does "(write)"
> mean "data sent to scanner" and "(read)" data recieved mean "data read
> from scanner" ?

AFAIK - yes. Mostly something will be written to the scanner, to tell it, t=
hat
with the next read, data will be red.

> -for 3) If this is parf of scanning data, why do I find this type of =A7
> later too ? Does it correspond to a "flush" from scanner after having
> scanned a little part ?

What do you mean? I guess, that there will be some kind of calibration,
where you'll find image data too before scanning.

Ciao,
  Gerhard