Professional Web Applications Themes

SCSI module not installed for scanner? - Linux Setup, Configuration & Administration

I have an HP-6200C scanner connected to my Red Hat 9 (i386) system via an Advansys ABP-960U SCSI card. Although 'dmesg' reports that the card and scanner are recognized at boot time, the Advansys module (advansys.o) is apparently not installed. At least the utility 'sane-find-scanner' can't find it. (When I first installed the card, 'kudzu' popped up and said it was configuring it.) If I manually run 'insmod advansys', then 'sane-find-scanner' reports TWO scanner devices, /dev/sg3 and /dev/sgd. (Could they be synonyms?) The situation may be complicated by the fact that this HP model doesn't report itself as a "Scanner" ...

  1. #1

    Default SCSI module not installed for scanner?

    I have an HP-6200C scanner connected to my
    Red Hat 9 (i386) system via an Advansys
    ABP-960U SCSI card. Although 'dmesg' reports
    that the card and scanner are recognized at
    boot time, the Advansys module (advansys.o)
    is apparently not installed. At least the
    utility 'sane-find-scanner' can't find it.
    (When I first installed the card, 'kudzu'
    popped up and said it was configuring it.)

    If I manually run 'insmod advansys', then
    'sane-find-scanner' reports TWO scanner
    devices, /dev/sg3 and /dev/sgd. (Could they
    be synonyms?)

    The situation may be complicated by the fact
    that this HP model doesn't report itself as
    a "Scanner" but as a "Processor" (sane
    understands this however).

    What do I need to do to make the system install
    the module at boot time (and hopefully assign
    the device /dev/scanner to it)?

    Here's the section of 'dmesg' (I'm also using the
    ide-scsi module for two IDE CD-ROMs);
    -----------------------------
    scsi1 : AdvanSys SCSI 3.3G: PCI Ultra: IO 0x1000-0x100F, IRQ 0x9
    Vendor: HP Model: C6270A Rev: 3828
    Type: Processor ANSI SCSI revision: 02
    scsi : 1 host left.
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
    Attached scsi CD-ROM sr1 at scsi0, channel 0, id 2, lun 0
    sr0: scsi3-mmc drive: 0x/48x cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.12
    sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
    ------------------------------

    And here's what 'sane-find-scanner' reports after
    manually installing the module:
    ----------------------
    found SCSI processor "HP C6270A 3828" at /dev/sg3
    found SCSI processor "HP C6270A 3828" at /dev/sgd
    # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
    # scanimage -L and read the backend's manpage.
    ----------------------

    (The scanner is in fact supported by sane, and 'xsane'
    does work.)

    Your advice and assistance will be much appreciated.

    Regards,
    Charles Sullivan





    Charles Sullivan Guest

  2. #2

    Default Re: SCSI module not installed for scanner?

    In article <pan.2003.07.29.13.51.44.133594triad.rr.com>,
    Charles Sullivan wrote:
    > I have an HP-6200C scanner connected to my
    > Red Hat 9 (i386) system via an Advansys
    > ABP-960U SCSI card. Although 'dmesg' reports
    > that the card and scanner are recognized at
    > boot time, the Advansys module (advansys.o)
    > is apparently not installed. At least the
    > utility 'sane-find-scanner' can't find it.
    > (When I first installed the card, 'kudzu'
    > popped up and said it was configuring it.)
    >
    > ...
    >
    > What do I need to do to make the system install
    > the module at boot time (and hopefully assign
    > the device /dev/scanner to it)?
    If this is the first time you've tried to use the scanner
    with Linux, you might need to tweak /etc/sane.d/hp.conf to
    get it to work. I don't have RH9, but I have used an HP
    6300C with RH 6.1-8.0 using SCSI at first and now using
    USB. IIRC, there is a how-to on using HP scanners. A
    Google or Redhat search should find it.

    If the issue is just installing the module at boot time,
    then you can do that via /etc/rc.d/rc.local using a modprobe
    or insmod command.

    If RH9 still uses the old-style highly-populated /dev
    directory, you can simply make a symlink from /dev/scanner
    to /dev/sg3 or whatever it is. That's basically what I did
    when I used SCSI with my scanner. You might need to check
    the symlink every once in a while in case some up2date
    package overwrites it.

    Good luck.

    Robert Riches
    [email]spamtrap42verizon.net[/email]
    (Yes, that is one of my email addresses.)
    Robert M. Riches Jr Guest

  3. #3

    Default Re: SCSI module not installed for scanner?

    On Tue, 29 Jul 2003 20:38:27 +0200, Silvio Bacchetta wrote:
    > Charles Sullivan <cwsullivtriad.rr.com> ha scritto:
    >>
    >> If I manually run 'insmod advansys', then
    >> 'sane-find-scanner' reports TWO scanner
    >> devices, /dev/sg3 and /dev/sgd. (Could they
    >> be synonyms?)
    >
    > They can be. Try a ls -l command in the /dev directory and see if they
    > both are the same character major/minor pair.
    Why didn't I think of that? :(
    Yes, sgd is a symlink to sg3.
    > The use of letters for generic scsi devices is deprecated, according to
    > the kernel doentation. Probably, your distribution uses symlinks to
    > maintain compatibility with some software.
    >
    >> What do I need to do to make the system install
    >> the module at boot time (and hopefully assign
    >> the device /dev/scanner to it)?
    >
    > This depends from the distribution. Debian has an /etc/modules where you
    > can list every module to load at boot time. With every distro, you can
    > configure modules.conf to load the module when accesing the scanner, but
    > I'm not skilled with this.
    >
    > To make the device, just symlink /dev/scanner to /dev/sg3. After this,
    > sane can detect three scanners, maybe.
    Yes, it does. But now I understand what is happening.

    Thanks for your help.

    Regards,
    Charles Sullivan

    Charles Sullivan Guest

  4. #4

    Default Re: SCSI module not installed for scanner?

    Charles Sullivan <cwsullivtriad.rr.com> ha scritto:
    >> To make the device, just symlink /dev/scanner to /dev/sg3. After this,
    >> sane can detect three scanners, maybe.
    >
    > Yes, it does. But now I understand what is happening.
    I got stuck with this, too. I think that sane-find-scanner actually
    probes all devices where a scanner can be connected.

    Regards.

    --
    Registered user at [url]http://counter.li.org[/url] # 170453
    Jabber JID: [email]silviojabber.linux.it[/email]
    GnuPG Key fingerprint = 10E0 2B05 0B0A 3525 8760 788B 59B6 C74A 250E 65B6

    Silvio Bacchetta Guest

Similar Threads

  1. #40530 [NEW]: php cores when pspell module is installed
    By php at nearlyfreespeech dot net in forum PHP Bugs
    Replies: 1
    Last Post: February 18th, 01:00 PM
  2. Deinstalling perl module installed using CPAN
    By BSD todoo in forum FreeBSD
    Replies: 4
    Last Post: February 21st, 04:47 PM
  3. Scsi Scanner Not visible in Photoshop running Panther
    By John Mayer in forum Adobe Photoshop Mac CS, CS2 & CS3
    Replies: 0
    Last Post: February 12th, 03:54 PM
  4. kmod not loading usb scanner module (scanner.o)
    By Michal S. in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: July 23rd, 06:04 AM
  5. Replies: 1
    Last Post: June 30th, 05:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139