[sane-devel] Plustec 19200S problem
Robert Jaworski
RmanX at gmx.de
Sat Feb 2 13:46:07 GMT 2002
Hello Henning and everaybody else,
I have fo nd one stupid thing I forgot. The path to /usr/lib/sane was not
set.
Now it is, but it is still not working.
I have done a strace. here is the output:
execve("/usr/bin/scanimage", ["scanimage", "-d", "artec:/dev/scanner"], [/*
29 vars */]) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0
brk(0) = 0x80516a0
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sane/i686/mmx/libsane.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/sane/i686/mmx", 0xbfffec0c) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sane/i686/libsane.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/sane/i686", 0xbfffec0c) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sane/mmx/libsane.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/sane/mmx", 0xbfffec0c) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sane/libsane.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\26\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=29254, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40017000
old_mmap(NULL, 24868, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000
mprotect(0x4001d000, 4388, PROT_NONE) = 0
old_mmap(0x4001d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x4000) = 0x4001d000
old_mmap(0x4001e000, 292, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4001e000
close(3) = 0
open("/usr/lib/sane/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=73840, ...}) = 0
old_mmap(NULL, 73840, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001f000
close(3) = 0
open("/lib/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20?\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=436784, ...}) = 0
old_mmap(NULL, 89756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40032000
mprotect(0x40045000, 11932, PROT_NONE) = 0
old_mmap(0x40045000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x12000) = 0x40045000
old_mmap(0x40046000, 7836, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40046000
close(3) = 0
open("/usr/lib/sane/libusb-0.1.so.4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libusb-0.1.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\16"..., 1024) =
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=21503, ...}) = 0
old_mmap(NULL, 20204, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40048000
mprotect(0x4004b000, 7916, PROT_NONE) = 0
old_mmap(0x4004b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x2000) = 0x4004b000
close(3) = 0
open("/usr/lib/sane/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320H\0"..., 1024) =
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=622317, ...}) = 0
old_mmap(NULL, 142580, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4004d000
mprotect(0x4006f000, 3316, PROT_NONE) = 0
old_mmap(0x4006f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x21000) = 0x4006f000
close(3) = 0
open("/usr/lib/sane/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220$\0"..., 1024) =
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=140522, ...}) = 0
old_mmap(NULL, 124032, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40070000
mprotect(0x4008e000, 1152, PROT_NONE) = 0
old_mmap(0x4008e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x1d000) = 0x4008e000
close(3) = 0
open("/usr/lib/sane/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\36\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=65997, ...}) = 0
old_mmap(NULL, 12756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4008f000
mprotect(0x40092000, 468, PROT_NONE) = 0
old_mmap(0x40092000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x2000) = 0x40092000
close(3) = 0
open("/usr/lib/sane/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \306\1"..., 1024) =
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=5772268, ...}) = 0
old_mmap(NULL, 1290088, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40093000
mprotect(0x401c5000, 36712, PROT_NONE) = 0
old_mmap(0x401c5000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x131000) = 0x401c5000
old_mmap(0x401ca000, 16232, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401ca000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x401ce000
munmap(0x4001f000, 73840) = 0
brk(0) = 0x80516a0
brk(0x80516c8) = 0x80516c8
brk(0x8052000) = 0x8052000
open("./v4l.conf", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/sane.d/v4l.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=204, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4001f000
read(3, "#\n# In order to use the v4linux "..., 4096) = 204
open("/dev/bttv0", O_RDWR) = -1 ENOENT (No such file or
directory)
open("/dev/video0", O_RDWR) = -1 EBUSY (Device or resource busy)
open("/dev/video1", O_RDWR) = -1 ENOSYS (Function not
implemented)
open("/dev/video1", O_RDWR) = -1 ENOSYS (Function not
implemented)
open("/dev/video1", O_RDWR) = -1 ENODEV (No such device)
open("/dev/video2", O_RDWR) = -1 ENOSYS (Function not
implemented)
open("/dev/video2", O_RDWR) = -1 ENOSYS (Function not
implemented)
open("/dev/video2", O_RDWR) = -1 ENODEV (No such device)
open("/dev/video3", O_RDWR) = -1 ENOSYS (Function not
implemented)
open("/dev/video3", O_RDWR) = -1 ENOSYS (Function not
implemented)
open("/dev/video3", O_RDWR) = -1 ENODEV (No such device)
read(3, "", 4096) = 0
close(3) = 0
munmap(0x4001f000, 4096) = 0
open("artec:/dev/scanner", O_RDWR) = -1 ENOENT (No such file or
directory)
write(2, "scanimage: open of device artec:"..., 65scanimage: open of device
artec:/dev/scanner failed: Device
busy
) = 65
_exit(1)
Can you please tell my why /dev/bttv and /dev/video is beeing opened?
Why open("artec:/dev/scanner", O_RDWR)???
scanimage is not reading artec.conf but v4l.conf ?
Thanks in advance.
Robert
> Hi,
>
> On Thu, Jan 31, 2002 at 11:31:52PM +0100, Robert Jaworski wrote:
> > could somebody please help me. I have a plustec 19200 scanner.
>
> This one should be supported by the Artec backend. I'm not a Plustek
> nor Artec guy but maybe i can help to clarify some things:
>
> > when I run scanimage I get the following output:
> > scanimage: no SANE devices found
>
> You may get more information with
>
> SANE_DEBUG_ARTEC=255 scanimage -L
>
> If there is some SCSI problem, you can also add
> SANE_DEBUG_SANEI_SCSI=255.
>
> > and in the /var/log/massages the following message appears for all
> > devices (0) - (15):
> > Jan 31 23:25:03 localhost kernel: scanner.c: open_scanner(0):
> > Unable to access minor data
>
> This is not related. The messages only mean that sane-find-scanner
> tries to find a USB scanner by opening all USB scanner devices. The
> scanner driver is a bit too verbose IMHO and logs every access to a
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
More information about the sane-devel
mailing list