Doug Alcorn wrote:
> 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
>
Hi Dough,
the umax backend is written for umax scsi scanners. It is not tested at all with
usb scanners. There may be a chance to get it to work with the scsi-via-usb
driver but I did not do any tests with that.
I know that there is someone working on an other simple driver that already is
able to to simple scans with umax a usb scanner (Astra 2200?). I do not know
more about that.
If you have sourcecode of that driver I would like to take a look at it to see if
the usb commands are compatible to the scsi commands.
Bye
Oliver
-- Homepage: http://www.wolfsburg.de/~rauch sane-umax: http://www.wolfsburg.de/~rauch/sane/sane-umax.html xsane: http://www.wolfsburg.de/~rauch/sane/sane-xsane.html E-Mail: mailto:Oliver.Rauch@Wolfsburg.DE-- 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 - 23:58:13 PST