I hate having to run windows just to scan something, so I thought I might give this a shot, since I haven't seen anyone else pick it up.<br><br>I am not sure if I will have success, or if I will run out of time, but I have done some initial research.&nbsp; I got some scan session usb logs.&nbsp;&nbsp; I could not get any usb snoopers to work in XP under VMWare, so instead I turned on VMWare usb logging and pulled the info from the vmware log file.&nbsp; <br><br>I have gotten the source for sane, and started trying to get oriented.&nbsp; I can use the sanei_usb functions to connect to the scanner and verify the product and vendor code.&nbsp; My next step was going to be to ask it for the descriptor, but I am not sure how exactly to do that.<br><br>How do you get the response back from sanei_usb_control_msg?&nbsp; Does it always require a buffer and does it always return the response back on that buffer (the same one you passed in and may have sent data over...)?<br><br>I
 know from the trace that I should send something like this:&nbsp; 80 06 00 01 00 00 12 00.&nbsp; And I would expect in return something like this:<br>80 06 00 01 00 00 12 00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>12 01 10 01 00 00 00 08 a7 04 2a 02 00 00 01 03<br>00 01<br><br>Could someone point me to sample code that shows the "right" way to do this?&nbsp; Is there a usb/sane tutorial that is "perfect" for someone looking into this?&nbsp; The other backends are good examples of course, but maybe something that is usb but pretty simple, for the beginner.&nbsp; If one of the backends is extra easy to comprehend, maybe suggest one for me.&nbsp; I have looked at several; there is a lot going on.&nbsp; I get the idea but it's easy to get lost in the details.<br><br>The only other thing, is there any tip or reference for deciphering the usb messages?&nbsp; The only one I recognize
 is the very generic: 80 06 00 01 00 00 12 00 (get device descriptor I believe...).&nbsp; It took me an hour or two to figure out what was going on there ( I didn't know the structure of usb messages).&nbsp; The references I found don't offer tips much beyond the get descriptor messages.&nbsp; At least they got me that far.&nbsp; But I wonder if there is some better source of info about the messages?&nbsp; There are a lot of them in my scan file and I don't know what any of them are....I know that some are custom vendor codes and that's the whole point, but I bet a lot of them could be standard, if I knew how to tell.<br><br>If anyone is interested in looking at my scan logs either to help or or any other reason, say so and I can find somewhere to put them where you can get at them.&nbsp; I'm pretty sure there some of you guys that could decipher them faster and better than I, if you wanted
 to.<br><br>Thanks,<br><br>JC<p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com