[sane-devel] [Fwd: still looking for this scanner with SANE]

paul beard paulbeard@mac.com
Sat, 16 Feb 2002 08:03:49 -0800


sent this from unsubscribed address . . . .

-------- Original Message --------
Subject: still looking for this scanner with SANE
Date: Fri, 15 Feb 2002 23:15:04 -0800
From: paul <pkdb1@attbi.com>
To: sane-devel@mostang.com

I have recompiled my kernel to remove the ss0 device, replacing it
with uk0, as I recall reading somewhere. But I'm still stuck with
the OS seeing it and SANE not. below you can see ktruss output
from scsictl, probing and identifying the device and
sane-find-scanner not being able to.

[/home/paul]# ktruss scsictl uk0 identify
                                                                   = 0
    1017 ktruss   emul(netbsd)
    1017 ktruss   execve("/usr/home/paul/bin/scsictl", 0x7fffe9b8,
0x7fffe9c8) Err#2 ENOENT
    1017 ktruss   execve("/bin/scsictl", 0x7fffe9b8, 0x7fffe9c8)
Err#2 ENOENT
    1017 ktruss   execve("/sbin/scsictl", 0x7fffe9b8, 0x7fffe9c8)
JUSTRETURN
    1017 scsictl  emul(netbsd)
    1017 scsictl  __sysctl(0x7fffe918, 0x2, 0x7fffe920, 0x7fffe924,
0, 0) = 0
    1017 scsictl  open("uk0", 0x2, 0x7fffe920)       Err#2 ENOENT
    1017 scsictl  open("uk0c", 0x2, 0x1)             Err#2 ENOENT
    1017 scsictl  open("/dev/ruk0", 0x2, 0x1)        Err#2 ENOENT
    1017 scsictl  open("/dev/ruk0c", 0x2, 0x1)       Err#2 ENOENT
    1017 scsictl  __sysctl(0x7fffe918, 0x2, 0x7fffe920, 0x7fffe924,
0, 0) = 0
    1017 scsictl  open("uk0", 0x2, 0x7fffe920)       Err#2 ENOENT
    1017 scsictl  open("uk0c", 0x2, 0x1)             Err#2 ENOENT
    1017 scsictl  open("/dev/uk0", 0x2, 0x1)         = 3
,_IOW('Q',0x4,0x10)  1017 scsictl  ioctl(0x3, 0x1851cfc)
      = 0
,_IOWR('Q',0x1,0x60)  1017 scsictl  ioctl(0x3, 0x7fffe7b8)
       = 0
/dev/uk0: scsibus0 target 2 lun 0 <UMAX, Astra 1200S, V2.7>
    1017 scsictl  __fstat13(0x1, 0x7fffe498)         = 0
    1017 scsictl  __sysctl(0x7fffe498, 0x2, 0x7fffe4a0, 0x7fffe4a4,
0, 0) = 0
    1017 scsictl  "/etc/malloc.conf"                 Err#2 ENOENT
    1017 scsictl  mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0, 0)
= 1099235328
    1017 scsictl  break(0x185211c)                   = 0
    1017 scsictl  break(0x185211c)                   = 0
    1017 scsictl  break(0x1854000)                   = 0
    1017 scsictl  break(0x1854000)                   = 0
    1017 scsictl  break(0x1864000)                   = 0
    1017 scsictl  ioctl(0x1, TIOCGETA, 0x7fffe4e8)   = 0
    1017 scsictl  write(0x1, 0x1854000, 0x3c)        = 60
         "/dev/uk0: scsibus0 target 2 lun 0 <UMAX, Astra 1200S,
V2.7>\n"
    1017 scsictl  exit(0)





[/home/paul]# ktruss sane-find-scanner /dev/uk0
                                                                   = 0
    1097 ktruss   emul(netbsd)
    1097 ktruss   execve("/usr/home/paul/bin/sane-find-scanner",
0x7fffe9b8, 0x7fffe9c4) Err#2 ENOENT
    1097 ktruss   execve("/bin/sane-find-scanner", 0x7fffe9b8,
0x7fffe9c4) Err#2 ENOENT
    1097 ktruss   execve("/sbin/sane-find-scanner", 0x7fffe9b8,
0x7fffe9c4) Err#2 ENOENT
    1097 ktruss   execve("/usr/bin/sane-find-scanner", 0x7fffe9b8,
0x7fffe9c4) Err#2 ENOENT
    1097 ktruss   execve("/usr/sbin/sane-find-scanner", 0x7fffe9b8,
0x7fffe9c4) Err#2 ENOENT
    1097 ktruss   execve("/usr/X11R6/bin/sane-find-scanner",
0x7fffe9b8, 0x7fffe9c4) Err#2 ENOENT
    1097 ktruss   "/usr/libexec/ld.elf_so"           JUSTRETURN
    1097 sane-find-scanne emul(netbsd)
    1097 sane-find-scanne __sysctl(0x7fffe788, 0x2, 0x41855f60,
0x7fffe790, 0, 0) = 0
    1097 sane-find-scanne mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff,
