Hi, I'm trying to use SANE backend on windows and Linux so that I have a consistent scanner interface for my application across platforms. I have the back and front end working on Linux. Great stuff! I can't seem to get things to work on Windows XP SP2. I have the cygwin tools. I compiled the back and front ends. I've got libusb in my /usr/lib directory. When I run sane-find-scanner -q I get the following: $ sane-find-scanner -q # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. found 2 busses found USB scanner (vendor=0x04c5, product=0x1041) at libusb:bus-1:\\.\libusb0-0003--0x04c5-0x1041 If I run scanimage -L, I don't get any scanners. $ scanimage scanimage: no SANE devices found $ scanadf -d"fujitsu:libusb:bus-1:\\.\libusb0-0004--0x04c5-0x1041" scanadf: open of device fujitsu:libusb:bus-1:\.\libusb0-0004--0x04c5-0x1041 failed: Invalid argument I have a fujitsu fi-4120c I edited /usr/local/etc/sane.d and put in: # For Fujitsu scanners connected via USB using vendor and device ids (libusb): usb 0x04c5 0x1041 What do I need to do to get this working in windows. Any hints would be greatly appreciated. Thanks, Kerry
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050916/279acef4/attachment.htm From [email protected] Fri Sep 16 18:59:29 2005 From: [email protected] ([email protected]) Date: Sun Sep 18 07:34:53 2005 Subject: { SPAM 1 }::Re: [sane-devel] Getting Clever CAM 360 IS NOW WORKING PARTIALLY - running gphoto2 version 2.1.6 In-Reply-To: <[email protected]> References: <1126541382.6974.8.camel@gk-lex3> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Message-ID: <[email protected]> ------------------------------ Marcus, IIRC camlibs/polaroid is yours. Theodore Kilgore ------------------------------- On Fri, 16 Sep 2005, Martin wrote: > It appears to be at least talking with the camera now. Great. > I replaced the 2 AAA batteries in the camera and now it is being detected by > gphoto2 - cool stuff. > Ah, so. That was the problem, then? And all of us genius developers were sending you hunting for library dependencies and the ld.so configuration file, or was that part of the problem, too? Actually, I was wondering when the day comes that some distro gets the bright idea of leaving /usr/local/bin off the executable path, and/or leaves /usr/local/lib off the library path, on the grounds that "nobody" puts things in the place where, historically, _all_ locally installed libraries and executables are supposed to be placed. It may have happened ... > But the actual files when I use Gimp to view them are very under exposed. > Is there something else in gphoto2 that will increase the brightness in the > acquired pictures? Well, yes and no. It would probably have something to do with the support library for the particular camera, though, and IIRC we had a camera which was unknown to us. And since this camera _seemed_ to resemble some other cameras which were already supported, someone (me) suggested to do some cut-and-paste in a certain support library and see if anything at all came out from the camera. Thus, the fact that you are actually getting photos out of the camera which actually look something like what you took a picture of is very good luck and means that there is a lot of work that we do not need to do. > I don't think the camera is malfunctioning, but then again it maybe. I > haven't used it in a while, not sure. > Thanks. > > Here is the output various gphoto2 outputs. > > [root@oldpc root]# /usr/local/bin/gphoto2 --auto-detect > Model Port > ---------------------------------------------------------- > Clever CAM 360 usb: > Clever CAM 360 usb:001,017 > > > [root@oldpc root]# /usr/local/bin/gphoto2 --abilities > Abilities for camera : Clever CAM 360 > Serial port support : yes > USB support : yes > Capture choices : > : Image > Configuration support : no > Delete files on camera support : yes > File preview (thumbnail) support : yes > File upload support : no > > > [root@oldpc root]# /usr/local/bin/gphoto2 --list-files > There are 5 files in folder '/': > #1 scope0001.ppm 297 KB 352x288 image/x-portable-pixmap > #2 scope0002.ppm 297 KB 352x288 image/x-portable-pixmap > #3 scope0003.ppm 297 KB 352x288 image/x-portable-pixmap > #4 scope0004.ppm 297 KB 352x288 image/x-portable-pixmap > #5 scope0005.ppm 297 KB 352x288 image/x-portable-pixmap > > > [root@oldpc root]# /usr/local/bin/gphoto2 --get-all-files > Downloading 'scope0001.ppm' from folder '/'... > Saving file as scope0001.ppm > Downloading 'scope0002.ppm' from folder '/'... > Saving file as scope0002.ppm > Downloading 'scope0003.ppm' from folder '/'... > Saving file as scope0003.ppm > Downloading 'scope0004.ppm' from folder '/'... > Saving file as scope0004.ppm > Downloading 'scope0005.ppm' from folder '/'... > Saving file as scope0005.ppm > > > > > -- > sane-devel mailing list: [email protected] > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to [email protected] > Nice writeup, thanks. Do we get to look at any pictures? Theodore Kilgore
