Hi I have done scan under windows and i have decode of usbsnoop.log. This log should contain only preview scan but im not sure that. Log may contain more then only preview scan and i dont know how decode.sh and cmd.sh work in such situation. Also im not sure how those scripts work on cuted logs(for example on log which contain preview scan and interupted log of scan in 600dpi) Cuted log is becuse my windows become very slow and unstable after enabling of usbsnoop, i tried 600 dpi scan but i have to giveup after 45 minuts and 220MB log size. In attachment i sent results of decode.sh & cmd.sh (bzip2 compressed). I will read something more about those scripts and logs but i have busy week before/after :>. i think i should have time in next week to do more logs and read gl646 documentation.
regards -------------- next part -------------- A non-text attachment was scrubbed... Name: scanpreview.log.decode.bz2 Type: application/octet-stream Size: 3402 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061207/a7c6876a/scanpreview.log.decode.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: scanpreview.log.decode.cmd.bz2 Type: application/octet-stream Size: 1999 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061207/a7c6876a/scanpreview.log.decode.cmd.obj From r...@keenan.dk Thu Dec 7 13:14:30 2006 From: r...@keenan.dk (=?iso-8859-1?Q?Ren=E9_Kjellerup?=) Date: Thu Dec 7 23:34:07 2006 Subject: [sane-devel] Libusb - reads and writes? In-Reply-To: <e1gsgzi-0005nn...@alioth.debian.org> Message-ID: <000001c719f9$3f4f6f30$9d701005@rkj> Hi' I've been trying to write a sample driver for the Canon CanoScan 4200F but I have trouble figuring exactly what the IN and OUT endpoints tokens mean. Whenever I try write data to an IN endpoint I get a write error(-2) and the same happens when I try to read from an OUT endpoint. And the reverse seem to work but only 50% of the time. I run my app the first time and it hangs (and I kill is with a SIGINT) or if a timeout was specified it returns an error (-110). The second time it just runs through. So the primary question is, which endpoint does one write to, and which does one read from? Pointers to relevant easy-reading on the topic is acceptable. Kind regards Ren? Kjellerup -- as life grows older, I gain experience.