0, 0, 0) = 1099268096
    1097 sane-find-scanne geteuid                    = 0
    1097 sane-find-scanne getuid                     = 0
    1097 sane-find-scanne getegid                    = 0
    1097 sane-find-scanne getgid                     = 0
    1097 sane-find-scanne open("/etc/ld.so.conf", 0, 0x418535c8)
Err#2 ENOENT
    1097 sane-find-scanne __stat13("/usr/pkg/lib/libusb-0.1.so.5",
0x7fffe7a8) = 0  1097 sane-find-scanne
open("/usr/pkg/lib/libusb-0.1.so.5", 0, 0) = 3
    1097 sane-find-scanne read(0x3, 0x7fffe818, 0x34) = 52

"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0\^S\^P\0\0"
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne open("/usr/pkg/lib/libusb-0.1.so.5", 0,
0) = 3
    1097 sane-find-scanne __fstat13(0x3, 0x7fffe828) = 0
    1097 sane-find-scanne read(0x3, 0x7fffd7c0, 0x1000) = 4096
    1097 sane-find-scanne mmap(0, 0x45000, 0x5, 0x2, 0x3, 0, 0, 0)
= 1099300864
    1097 sane-find-scanne mmap(0x418a3000, 0x2000, 0x7, 0x12, 0x3,
0, 0, 0x3000) = 1099575296
    1097 sane-find-scanne mmap(0x418a5000, 0, 0x7, 0x1012,
0xffffffff, 0, 0, 0) = 1099583488
    1097 sane-find-scanne munmap(0x41864000, 0x3f000) = 0
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne __stat13("/usr/pkg/lib/libm.so.0",
0x7fffe7a8) Err#2 ENOENT
    1097 sane-find-scanne __stat13("/usr/lib/libm.so.0",
0x7fffe7a8) = 0
    1097 sane-find-scanne open("/usr/lib/libm.so.0", 0, 0) = 3
    1097 sane-find-scanne read(0x3, 0x7fffe818, 0x34) = 52

"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0\134l\0\0\000"
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne open("/usr/lib/libm.so.0", 0, 0) = 3
    1097 sane-find-scanne __fstat13(0x3, 0x7fffe828) = 0
    1097 sane-find-scanne read(0x3, 0x7fffd7c0, 0x1000) = 4096
    1097 sane-find-scanne mmap(0, 0x60000, 0x5, 0x2, 0x3, 0, 0, 0)
= 1099583488
    1097 sane-find-scanne mmap(0x418ff000, 0x6000, 0x7, 0x12, 0x3,
0, 0, 0x1a000) = 1099952128
    1097 sane-find-scanne mmap(0x41905000, 0, 0x7, 0x1012,
0xffffffff, 0, 0, 0) = 1099976704
    1097 sane-find-scanne munmap(0x418c0000, 0x3f000) = 0
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne __stat13("/usr/pkg/lib/libjpeg.so.62",
0x7fffe7a8) = 0
    1097 sane-find-scanne open("/usr/pkg/lib/libjpeg.so.62", 0, 0) = 3
    1097 sane-find-scanne read(0x3, 0x7fffe818, 0x34) = 52

"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0/\M-$\0\0\000"
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne open("/usr/pkg/lib/libjpeg.so.62", 0, 0) = 3
    1097 sane-find-scanne __fstat13(0x3, 0x7fffe828) = 0
    1097 sane-find-scanne read(0x3, 0x7fffd7c0, 0x1000) = 4096
    1097 sane-find-scanne mmap(0, 0x62000, 0x5, 0x2, 0x3, 0, 0, 0)
= 1099976704
    1097 sane-find-scanne mmap(0x41963000, 0x3000, 0x7, 0x12, 0x3,
0, 0, 0x1e000) = 1100361728
    1097 sane-find-scanne mmap(0x41966000, 0x1000, 0x7, 0x1012,
0xffffffff, 0, 0, 0) = 1100374016
    1097 sane-find-scanne munmap(0x41924000, 0x3f000) = 0
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne __stat13("/usr/pkg/lib/libc.so.12",
0x7fffe7a8) Err#2 ENOENT
    1097 sane-find-scanne __stat13("/usr/lib/libc.so.12",
0x7fffe7a8) = 0
    1097 sane-find-scanne open("/usr/lib/libc.so.12", 0, 0) = 3
    1097 sane-find-scanne read(0x3, 0x7fffe818, 0x34) = 52

"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\^A\M-`\M-x\0\0"
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne open("/usr/lib/libc.so.12", 0, 0) = 3
    1097 sane-find-scanne __fstat13(0x3, 0x7fffe828) = 0
    1097 sane-find-scanne read(0x3, 0x7fffd7c0, 0x1000) = 4096
    1097 sane-find-scanne mmap(0, 0xec000, 0x5, 0x2, 0x3, 0, 0, 0)
