Re: Fwd: [linux-usb-devel] driver for HP 5300C scanjet scanner

From: Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)
Date: Wed Oct 25 2000 - 09:45:15 PDT

  • Next message: SoloCDM: "xscanimage Error"

    On Wednesday 25 October 2000 17:02, Lequin, Stanley: wrote:
    > I recently read a post from you in the sane mailing list regarding the HP
    > 5300C. I am a Linux newbie who has been trying to configure my 5300C for
    > some time now with no luck. I hate to bother people with these types of
    > questions but I have searched for several days now and I am running out of
    > ideas. I was hoping that perhaps you could point me in the right direction
    > or give me some advice on configurint my scanner. I read in your post I
    > have to do the following in order to get the scanner to work:
    >
    > Use Sane's avision driver and edit the source to recognize the HP
    > 5300. Currently, it won't recognize it because the vendor string doesn't
    > include the word avision. Use the SCSI sg driver to talk to the scanner.
    > Could you give me some more information on those steps? I do know that the
    > usb module is loading and I can see the scanner when I do a more on
    > /proc/usb/bus/devices which prints the following information:

    Hi Stanley, hi list,

    I am taking the liberty to post this to the list as this is the third answer
    I am writing on this subject _today_. Thus I'd like to request it to be made
    part of the FAQ.
    This should not be taken to mean that I am unwilling to answer
    users' questions. It's just more efficient this way.

    Therefore I'll try to answer these questions exhaustively.

    USB scanners and the Linux kernel

    Please don't confuse the kernel driver with the SANE backend.
    There is no direct connection between these layers.

    There are three kernel drivers for USB scanners available.
    The drivers are not interchangeable. If it works with one
    driver it won't work with any other driver.

    1. The generic usbscanner driver

    This driver supports a multitude of scanners. Loaded as a module
    it can be made to recognise any usb scanner. That doesn't mean
    that it will work with every type of scanner.

    Available: Development kernels and backport to 2.2

    Usage: The driver implements a genuine usb device. A backend
    must be aware of the difference to scsi.

    Scanners: Too numerous to list.

    Known issues: It will recognise some scanners it can't drive

    2. The microtek driver

    This driver will recognise a few scanners made by the company
    it is named for. It's tested only with the X6.

    Available: Development kernels only. The backport doesn't work.

    Usage: To SANE the scanners appear to be scsi devices.
    The scsi buffer must be limited to 32K
    SANE 1.0.3 should work out of the box, if the buffer is shrunk.

    Scanners: X6 and perhaps some other microtek scanners

    Known issues: C6 crashes.

    3. The usbscsiscanner driver

    This driver will work for the HP 5300C only.
    It is quite experimental.

    Available: As a patch to the development kernels only.
    The patch must be extracted from the linux-usb-devel
    mailing list's archive.

    Usage: The scanner appears to be a scsi device.
    The avision backend must be hacked to recognise it.

    Scanners: HP 5300C

    Known issues: As yet none, as it has been tested only once

            HTH
                    Oliver Neukum

    --
    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 : Wed Oct 25 2000 - 09:32:25 PDT