Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 1999 20:23:01 +0100 (CET)
From:      Peter Cornelius <pc@inr.fzk.de>
To:        freebsd-questions@FreeBSD.org
Subject:   ? Gaining SANE scanner access...
Message-ID:  <Pine.BSF.3.96.990221202109.11138A-100000@inr-delphi.fzk.de>

next in thread | raw e-mail | index | archive | help

Good afternoon,

I am trying to access (a probably not yet supported) flatbed scanner on a
2.2.8 box after having installed sane-1.0 and hoping to find some hints in
that. find-scanner does locate the scanner (probed and hooked up to
/dev/uk0 during boot, find-scanner is in the tools directory in the work
sources dir), but (x)scanimage only say something like `scanimage: open of
device xxx failed: Invalid argument', equally to any  xxx device I put
into 'scanimage --help -d xxx'.

This might just be as one should expect, but I'm looking for clues where I
can't find any. The sane homepage, imho, is not too verbose (yet), at
least not for someone like me, maybe that I'm just missing the point, or
that I'm just a slow learner.

For now, all I know is how to make the device send its (all too verbose,
see below) id, from scsi(8) and ncrcontrol(8), and I also had a look at
<sys/scsiio.h>, which I need to digest a little longer, I think.

To cut a long story short, I'd like to get the scanner working, or at
least get some more information out of it to be able to see whether it's
worth it, but I'm somewhat running out of ideas where to look. I have sent
a fax twice to the manufacturer (Relisys/Teco), without any response.

The char-flood for the hackers follows below. Please include my email
(pcc@gmx.de,pc@inr.fzk.de) in the Cc: if not replying directly, and maybe
switch to a more appropiate list.

Thanks for lending your... er... eye,

Best regards,

Peter.

---
Peter Cornelius <pc@inr.fzk.de>
Peter Cornelius <pc@akk.org>

uname -a (note: domain names are only used internally, not officially!!):
FreeBSD petra.cornelius.org 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Mon Jan 11 21:57:37 CET 1999 root@petra.cornelius.org:/usr/src/sys/compile/PETRA  i386

cat /var/run/dmesg.boot :
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.8-STABLE #0: Mon Jan 11 21:57:37 CET 1999
    root@petra.cornelius.org:/usr/src/sys/compile/PETRA
Calibrating clock(s) ... i586 clock: 132633211 Hz, i8254 clock: 1193198 Hz
CPU: Pentium/P54C (132.63-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52b  Stepping=11
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 100663296 (98304K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x002ab000 - 0x05ff5fff, 97824768 bytes (23883 pages)
avail memory = 95604736 (93364K bytes)
pcibus_setup(1):        mode 1 addr port (0x0cf8) is 0x8000005c
pcibus_setup(1a):       mode1res=0x80000000 (0x80000000)
pcibus_check:   device 0 is there (id=122d8086)
Probing for devices on PCI bus 0:
        configuration mode 1 allows 32 devices.
chip0 <Intel 82437FX PCI cache memory controller> rev 2 on pci0:0:0
        CPU Inactivity timer:  clocks
        Peer Concurrency: enabled
        CPU-to-PCI Write Bursting: enabled
        PCI Streaming: enabled
        Bus Concurrency: enabled
        Cache: 256K pipelined-burst secondary; L1 enabled
        DRAM: no memory hole, 66 MHz refresh
        Read burst timing: x-2-2-2/x-3-3-3
        Write burst timing: x-2-2-2
        RAS-CAS delay: 3 clocks
chip1 <Intel 82371FB PCI-ISA bridge> rev 2 on pci0:7:0
        I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks
        Extended BIOS: enabled
        Lower BIOS: disabled
        Coprocessor IRQ13: enabled
        Mouse IRQ12: disabled
        Interrupt Routing: A: IRQ15, B: IRQ11, C: IRQ12, D: disabled
                MB0: disabled, MB1: disabled
chip2 <Intel 82371FB IDE interface> rev 2 on pci0:7:1
        mapreg[20] type=1 addr=00003000 size=0010.
        Primary IDE: disabled
        Secondary IDE: disabled
vga0 <VGA-compatible display device> rev 0 int a irq 15 on pci0:17:0
        mapreg[10] type=0 addr=f0000000 size=800000.
ahc0 <Adaptec aic7850 SCSI host adapter> rev 0 int a irq 11 on pci0:18:0
        mapreg[10] type=1 addr=00006000 size=0100.
        mapreg[14] type=0 addr=f0800000 size=1000.
        reg20: virtual=0xf54c6000 physical=0xf0800000 size=0x1000
ahc0: Using left over BIOS settings
ahc0: aic7850 Single Channel, SCSI Id=7, 3 SCBs
ahc0: Resetting Channel A
ahc0: Downloading Sequencer Program...ahc0: 367 instructions downloaded
Done
ahc0: Probing channel A
ahc0 waiting for scsi devices to settle
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 Tagged Queuing Device
(ahc0:0:0): "IBM DCAS-34330 S65A" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 4134MB (8467200 512 byte sectors)
sd0(ahc0:0:0): with 8205 cyls, 6 heads, and an average 171 sectors/track
ahc0: target 5 synchronous at 4.0MHz, offset = 0xf
(ahc0:5:0): "TOSHIBA CD-ROM XM-5401TA 3115" type 5 removable SCSI 2
cd0(ahc0:5:0): CD-ROM cd present [233209 x 2048 byte records]
ncr0 <ncr 53c810 fast10 scsi> rev 1 int a irq 12 on pci0:19:0
        mapreg[10] type=1 addr=00006100 size=0100.
        mapreg[14] type=0 addr=f0801000 size=0100.
        reg20: virtual=0xf54c7000 physical=0xf0801000 size=0x100
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
ncr0 scanning for targets 0..6 (V2 pl24 96/12/14)
ncr0 waiting for scsi devices to settle
new ccb @f0aa5800.
(ncr0:4:0): " Image Scanner 1.08" type 6 fixed SCSI 2
uk0(ncr0:4:0): Unknown 
(ncr0:4:1): asynchronous.
(ncr0:4:1): M_REJECT received (4:8).
new ccb @f0aa5400.
(ncr0:4:1): " Image Scanner 1.08" type 6 fixed SCSI 2
uk1(ncr0:4:1): Unknown 
new ccb @f0aa5000.
(ncr0:4:2): " Image Scanner 1.08" type 6 fixed SCSI 2
uk2(ncr0:4:2): Unknown 
new ccb @f0aa8c00.
(ncr0:4:3): " Image Scanner 1.08" type 6 fixed SCSI 2
uk3(ncr0:4:3): Unknown 
new ccb @f0aa8800.
(ncr0:4:4): " Image Scanner 1.08" type 6 fixed SCSI 2
uk4(ncr0:4:4): Unknown 
new ccb @f0aa8400.
(ncr0:4:5): " Image Scanner 1.08" type 6 fixed SCSI 2
uk5(ncr0:4:5): Unknown 
new ccb @f0aa8000.
(ncr0:4:6): " Image Scanner 1.08" type 6 fixed SCSI 2
uk6(ncr0:4:6): Unknown 
new ccb @f0aa9c00.
(ncr0:4:7): " Image Scanner 1.08" type 6 fixed SCSI 2
uk7(ncr0:4:7): Unknown 
pci0: uses 8392960 bytes of memory from f0000000 upto f08010ff.
pci0: uses 528 bytes of I/O space from 3000 upto 61ff.
Probing for PnP devices:
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
No Plug-n-Play devices were found
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0047
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: BIOS video mode:3
sc0: VGA registers upon power-up
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: video mode:24
sc0: VGA registers in BIOS for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: VGA registers to be used for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: rows_offset:1
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x240-0x25f irq 10 maddr 0xd2000 msize 8192 on isa
ed0: address 00:00:c0:8a:94:cd, type SMC8416C/SMC8416BT (16 bit) 
bpf: ed0 attached
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
bpf: lp0 attached
lpt1: disabled, not probed.
sio0: irq maps: 0x209 0x219 0x209 0x209
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1: irq maps: 0x201 0x209 0x201 0x201
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: irq maps: 0x1 0x201 0x1 0x1
sio2 at 0x3e8-0x3ef irq 9 on isa
sio2: type 16450
sio3: disabled, not probed.
mss_probe: no address supplied, try default 0x530
mss_detect error, busy still set (0xff)
sb_probe: no address supplied, try defaults (0x220,0x240)
pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa
pca0 on motherboard
pca0: PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
fd1: 1.2MB 5.25in
npx0 on motherboard
npx0: INT 16 interface
joy0 at 0x201 on isa
joy0: joystick
imasks: bio c0081840, tty c00706ba, net c00706ba
BIOS Geometries:
 0:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors
 0 accounted for
Device configuration finished.
Intel Pentium detected, installing workaround for F00F bug
Linux-ELF exec handler installed
bpf: tun0 attached
bpf: tun1 attached
bpf: sl0 attached
bpf: sl1 attached
bpf: ppp0 attached
bpf: ppp1 attached
new masks: bio c0081840, tty c00706ba, net c00706ba
bpf: lo0 attached
ccd0-3: Concatenated disk drivers
Considering FFS root f/s.
sd0s1: type 0x6, start 32, end = 1023999, size 1023968 : OK
sd0s2: type 0xa5, start 1024000, end = 1843199, size 819200 : OK
sd0s3: type 0xa5, start 1843200, end = 8466431, size 6623232 : OK

...what else...?



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990221202109.11138A-100000>