[PARPORT] ppSCSI and Microtek X6 scanner -- almost working

From: Karl Oberjohn (kwoberjohn@yahoo.com)
Date: Sun Dec 17 2000 - 12:13:52 EST

  • Next message: Adam J. Richter: "Re: [PARPORT] PATCH: parport MODULE_DEVICE_TABLE proposal for modutils and kernel v1.0"

    Hello,

    I am trying to utilize my parallel-port Microtek X6
    scanner with my Linux laptop (Mitsubishi AMiTY CN-2).
     I have successfully achieved this about a year ago
    with a 2.2.x kernel and the onscsi driver on another
    machine, but now I'm working with 2.4.0-test12. I've
    applied the recently-posted linux24/linux-ppscsi.patch
    (dated December 13) to my kernel source tree.

    Unfortunately, when I insmod onscsi, the scanner ID is
    recognized correctly (see dmesg output below, Target
    5, "Scanner 636A4"), but beyond that, no connection is
    made to the scanner. Instead, I receive a series of
    "Arbitration failure" errors. I'm also puzzled why
    only mode 0 seems to pass the startup tests.

    It seems like I'm pretty close to getting this to
    work. Does anyone know I need to do next? This Linux
    newbie would appreciates any and all assistance. :)

    Karl Oberjohn

    dmesg output:

    -----parport, parport_pc (compiled into kernel):
    parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
    parport0: Found 4 daisy-chained devices

    -----insmod scsi_mod, insmod sg:
    SCSI subsystem driver Revision: 1.00

    -----insmod ppscsi:
    ppSCSI 0.92 (0.92) installed

    -----insmod onscsi verbose=4
    onscsi.0: 0x378 is parport0
    onscsi.0: signature 0xb5f
    onscsi.0: OnSpec 90c26 version 12
    onscsi.0: test port 0x378 mode 0 errors 0
    onscsi.0: Target 0, bl=36 us=0 bf=0 cm=12
    onscsi.0: releasing parport
    onscsi.0: Command status 00010000 last phase 0
    onscsi.0: Target 1, bl=36 us=0 bf=0 cm=12
    onscsi.0: releasing parport
    onscsi.0: Command status 00010000 last phase 0
    onscsi.0: Target 2, bl=36 us=0 bf=0 cm=12
    onscsi.0: releasing parport
    onscsi.0: Command status 00010000 last phase 0
    onscsi.0: Target 3, bl=36 us=0 bf=0 cm=12
    onscsi.0: releasing parport
    onscsi.0: Command status 00010000 last phase 0
    onscsi.0: Target 4, bl=36 us=0 bf=0 cm=12
    onscsi.0: releasing parport
    onscsi.0: Command status 00010000 last phase 0
    onscsi.0: Target 5, bl=36 us=0 bf=0 cm=12
    onscsi.0: selected target
    onscsi.0: Command to 5 (6): 12 0 0 0 24 0
    onscsi.0: slow read 36 bytes
    onscsi.0: status = 0
    onscsi.0: releasing parport
    onscsi.0: Command status 00000000 last phase 37
    onscsi.0: port 0x378 mode 0 targ 5: ....[...
    Scanner 636A4 1.20
    onscsi.0: Target 6, bl=36 us=0 bf=0 cm=12
    onscsi.0: releasing parport
    onscsi.0: Command status 00010000 last phase 0
    onscsi.0: Target 7, bl=36 us=0 bf=0 cm=12
    onscsi.0: releasing parport
    onscsi.0: Command status 00010000 last phase 0
    onscsi.0: port 0x378 mode 0 test passed (0,0,1)
    onscsi.0: signature 0xb5f
    onscsi.0: OnSpec 90c26 version 12
    onscsi.0: test port 0x378 mode 1 errors 4080
    onscsi.0: port 0x378 mode 1 test failed (4080,-1,0)
    onscsi.0: signature 0xb5f
    onscsi.0: OnSpec 90c26 version 12
    onscsi.0: test port 0x378 mode 2 errors 4080
    onscsi.0: port 0x378 mode 2 test failed (4080,-1,0)
    onscsi.0: signature 0xb5f
    onscsi.0: OnSpec 90c26 version 12
    onscsi.0: test port 0x378 mode 3 errors 4080
    onscsi.0: port 0x378 mode 3 test failed (4080,-1,0)
    onscsi.0: signature 0xb5f
    onscsi.0: OnSpec 90c26 version 12
    onscsi.0: test port 0x378 mode 4 errors 4080
    onscsi.0: port 0x378 mode 4 test failed (4080,-1,0)
    onscsi.0: onscsi 0.91 (0.92), OnSpec 90c26 at 0x378
    mode 0 (Nybble) dly 1 nice 0 sg 16
    scsi0 : onscsi
    onscsi.0: Target 0, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=8
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 0, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=9
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 0, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=10
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 1, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=11
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 1, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=12
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 1, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=13
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 2, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=14
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 2, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=15
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 2, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=16
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 3, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=17
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 3, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=18
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 3, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=19
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 4, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=20
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 4, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=21
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 4, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=22
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 5, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=23
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 5, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=24
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 5, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=25
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 6, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=26
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 6, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=27
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0
    onscsi.0: Target 6, bl=256 us=0 bf=0 cm=12
    onscsi.0: Arbitration failure, bs=2 cb=0 db=36 bu=0
    sg=0 rd=1 lp=0 pe=0 cc=28
    onscsi.0: releasing parport
    onscsi.0: Command status 00020000 last phase 0

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Shopping - Thousands of Stores. Millions of Products.
    http://shopping.yahoo.com/

    -- 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 : Sun Dec 17 2000 - 12:19:27 EST