[PARPORT] Microtek (cloned) 330 CDS scannerlinux-parport@torque.net

From: Manuel Molano (mjmolano@prodigy.net.mx)
Date: Wed Dec 27 2000 - 09:43:46 EST

  • Next message: Manuel Molano: "Re[2]: [PARPORT] OnSpec 90c26 driver problems"

    "When somebody asks you to go by the book, you should ask yourself: what
    book?"
                                                    --Laurie Andersen

    Hello everybody. My scanner is a Scanport parallel port scanner, and
    from the windoze driver I know that its Microtek compatible. At least,
    the w95/98 driver is made by Microtek, under name and version "Scanport
    2.50".

     After patching my 2.2.16 kernel and compiling the appropriate ppscsi.o
    and onscsi.o drivers, I know that it should be Microtek compatible
    because the 90c26 chip is detected. On a verbose=3 level, onscsi can
    also read the name of the scanner, as 330 CDS V.1.34 . Such a thing
    would not happen if I plugged my toaster to the parallel port (assuming
    the toaster had a parallel port) so this piece of hardware has some
    probability of working under sane.

    Both the scanner and the parallel port (which is EPP and EPP-32 capable,
    according to BIOS) pass the tests made by onscsi (I am reproducing here
    the dmesg with verbose=2 so I don't bore you with a large output) and I
    still can't access the scanner with sane backend 1.0.4.

    I initially thought it was a conflict with my CD writer (which is an
    Atapi emulated as a SCSI device through sr_mod & ide-scsi) but I still
    cannot access the scanner if I disable sr_mod.o and ide-scsi.

    I think I have gone by the book. First, scsi_mod, then sg, then parport,
    parport_pc, ppscsi, onscsi. Can anybody tell me what am I doing wrong?

    If there is no driver for the scanner, I might go on and write one (with
    a little help from you, my friends, of course! =)

    Thanks,

    Manuel Molano

    Linux version 2.2.16 (root@CorelLinux) (gcc version 2.7.2.3) #5 Wed Dec 27 02:22:48 PST 2000
    Detected 165796 kHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 330.96 BogoMIPS
    Memory: 79648k/81920k available (812k kernel code, 416k reserved, 1004k data, 40k init)
    Dentry hash table entries: 16384 (order 5, 128k)
    Buffer cache hash table entries: 131072 (order 7, 512k)
    Page cache hash table entries: 32768 (order 5, 128k)
    CPU: Intel Pentium MMX stepping 03
    Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
    Checking 'hlt' instruction... OK.
    Intel Pentium with F0 0F bug - workaround enabled.
    POSIX conformance testing by UNIFIX
    PCI: PCI BIOS revision 2.10 entry at 0xf0200
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    Linux NET4.0 for Linux 2.2
    Based upon Swansea University Computer Society NET3.039
    NET4: Unix domain sockets 1.0 for Linux NET4.0.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP
    TCP: Hash tables configured (ehash 131072 bhash 65536)
    Starting kswapd v 1.5
    Detected PS/2 Mouse Port.
    Serial driver version 4.27 with no serial options enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    pty: 256 Unix98 ptys configured
    PCI_IDE: unknown IDE controller on PCI bus 00 device 11, VID=10b9, DID=5219
    PCI_IDE: not 100% native mode: will probe irqs later
    PCI_IDE: simplex device: DMA disabled
    ide0: PCI_IDE Bus-Master DMA disabled (BIOS)
    PCI_IDE: simplex device: DMA disabled
    ide1: PCI_IDE Bus-Master DMA disabled (BIOS)
    hda: LG CD-RW CED-8081B, ATAPI CDROM drive
    hdc: ST32122A, ATA DISK drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hdc: ST32122A, 2014MB w/0kB Cache, CHS=4092/16/63
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    PPP: version 2.3.7 (demand dialling)
    TCP compression code copyright 1989 Regents of the University of California
    PPP line discipline registered.
    Partition check:
     hdc: [PTBL] [1023/64/63] hdc1 hdc2 hdc3
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 40k freed
    Adding Swap: 38300k swap-space (priority -1)
    eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 60 97 62 86 8a, IRQ 10.
    3c509.c:1.16 (2.2) 2/3/98 becker@cesdis.gsfc.nasa.gov.
    PPP Deflate Compression module registered
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    scsi : 1 host.
      Vendor: LG Model: CD-RW CED-8081B Rev: 1.00
      Type: CD-ROM ANSI SCSI revision: 02
    Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.10
    parport0: PC-style at 0x378 [SPP,PS2,EPP]
    ppSCSI 0.91 (0.91) installed
    onscsi.1: signature 0xb5f
    onscsi.1: OnSpec 90c26 version 12
    onscsi.1: Command to 2 (6): 12 0 0 0 24 0
    onscsi.1: port 0x378 mode 0 test passed (0,0,1)
    onscsi.1: signature 0xb5f
    onscsi.1: OnSpec 90c26 version 12
    onscsi.1: Command to 2 (6): 12 0 0 0 24 0
    onscsi.1: port 0x378 mode 1 test passed (0,0,1)
    onscsi.1: signature 0xb5f
    onscsi.1: OnSpec 90c26 version 12
    onscsi.1: Command to 2 (6): 12 0 0 0 24 0
    onscsi.1: port 0x378 mode 2 test passed (0,0,1)
    onscsi.1: signature 0xb5f
    onscsi.1: OnSpec 90c26 version 12
    onscsi.1: Command to 2 (6): 12 0 0 0 24 0
    onscsi.1: port 0x378 mode 3 test passed (0,0,1)
    onscsi.1: signature 0xb5f
    onscsi.1: OnSpec 90c26 version 12
    onscsi.1: Command to 2 (6): 12 0 0 0 24 0
    onscsi.1: port 0x378 mode 4 test passed (0,0,1)
    onscsi.1: onscsi 0.90 (0.91), OnSpec 90c26 at 0x378 mode 4 (EPP-32) dly 1 nice 0 sg 16
    onscsi.2: signature 0xfff
    onscsi.2: port 0x278 mode 0 test failed (1,-1,0)
    onscsi.2: signature 0xfff
    onscsi.2: port 0x278 mode 1 test failed (1,-1,0)
    onscsi.2: signature 0xfff
    onscsi.2: port 0x278 mode 2 test failed (1,-1,0)
    onscsi.2: signature 0xfff
    onscsi.2: port 0x278 mode 3 test failed (1,-1,0)
    onscsi.2: signature 0xfff
    onscsi.2: port 0x278 mode 4 test failed (1,-1,0)
    onscsi.3: signature 0xfff
    onscsi.3: port 0x3bc mode 0 test failed (1,-1,0)
    onscsi.3: signature 0xfff
    onscsi.3: port 0x3bc mode 1 test failed (1,-1,0)
    scsi1 : onscsi
    scsi : 2 hosts.
    onscsi.1: Command to 2 (6): 0 0 0 0 0 0
    onscsi.1: Command to 2 (6): 12 0 0 0 ff 0
    eth0: Setting Rx mode to 1 addresses.
    es1371: version v0.22 time 01:24:11 Dec 27 2000
    es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x06
    es1371: found es1371 rev 6 at io 0x7000 irq 11
    es1371: features: joystick 0x0
    es1371: codec vendor CRY (0x435259) revision 19 (0x13)
    es1371: codec features Headphone out 20bit DAC 18bit ADC
    es1371: stereo enhancement: Crystal Semiconductor 3D Stereo Enhancement
    VFS: Disk change detected on device sr(11,0)
    VFS: Disk change detected on device sr(11,0)
    ISO 9660 Extensions: RRIP_1991A
    registered device ppp0
    PPP BSD Compression module registered
    es1371: unloading

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Wed Dec 27 2000 - 07:47:10 EST