List Info

Thread: SANE from darwinports not running under Mac OS X




SANE from darwinports not running under Mac OS X
user name
2006-09-29 09:50:35
Hi,

I'm trying to run a Canon LiDE30 (plustek backend) with the
help of SANE of
Darwin Ports in Mac OS X 10.4.7.

I installed the following (patched?) packages from Mattias
Ellert
(http://www.ellert.se
/twain-sane/) into /usr/local/:
* TWAIN-SANE Interface 1.8
* SANE backends 1.0.18-cvs
* libusb 0.1.12

Now I can scan with the help of /usr/local/bin/scanimage and
the Image
Capture Utility of Mac OS.

I installed xsane with all its dependencies from DarwinPorts
into the
default /opt/local/, to have a more extended GUI. But
scanning with
scanimage fails, xsane itself says it could not find any
devices. Running
the programs as root does not help, though it could be
detected:

$ /opt/local/bin/scanimage
scanimage: no SANE devices found

$ /opt/local/bin/sane-find-scanner
[...]
found USB scanner (vendor=0x04a9 [Canon], product=0x220e
[CanoScan],
chip=LM9832/3) at libusb:002:002-04a9-220e-ff-00
[...]

$ SANE_DEBUG_DLL=255 /opt/local/bin/scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.11 from
sane-backends 1.0.17
[dll] sane_init: reading dll.conf
...
[dll] add_backend: adding backend `plustek'
...
[dll] sane_get_devices
...
[dll] load: searching backend `plustek' in
`/opt/local/lib/sane'
[dll] load: trying to load
`/opt/local/lib/sane/libsane-plustek.1.so'
[dll] load: dlopen()ing
`/opt/local/lib/sane/libsane-plustek.1.so'
[dll] init: initializing backend `plustek'
[dll] init: backend `plustek' is version 1.0.
...
[dll] sane_get_devices: found 0 devices
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `umax1220u's exit function
...
[dll] sane_exit: finished

The scanner is plugged in and scanning with Mattias'
packages works
flawlessly(!), ist is detected both by sane-find-scanner and
scanimage:

$ SANE_DEBUG_DLL=255 /usr/local/bin/scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.12 from
sane-backends 1.0.18
[dll] sane_init: reading dll.conf
...
[dll] add_backend: adding backend `plustek'
...
[dll] sane_get_devices
...
[dll] load: searching backend `plustek' in
`/usr/local/lib/sane'
[dll] load: trying to load
`/usr/local/lib/sane/libsane-plustek.1.so'
[dll] load: dlopen()ing
`/usr/local/lib/sane/libsane-plustek.1.so'
[dll] init: initializing backend `plustek'
[dll] init: backend `plustek' is version 1.0.0
...
[dll] sane_get_devices: found 1 devices
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `brother_mfc's exit
function
...
[dll] sane_exit: finished
device `plustek:libusb:002:002-04a9-220e-ff-00' is a Canon
N1240U/LiDE30 USB
flatbed scanner

How can I run the xscanimage utility ("xsane")
under Mac OS X?
I'm not very experienced with Unix and the Shell, so if
anyone could provide
help I'd be very thankful.

Cheers,
Martin


-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )