---------- Forwarded message ----------
From: Aleksey Manevich <[email protected]>
Date: 29.07.2007 19:17
Subject: Re: [sane-devel] New backend for Lexmark X6100
To: Ren? Rebe <rene at exactcode.de>


2007/7/29, Ren? Rebe <rene at exactcode.de>:
> On Sunday 29 July 2007 14:23:28 Aleksey Manevich wrote:
> > X6100
>
> Can you send me a usbsnoop log? (Maybe it is Avision SCSI over USB?)
>
> Yours,
>
> --
>   Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin
>   Gesch?ftsf?hrer: Susanne Klaus, Ren? Rebe
>   Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B
>   USt-IdNr.: DE251602478
>   http://exactcode.de | http://t2-project.org | http://rene.rebe.name
>

Don't think so, it's very simple hi-level protocol. Here workflow:
Lock scanner
Set color format
Set dpi
Set scan offset
Set scan zone
Set other options (not fully discovered)
Begin scan
Get data
Unlock scanner

Each command and ansver are bulk transfer of 8 byte length(except data).
Truncated log attached.

Aleksey

P.S. First time I forgot to add mailing list addres to "copy" field.
Now I resend my answer here, because rene at exactcode.de can't recive my
message.
-------------- next part --------------
000001: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5759952 +2.4535280
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 46 00 00 00 00 00                           .SF.....
000002: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5759952 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000003: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5860096 +0.0100144
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 44 53 55 00 00 00 00                           .DSU....
000004: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5860096 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000005: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5860096 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 44 53 4C 00 00 00 00                           .DSL....
000006: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5860096 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000007: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5860096 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 44 53 55 00 00 00 00                           .DSU....
000008: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5960240 +0.0100144
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000009: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5960240 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 44 53 55 00 00 00 00                           .DSU....
000010: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.5960240 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000011: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6060384 +0.0100144
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 44 53 4C 00 00 00 00                           .DSL....
000012: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6060384 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000013: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6060384 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 44 53 55 00 00 00 00                           .DSU....
000014: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6060384 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000015: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6160528 +0.0100144
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 46 00 00 00 00 00                           .SF.....
000016: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6160528 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000017: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6160528 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 46 00 00 00 00 00                           .SF.....
000018: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6160528 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000019: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6460960 +0.0300432
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 46 00 00 00 00 00                           .SF.....
000020: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6460960 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000021: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6460960 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 44 53 4C 00 00 00 00                           .DSL....
000022: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6460960 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000023: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6460960 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 43 03 08 03 01 00                           .SC.....
000024: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6561104 +0.0100144
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000025: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6561104 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 44 4B 00 4B 00 00                           .SDK.K..
000026: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6561104 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000027: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6561104 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 4F 00 00 00 00 00                           .SO.....
000028: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6661248 +0.0100144
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000029: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6661248 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 5A 7D 02 6D 03 00                           .SZ}.m..
000030: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6661248 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000031: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6761392 +0.0100144
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 49 08 06 FF FF F7                           .SI..yy?
000032: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6761392 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000033: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6761392 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 4D 00 0A 00 00 00                           .SM.....
000034: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6761392 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....
000035: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:01.6761392 +0.0
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 53 47 00 00 00 00 00                           .SG.....
000036: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:04.9408336 +3.2646944
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x1000 bytes from the device:
 1B 73 64 00 04 00 00 00 FF FF FB BF A7 F3 92 F3   .sd.....yyu??o?o

/* Data transfer skiped */

000202: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:11.9809568 +0.0200288
Pipe Handle: 0x81ee2c5c (Endpoint Address: 0x2)
Send 0x8 bytes to the device:
 1B 44 53 55 00 00 00 00                           .DSU....

000203: Bulk or Interrupt Transfer (UP), 24.07.2007 20:16:11.9809568 +0.0
Pipe Handle: 0x81ee2c40 (Endpoint Address: 0x82)
Get 0x8 bytes from the device:
 1B 53 53 00 00 00 00 00                           .SS.....

Reply via email to