umax 2000U and sane-umax backend

From: Doug Alcorn (doug@lathi.net)
Date: Sat Feb 05 2000 - 09:53:13 PST

  • Next message: Jonathan Buzzard: "Re: umax 2000U and sane-umax backend"

    I know that the status of USB on Linux is questionable. I have been
    "working" with the linux-usb group for a while (I quote that because I
    mainly am doing just testing, not coding). David has the scanner
    driver so that it recognizes my scanner and attaches itself as the
    driver for that device. Now for getting sane to work...

    I downloaded sane 1.0.1 and compiled it OK. I wasn't sure how to
    setup the etc/sane.d/umax.cof file but guessed anyway. Here is what I
    put:
    scsi UMAX * Scanner
    /dev/usbscanner

    where

    crw-rw-rw- 1 root root 180, 48 Jan 20 20:15 /dev/usbscanner

    This didn't work, xscanimage reports "no devices available". I tried
    tools/find-scanner and noticed it only checks the /dev/sg? devices and
    /dev/scanner. So, I symlinked /dev/usbscanner to /dev/scanner and
    re-ran.

    find-scanner: checking /dev/scanner... open ok
    find-scanner: found disk " " at device /dev/scanner

    This takes a _very_ long time to run. My question is this, "Is this a
    usb problem or a sane problem?" Can the umax backend be made to
    recognize this as not a disk but a scanner?

    If it's any help, here's the output of /proc/bus/usb/devices:
    P: Vendor=1606 ProdID=0030 Rev= 1.00
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
    I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner
    E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
    E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
    E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl= 1ms

    Of course, there isn't anything in /proc/scsi/scsi related to the
    sanner (only my ide cdrw using ide-scsi).

    Just for grins: Linux kernel 2.3.42, gcc 2.95.2 (19991024), glibc 2.1.1

    -- 
     (__)  Doug Alcorn          | program == list of computer instructions
     oo /  doug@lathi.net       | firmware == program that is not user modifiable
     |_/   http://www.lathi.net | software == program that a user can modify
           Cincinnati, OH       | "If you don't have the source, it's not software"
    

    -- 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 : Sat Feb 05 2000 - 09:44:18 PST