Re: HOWTO for finding a parallel scanner

From: D Clyde Williamson (dclydew@interhack.net)
Date: Mon Jun 05 2000 - 06:53:26 PDT

  • Next message: Christian Ordig: "Re: C++ class?"

    Whoo Hoo!

    After modifying hp.conf and doing a 'chmod 666' on /dev/sga (/dev/sg1
    was a symlink to sga) everything now works! yay. I think I'm gonna write
    a nice howto for this... it's was rather painful.

    Douglas Gilbert wrote:
    >
    > D Clyde Williamson wrote:
    > >
    > > Douglas Gilbert wrote:
    > > >
    > > > D Clyde Williamson wrote:
    > > > >
    > > > > I need to find a howto or at least some help in getting sane to find my
    > > > > parallel port scanner. All the ppSCSI modules are loaded, the HP 5200C
    > > > > is supported... but sane can't seem to find any device with a scanner
    > > > > attached.
    > > >
    > > > What does 'cat /proc/scsi/scsi' say. Can you see your scanner
    > > > listed there? Is the sg driver built into the kernel or loaded
    > > > as a module? [To list loaded modules used 'lsmod'.]
    > >
    > > under /proc/scsi I find epst and scsi cat'ing scsi I get:
    > >
    > > Attached devices:
    > > Host: scsi0 Channel: 00 Id: 00 Lun: 00
    > > Vendor: HP Model: C7190A Rev: 3846
    > > Type: Processor ANSI SCSI revision: 02
    > >
    > > cat'ing epst/0 I get:
    > >
    > > ident: epst 0.92 (0.92), Shuttle EPST
    > > base port: 0x378
    > > mode: 0
    > > mode name: Nybble
    > > delay: 1
    > > nice: 0
    > > verbose: 0
    > > quiet: 0
    > > tot_cmds: 31
    > > tot_bytes: 584
    > > tot_errs: 0
    > > parport device: parport0
    > > claimed: 0
    >
    > The above looks good.
    >
    > > I think that hp.conf may be screwed up it currently says:
    > >
    > > /dev/scanner
    > >
    > > /dev/scsi0
    >
    > The /dev/scsi0 looks incorrect (for Linux). Remove it, then
    > see if 'ls -l /dev/scanner' is active; in your case it
    > should be a symbolic link to /dev/sg0 (or to /dev/sga depending
    > on your distribution). Hopefully, the HP backend recognizes the
    > C7190A model.
    >
    > Doug Gilbert

    --
    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 : Mon Jun 05 2000 - 07:00:20 PDT