[PARPORT] Success! Scanport 300SQ (330 CS v. 1.34),OnSpec90c26 driver

From: Manuel Molano (mjmolano@prodigy.net.mx)
Date: Fri Jan 19 2001 - 07:03:48 EST

  • Next message: Tim Waugh: "Re: [PARPORT] Success! Scanport 300SQ (330 CS v. 1.34),OnSpec90c26 driver"

    Dear All,

    I guess this is good news for anybody with a (really cheap!) Scanport parallel
    port scanner...

    I recently posted an e-mail asking for help in setting up a Scanport scanner.
    Harry Holt (hholt@home.com) was having similar problems with a Microtek X6, and he
    fixed it, so he sent me a copy of his dmesg output (see "RE[4]: [PARPORT] OnSpec
    90c26 driver problems" dated Wed Dec 27, 2000). Thanks, Harry!

    I'm using Debian 2.2.r2 (potato). I upgraded my kernel to 2.4.0test12 exactly as
    Harry had his, and patched with Tim Waugh's CVS repository. My copy of the Linus
    tree did not have a config value for CONFIG_PARPORT_PC_SUPERIO, (which according
    to Harry should be set to "y") but anyway it worked. Here is what I did:

    - I was trying to get onscsi to recognise the device on EPP-32 mode. This would
    hang the system, so I changed BIOS setting of the port to PS/2 mode 1, dma=3.
    - I totally disabled Plug&Play, both in BIOS and in the kernel.
    - All the settings are exactly as Harry described in his e-mail.

    It is important to note that after patching, parport_pc.c would stop the
    compilation of bzImage. There is a missing comma (,) in line 3074 of parport_pc.c.
    Adding the comma solves the problem.

    These are the good news. The bad news is that sane does not seem to want to play
    with the newly found scanner, even though find-scanner works ok. But that's
    another issue that I might take to the appropriate forum. According to the scanner
    documentation, this scanner should behave exactly like a ScanMaker II.

    Attached is a copy of my dmesg output.

    Thanks, everybody, and cheers,

    Manuel Molano

    Linux version 2.4.0-test12 (root@debian) (gcc version 2.95.2 20000220 (Debian GNU/Linux)) #2 SMP Thu Jan 18 20:03:07 CST 2001
    BIOS-provided physical RAM map:
     BIOS-e820: 000000000009fc00 @ 0000000000000000 (usable)
     BIOS-e820: 0000000000000400 @ 000000000009fc00 (reserved)
     BIOS-e820: 0000000000010000 @ 00000000000f0000 (reserved)
     BIOS-e820: 0000000004f00000 @ 0000000000100000 (usable)
    Scan SMP from c0000000 for 1024 bytes.
    Scan SMP from c009fc00 for 1024 bytes.
    Scan SMP from c00f0000 for 65536 bytes.
    Scan SMP from c009fc00 for 4096 bytes.
    On node 0 totalpages: 20480
    zone(0): 4096 pages.
    zone(1): 16384 pages.
    zone(2): 0 pages.
    mapped APIC to ffffe000 (01156000)
    Kernel command line: BOOT_IMAGE=2 ro root=1601 BOOT_FILE=/test hda=ide-scsi max_scsi_luns=2
    ide_setup: hda=ide-scsi
    Initializing CPU#0
    Detected 165.793 MHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 330.96 BogoMIPS
    Memory: 78108k/81920k available (1449k kernel code, 3424k reserved, 94k data, 184k init, 0k highmem)
    Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
    Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
    CPU: Before vendor init, caps: 008001bf 00000000 00000000, vendor = 0
    Intel Pentium with F0 0F bug - workaround enabled.
    CPU: After vendor init, caps: 008001bf 00000000 00000000 00000000
    CPU: After generic, caps: 008001bf 00000000 00000000 00000000
    CPU: Common caps: 008001bf 00000000 00000000 00000000
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    CPU: Before vendor init, caps: 008001bf 00000000 00000000, vendor = 0
    CPU: After vendor init, caps: 008001bf 00000000 00000000 00000000
    CPU: After generic, caps: 008001bf 00000000 00000000 00000000
    CPU: Common caps: 008001bf 00000000 00000000 00000000
    CPU0: Intel Pentium MMX stepping 03
    per-CPU timeslice cutoff: 159.86 usecs.
    SMP motherboard not detected. Using dummy APIC emulation.
    Setting commenced=1, go go go
    PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=0
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Starting kswapd v1.8
    0x278: FIFO is 16 bytes
    0x278: writeIntrThreshold is 7
    0x278: readIntrThreshold is 7
    0x278: PWord is 8 bits
    0x278: Interrupts are ISA-Pulses
    0x278: ECP port cfgA=0x10 cfgB=0x7b
    0x278: ECP settings irq=5 dma=3
    parport0: PC-style at 0x278 (0x678) [PCSPP,TRISTATE,COMPAT,ECP]
    parport0: irq 5 detected
    parport0: Found 4 daisy-chained devices
    parport0: No more nibble data (0 bytes)
    parport0: faking semi-colon
    parport0: Printer, Xerox DocuPrint
    pty: 256 Unix98 ptys configured
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    PCI_IDE: unknown IDE controller on PCI bus 00 device 11, VID=10b9, DID=5219
    PCI: No IRQ known for interrupt pin A of device 00:02.1. Please try using pci=biosirq.
    PCI_IDE: chipset revision 32
    PCI_IDE: not 100% native mode: will probe irqs later
    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: 4124736 sectors (2112 MB), CHS=4092/16/63
    Partition check:
     hdc: [PTBL] [1023/64/63] hdc1 hdc2 hdc3 hdc4 < hdc5 hdc6 >
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
    CSLIP: code copyright 1989 Regents of the University of California.
    SLIP linefill/keepalive option.
    Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    PPP generic driver version 2.4.1
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    [drm] Initialized tdfx 1.0.0 20000928 on minor 63
    es1371: version v0.27 time 20:03:58 Jan 18 2001
    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
    ac97_codec: AC97 Audio codec, id: 0x4352:0x5913 (Cirrus Logic CS4297A)
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 8192 bind 8192)
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 184k freed
    Adding Swap: 58428k swap-space (priority -1)
    loop: enabling 8 loop devices
    SCSI subsystem driver Revision: 1.00
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
      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.11
    eth0: 3c509 at 0x300, 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.
    ppSCSI 0.92 (0.92) installed
    onscsi.0: onscsi 0.91 (0.92), OnSpec 90c26 at 0x278 mode 1 (PS/2) dly 1 nice 0 sg 16
    scsi1 : onscsi
      Vendor: Model: scanner 330CS Rev: 1.34
      Type: Scanner ANSI SCSI revision: 02
    Detected scsi generic sg1 at scsi1, channel 0, id 2, lun 0, type 6
    ide-scsi: The scsi wants to send us more data than expected - discarding data
    ide-scsi: transferred 1 of 2 bytes

    -- 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 : Fri Jan 19 2001 - 13:59:00 EST