Not right now. I don't really want to host the code myself, which is part of why I want to hand this over to the SANE project. I could send you a tarball if you want. Ideally the SANE project would host SVN for it, too, right? This would all be GPL. It seems like this is an idea and need that has come up in the past: http://lists.alioth.debian.org/pipermail/sane-devel/2003-November/009223.html I hope if we could get some code officially into the SANE project this will start being adopted. Java is a great environment for doing graphics and scanning type applications.
Jens Gulden <m...@jensgulden.de> wrote: Any URL to take a look at it? Jens Vacuum Joe schrieb: > Hello SANE developers, > > I have written a simple JNI interface to SANE. It works pretty well and lets > me do scans, display them, etc, all within Java. I am interested in possibly > getting this included in the SANE project under the same license as SANE > itself. Would the devs be open to this? It's pretty basic code right now, but > my vision is that it would be possible to use it with gcj to make compiled > scanner apps for Linux in Java, so we could have things similar to Kooka, but > in Java. In fact with the Java Qt bindings we could have quite a good > environment for making scanning apps. > > Would the SANE project be interested in this? -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org --------------------------------- Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060125/b88c2858/attachment.html From lauri.pirtti...@luukku.com Wed Jan 25 19:54:02 2006 From: lauri.pirtti...@luukku.com (Lauri Pirttiaho) Date: Wed Jan 25 19:54:15 2006 Subject: [sane-devel] Writing a driver for canoscan 3000 Message-ID: <1138218842972.lauri.pirttiaho.9168.gog5v1y9jl3x366ajpb...@luukku.com> Hello Sebastian, You have gotten the same cool reply from Canon as everyone else who has been trying to help them to make their products useful in the free world. Don't give up though. Every secret is there just because it waits to be discovered. So is the protocol of CanoScan 3000. So, where to start. With SANE backend writing you don't need to start with the Linux device drivers. Sane offers quite good libraries to do the low level stuff (the sanei libraries) so all you have to do is to discover the procedures for controlling the scanner and then to use the SANE infrastructure to get the control going through the specified interface. So the first thing is to take the Windows system and usb sniffer there and begin studying how windows controls the scanner. It may help to figure out the DLL's used in the control. You can use Microsoft's dependency walker, depends.exe, that comes with Microsoft Platform SDK to figure out the dependencies of DLL's and try to figure out from the exported calls which one might do the lowest level control. Then you can take IDA pro (there is a freeware version that is quite sufficient to study Windows 32-bit programs and DLL's) and disassemble the lowest level DLL and see what it does to achieve the effects of the exported functions (there may be functions for settings, lamp, motor control, scaniing etc.) Alternatively you can just make lots of small scans (I mean just 10x10 pixels or so to save disk space) and try to figure from USB sniffs the protocols. Some script in Perl or your favourite text processing language may be helpful in reducing the amount of data in the sniffer logs. Then take the sequences you see in the logs and try to play them back from Linux (libusb provides simple interface to USB devices, but you may want to read USB specs before starting) and then after getting the basic procedures working by these play-backs, make intelligent changes to the sequences and try to figure out the meanings of all the parameters. Generally you should find in the logs sequences of commands to do lamp switching, maybe motor speed control, moving back and forth, taking single line scans, lamp intensity measurements, analog front end control (gain/offset), black/white shading control (that is, pixelwise offset and gain settings) and calibration, color/gray scale switching, exposure setting etc. All that detective work may easily take some months so don't get frustrated. Problems tend to find their solutions sooner or later. After you have some free standing test progs (using libusb) that do what you want and you know how to tweak the parametsr for the effects you want, it is time to begin making the back-end. For that there are quite good instructions on SANE pages and some experimenting (and knife deep into the gust of SANE libs when necessary, e.g. to get extra traces in the case of unexpected trouble) will reveal how to use the SANE libs to get the back-end running. As to CanoScan 3000, there have been some speculations about its controller, so you might want to read the old postings on the sane-devel list, too. Good luck! With best regards, Lauri Pirttiaho Oulu Finland ................................................................... Luukku Plus paketilla p??set eroon tila- ja turvallisuusongelmista. Hanki Luukku Plus ja helpotat el?m??si. http://www.mtv3.fi/luukku