sane-1.0.3 fails to open device Ultima AT3 on m68k Linux

From: Kevin Dalley (kevind@rahul.net)
Date: Sun Nov 19 2000 - 12:48:12 PST

  • Next message: Claus Atzenbeck: "Epson GUI"

    A Debian user (Ingo Juergensmann <ij@ax.westfalen.de>) reports a
    problem with running sane-1.0.3 on a m68k GNU/Linux box. In dll.conf,
    the artec backend is the only uncommented backend. Does anyone know
    how to solve this problem? Is it fixed in the CVS release of sane?

    The bug report is included below.

    No matter what I'm trying or configure, sane (i.e. scanimage) can't open
    device or even can't find it:

    arrakis:/home/ij# find-scanner
    find-scanner: found scanner "ULTIMA AT3 1.60 " at device /dev/scanner
    find-scanner: found scanner "ULTIMA AT3 1.60 " at device /dev/sg2
    arrakis:/home/ij# cat /proc/scsi/scsi
    Attached devices:
    Host: scsi0 Channel: 00 Id: 03 Lun: 00
      Vendor: QUANTUM Model: LIGHTNING 730S Rev: 241E
      Type: Direct-Access ANSI SCSI revision: 02
    Host: scsi1 Channel: 00 Id: 04 Lun: 00
      Vendor: SEAGATE Model: ST43400N Rev: 1028
      Type: Direct-Access ANSI SCSI revision: 02
    Host: scsi1 Channel: 00 Id: 05 Lun: 00
      Vendor: ULTIMA Model: AT3 1.60 Rev:
      Type: Scanner ANSI SCSI revision: 02
    Host: scsi1 Channel: 00 Id: 06 Lun: 00
      Vendor: TOSHIBA Model: CD-ROM XM-4101TA Rev: 0064
      Type: CD-ROM ANSI SCSI revision: 02
    arrakis:/home/ij# cat /etc/sane.d/artec.conf
    scsi ULTIMA
    /dev/sg2
    arrakis:/home/ij# ls -al /dev/sg2
    crw-rw-rw- 1 root root 21, 2 Jul 11 16:16 /dev/sg2
    arrakis:/home/ij# scanimage --list-devices
    arrakis:/home/ij# scanimage -T -d artec
    scanimage: open of device artec failed: Unknown SANE status code -1072566532

    >From my point of view there is no reason why scanimage (or xscanimage) can't
    find/open scanner device. Furthermore this Artec AT3 does work just fine
    under AmigaOS on same machine, same SCSI configuration, same cable, same
    IDs, and it worked fine on an Intel-based x86 Linux system. So, I assume
    scanner works fine, SCSI bus works fine, but sane doesn't.

    Thinking of little/big endian problems, I tried to recompile (x)sane
    packages with apt-get -b source, but unfortunately this failes due to
    missing build depends, IIRC.

    Ciao...
          Ingo

    -- System Information
    Debian Release: woody
    Kernel Version: Linux arrakis 2.2.10 #1 Wed Mar 29 20:39:52 CEST 2000 m68k unknown

    Versions of the packages sane depends on:
    ii libc6 2.1.3-13 GNU C Library: Shared libraries and Timezone
    ii libglib1.2 1.2.8-1 The GLib library of C routines
    ii libgtk1.2 1.2.8-1 The GIMP Toolkit set of widgets for X
    ii libjpeg62 6b-1.2.1 The Independent JPEG Group's JPEG runtime li
    ii libsane 1.0.3-4 API library for scanners
    ii xlib6g 3.3.6-11 shared libraries required by X clients

    arrakis:/home/ij# cat /proc/hardware
    Model: Amiga A3000
    CPU: 68040
    MMU: 68040
    FPU: 68040
    Clocking: 39.7MHz
    BogoMips: 26.52
    Calibration: 13260800 loops
    System Memory: 32768K
    Chip RAM: 2048K
    PS Freq: 50Hz
    EClock Freq: 709379Hz
    Graphics: ECS
    Detected hardware:
            Amiga Video
            Blitter
            Amber Flicker Fixer
            Amiga Audio
            Floppy Controller
            SCSI Controller WD33C93 (A3000 style)
            Keyboard
            Mouse Port
            Serial Port
            Parallel Port
            Hardware Clock (A3000 style)
            Chip RAM
            Paula 8364
            Denise 8373
            Fat Hires PAL Agnus 8372
            Magic Hard Rekick
            Zorro III AutoConfig: 5 Expansion Devices

    from dmesg:

    scsi-ncr53c7xx : NCR53c710 at memory 0x40040000, io 0x0, irq 12
    scsi0: Revision 0x1
    scsi0 : NCR code relocated to 0x9fd65e0 (virt 0x01fd65e0)
    scsi0 : test 1 started
    wd33c93-1: chip=WD33c93A/9 no_sync=0xff no_dma=0 debug_flags=0x00
               setup_args=,,,,,,,,,
               Version 1.25 - 09/Jul/1997, Compiled Mar 29 2000 at 21:19:18
    scsi0 : Amiga NCR53c710 SCSI
    scsi1 : Amiga 3000 built-in SCSI
    scsi : 2 hosts.
    scsi0 : target 3 accepting period 200ns offset 8 5.00MHz synchronous SCSI
    scsi0 : setting target 3 to period 200ns offset 8 5.00MHz synchronous SCSI
      Vendor: QUANTUM Model: LIGHTNING 730S Rev: 241E
      Type: Direct-Access ANSI SCSI revision: 02
    Detected scsi disk sda at scsi0, channel 0, id 3, lun 0
     sending SDTR 0103015e00sync_xfer=30 Vendor: SEAGATE Model: ST43400N
    Rev: 1028
      Type: Direct-Access ANSI SCSI revision: 02
    Detected scsi disk sdb at scsi1, channel 0, id 4, lun 0
     sending SDTR -REJ- Vendor: ULTIMA Model: AT3 1.60 Rev:
      Type: Scanner ANSI SCSI revision: 02
     sending SDTR 0103015e00sync_xfer=30 Vendor: TOSHIBA Model: CD-ROM
    XM-4101TA Rev: 0064
      Type: CD-ROM ANSI SCSI revision: 02
    Detected scsi CD-ROM sr0 at scsi1, channel 0, id 6, lun 0
    scsi : detected 1 SCSI cdrom 2 SCSI disks total.
    Uniform CDROM driver Revision: 2.55
    SCSI device sda: hdwr sector= 512 bytes. Sectors= 1431760 [699 MB] [0.7 GB]
    SCSI device sdb: hdwr sector= 512 bytes. Sectors= 5688447 [2777 MB] [2.8 GB]


    -- 
    Kevin Dalley
    kevind@rahul.net
    

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



    This archive was generated by hypermail 2b29 : Sun Nov 19 2000 - 12:34:35 PST