Re: [PARPORT] SSQ2030 scanner and onscsi module

From: Mark (mark@thisismyown.com)
Date: Wed Nov 15 2000 - 07:55:35 EST

  • Next message: Tim Waugh: "Re: [PARPORT] SSQ2030 scanner and onscsi module"

    I finally got this working....init script follows. I think I had been skipping
    the ppdev userspace driver.

    --Mark

    [mark@tbone init.d]$ more scannermods
    #!/bin/sh

    #
    # Load parport support modules
    #
    insmod parport
    insmod parport_pc

    #
    # Can't find parport0 IRQ, set it manually
    # This is probably broken, but o well
    #
    echo 5 > /proc/parport/0/irq

    #
    # Userspace PPSCSI driver
    #
    insmod ppdev

    #
    # PPSCSI and OnScsi drivers
    #

    insmod ppscsi
    insmod onscsi host0=0x278 verbose=1

    #
    # Make scanner dev available to all
    #
    chmod 666 /dev/sg*

    #
    # END
    #

    On Wed, 15 Nov 2000 00:53:48 -0500, James T. Nelson III said:

    > Anyone have an answer for this question? I'm trying to get an SQ3036 to
    > work and having similar results. I know that the scanner can work
    > because I've had it working before, but I've upgraded Mandrake 3 times
    > since then.
    >
    > Also, anyone have any idea why it didn't show up in the list archives on
    > torque.net?
    >
    > TIA
    >
    > Jim
    >
    > Mark wrote:
    > >
    > > I've downloaded the patches to get the OnScsi support working , and applied
    > > them to the 2.2.17 kernel.
    > >
    > > ppscsi loads OK, but onscsi fails the tests. What are the tests the module is
    > > running,and what can I look for to see what's failing or that I can change...
    > >
    > > [root@tbone SANE]# insmod ppscsi
    > > [root@tbone SANE]# insmod onscsi verbose=4 host0=0x278
    > > /lib/modules/2.2.17/scsi/onscsi.o: init_module: Device or resource busy
    > > [root@tbone SANE]# tail -12 /var/log/messages
    > > Nov 3 08:22:53 tbone kernel: ppSCSI 0.91 (0.91) installed
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: signature 0x357
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: port 0x278 mode 0 test failed (1,-1,0)
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: signature 0x357
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: port 0x278 mode 1 test failed (1,-1,0)
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: signature 0x357
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: port 0x278 mode 2 test failed (1,-1,0)
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: signature 0x357
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: port 0x278 mode 3 test failed (1,-1,0)
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: signature 0x357
    > > Nov 3 08:22:59 tbone kernel: onscsi.0: port 0x278 mode 4 test failed (1,-1,0)
    > > Nov 3 08:22:59 tbone kernel: scsi : 1 host.
    > > [root@tbone SANE]# cd /proc/parport/0
    > > [root@tbone 0]# pwd
    > > /proc/parport/0
    > > [root@tbone 0]# ls
    > > autoprobe devices hardware irq
    > > [root@tbone 0]# cat autoprobe
    > > [root@tbone 0]# cat devices
    > > [root@tbone 0]# cat hardware
    > > base: 0x278
    > > irq: 5
    > > dma: none
    > > modes: SPP,ECP,ECPEPP,ECPPS2
    > > [root@tbone 0]# cat irq
    > > 5
    > > [root@tbone 0]#
    > >
    > > --
    > > _________________
    > > Mark Neill
    > > WebMaster
    > > ThisIsMyOwn.Com
    > >
    > > -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    > > -- with the single word "unsubscribe" in the body of the message. --
    >
    > -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    > -- with the single word "unsubscribe" in the body of the message. --
    >

    -- 
    _________________
    Mark Neill
    WebMaster
    ThisIsMyOwn.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 : Wed Nov 15 2000 - 07:38:08 EST