[sane-devel] Re: HP 5470c logs

Bertrik Sikken bertrik@zonnet.nl
Fri, 18 Oct 2002 16:51:44 +0200


----- Origineel Bericht -----
Van: SteveC <steve@fractalus.com>
Datum: Vrijdag, Oktober 18, 2002 2:47 pm
Onderwerp: HP 5470c logs

> http://www.fractalus.com/steve/tmp/5470c.zip
> 
> contains a number of USB dumps, if anyone has time to have a look...

At quick glance, I see a couple of interesting things.
Particularly interesting is this transfer:

00000302	0.07208179	>>>>>>> URB 273 going down...	
00000303	0.07209184	-- URB_FUNCTION_VENDOR_DEVICE:	
00000304	0.07210442	  TransferFlags          = 00000000
(USBD_TRANSFER_DIRECTION_OUT, ~USBD_SHORT_TRANSFER_OK)	
00000305	0.07211587	  TransferBufferLength = 00000020	
00000306	0.07212676	  TransferBuffer       = 812c34e8	
00000307	0.07213682	  TransferBufferMDL    = 00000000	
00000308	0.07214604	 	
00000309	0.07227315	    0000: 08 01 2c 01 2c 00 00 00 00 0a 82 00 32 00
00 00 	
00000310	0.07241256	    0010: 10 30 20 00 00 64 00 64 00 64 00 00 00 00
00 00 	
00000311	0.07242205	  UrbLink                 = 00000000	
00000312	0.07243239	  RequestTypeReservedBits = 40	
00000313	0.07244245	  Request                 = 04	
00000314	0.07245278	  Value                   = 2505	
00000315	0.07246284	  Index                   = 0000	
00000316	0.08477949	

First byte 0x08 could be color depth.
Next ones are 0x12c=300, probably resolution x and y.
Value 0xA82=2690 could very well be the width of the scan, about 9
inches or about 23 cm.
Also three times 0x64=100 looks promising. Some value for each color
component (R, G, B)?

Kind regards,
Bertrik