= 1100378112
    1097 sane-find-scanne mmap(0x41a39000, 0xd000, 0x7, 0x12, 0x3,
0, 0, 0x92000) = 1101238272
    1097 sane-find-scanne mmap(0x41a46000, 0xd000, 0x7, 0x1012,
0xffffffff, 0, 0, 0) = 1101291520
    1097 sane-find-scanne munmap(0x419fa000, 0x3f000) = 0
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne __sysctl(0x41854274, 0x2, 0x41855f54,
0x7fffe8a8, 0, 0) = 0
    1097 sane-find-scanne __fstat13(0x1, 0x7fffa578) = 0
    1097 sane-find-scanne __sysctl(0x7fffa548, 0x2, 0x7fffa550,
0x7fffa554, 0, 0) = 0
    1097 sane-find-scanne "/etc/malloc.conf"         Err#2 ENOENT
    1097 sane-find-scanne mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff,
0, 0, 0) = 1099317248
    1097 sane-find-scanne break(0x1844188)           = 0
    1097 sane-find-scanne break(0x1844188)           = 0
    1097 sane-find-scanne break(0x1846000)           = 0
    1097 sane-find-scanne break(0x1846000)           = 0
    1097 sane-find-scanne break(0x1856000)           = 0
    1097 sane-find-scanne ioctl(0x1, TIOCGETA, 0x7fffa5c8) = 0
# Note that sane-find-scanner will find any scanner that is connected
    1097 sane-find-scanne write(0x1, 0x1846000, 0x46) = 70
         "# Note that sane-find-scanner will find any scanner that
is connected"
# to a SCSI bus and some scanners that are connected to the Universal
    1097 sane-find-scanne write(0x1, 0x1846000, 0x46) = 70
         "# to a SCSI bus and some scanners that are connected to
the Universal"
# Serial Bus (USB) depending on your OS. It will even find scanners
    1097 sane-find-scanne write(0x1, 0x1846000, 0x44) = 68
         "# Serial Bus (USB) depending on your OS. It will even
find scanners\n"
# that are not supported at all by SANE. It won't find a scanner that
    1097 sane-find-scanne write(0x1, 0x1846000, 0x46) = 70
         "# that are not supported at all by SANE. It won't find a
scanner that"
# is connected to a parallel or proprietary port.
    1097 sane-find-scanne write(0x1, 0x1846000, 0x32) = 50
         "# is connected to a parallel or proprietary port.\n"

    1097 sane-find-scanne write(0x1, 0x1846000, 0x1) = 1
         "\n"
    1097 sane-find-scanne getuid                     = 0
    1097 sane-find-scanne open("/dev/uk0", 0x802, 0x15) = 3
    1097 sane-find-scanne break(0x1856000)           = 0
    1097 sane-find-scanne break(0x1857000)           = 0
,_IOWR('Q',0x1,0x60)  1097 sane-find-scanne ioctl(0x3, 0x7fffa7f8)
      = 0
,_IOWR('Q',0x1,0x60)  1097 sane-find-scanne ioctl(0x3, 0x7fffa7f8)
      = 0
sane-find-scanner: found SCSI scanner "  " at device /dev/uk0
    1097 sane-find-scanne write(0x1, 0x1846000, 0x3e) = 62
         "sane-find-scanner: found SCSI scanner "  " at device
/dev/uk0\n"
    1097 sane-find-scanne close(0x3)                 = 0
    1097 sane-find-scanne open("/dev/uk0", 0x2, 0x14) = 3
sane-find-scanner: found USB scanner (UNKNOWN vendor and product)
at device /dev/uk0
    1097 sane-find-scanne write(0x1, 0x1846000, 0x55) = 85
         "sane-find-scanner: found USB scanner (UNKNOWN vendor and
product) at "
    1097 sane-find-scanne close(0x3)                 = 0

    1097 sane-find-scanne write(0x1, 0x1846000, 0x1) = 1
         "\n"
# `UNKNOWN vendor and product' means that there seems to be a scanner
    1097 sane-find-scanne write(0x1, 0x1846000, 0x46) = 70
         "# `UNKNOWN vendor and product' means that there seems to
be a scanner"
# at this device file but the vendor and product ids couldn't be
    1097 sane-find-scanne write(0x1, 0x1846000, 0x42) = 66
         "# at this device file but the vendor and product ids
couldn't be \n"
# identified. Currently identification only works with Linux versions
    1097 sane-find-scanne write(0x1, 0x1846000, 0x46) = 70
         "# identified. Currently identification only works with
Linux versions"
# >= 2.4.8.
    1097 sane-find-scanne write(0x1, 0x1846000, 0xd) = 13
         "# >= 2.4.8. \n"
    1097 sane-find-scanne exit(0)