Re: Problems with Microtek ScanMaker 630

Christian Asam (Christian.Asam@gmx.de)
Tue, 16 Jun 1998 10:55:17 +0000

Hugo van der Kooij wrote:
> > It doesn't even scan... Here a sample:
> > bash-2.01$ scanimage -h
> > Usage: scanimage [OPTION]...
> >
> > Start image acquisition on a scanner device and write PNM image data to
> > standard output.
> >
> > -d, --device-name=DEVICE use a given scanner device
> > -h, --help display this help message and exit
> > -L, --list-devices show available scanner devices
> > -v, --verbose give even more status messages
> > -V, --version print version information
> > Segmentation fault
>
> What happens if you strace it?
The last lines are:

open("./dll.conf", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/etc/sane.d/dll.conf", O_RDONLY) = 3
fstat(3, {st_dev=makedev(3, 5), st_ino=41019, st_mode=S_IFREG|0644,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=2,
st_size=195, st_atime=98/06/16-10:47:44, st_mtime=98/06/12-15:38:19,
st_ctime=98/06/12-15:38:19}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4000b000
read(3, "# enable the next line if you wa"..., 4096) = 195
read(3, "", 4096) = 0
close(3) = 0
munmap(0x4000b000, 4096) = 0
open("/usr/local/lib/sane/libsane-microtek2.so.0", O_RDONLY) = 3
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Doesn't seem to like the backend...
the ....so.0 is a link to the lib with the correct permissions etc.

microtek2 is the only enabled backend. After enabling the pnm-"backend"
I get the following output:
open("/usr/local/etc/sane.d/dll.conf", O_RDONLY) = 3
fstat(3, {st_dev=makedev(3, 5), st_ino=41019, st_mode=S_IFREG|0644,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=2,
st_size=194, st_atime=98/06/16-10:53:17, st_mtime=98/06/16-10:53:22,
st_ctime=98/06/16-10:53:22}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4000b000
read(3, "# enable the next line if you wa"..., 4096) = 194
read(3, "", 4096) = 0
close(3) = 0
munmap(0x4000b000, 4096) = 0
open("/usr/local/lib/sane/libsane-pnm.so.0", O_RDONLY) = 3
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

cu

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com