kopia lustrzana https://gitlab.com/sane-project/website
213 wiersze
6.8 KiB
HTML
213 wiersze
6.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Experiences with Scan Dual II and SANE</TITLE>
|
|
<META NAME="Author" CONTENT="Clark Case (ccase@rocketmail.com)">
|
|
<META NAME="Subject" CONTENT="Experiences with Scan Dual II and SANE">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Experiences with Scan Dual II and SANE</H1>
|
|
<!-- received="Fri Feb 16 14:02:48 2001" -->
|
|
<!-- isoreceived="20010216220248" -->
|
|
<!-- sent="Fri, 16 Feb 2001 14:09:18 -0800 (PST)" -->
|
|
<!-- isosent="20010216220918" -->
|
|
<!-- name="Clark Case" -->
|
|
<!-- email="ccase@rocketmail.com" -->
|
|
<!-- subject="Experiences with Scan Dual II and SANE" -->
|
|
<!-- id="20010216220918.27527.qmail@web1608.mail.yahoo.com" -->
|
|
<STRONG>From:</STRONG> Clark Case (<A HREF="mailto:ccase@rocketmail.com?Subject=Re:%20Experiences%20with%20Scan%20Dual%20II%20and%20SANE&In-Reply-To=<20010216220918.27527.qmail@web1608.mail.yahoo.com>"><EM>ccase@rocketmail.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Fri Feb 16 2001 - 14:09:18 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0166.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0164.html">Kees Lemmens: "Re: Epson 610 color output truncated with scanimage"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#165">[ date ]</A>
|
|
<A HREF="index.html#165">[ thread ]</A>
|
|
<A HREF="subject.html#165">[ subject ]</A>
|
|
<A HREF="author.html#165">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
I found a fellow Minolta Dimage Scan Dual II / Linux
|
|
<BR>
|
|
user, one Jose Paulo Monitinho de Almeida
|
|
<BR>
|
|
(<A HREF="mailto:moitinho@civil.ist.utl.pt?Subject=Re:%20Experiences%20with%20Scan%20Dual%20II%20and%20SANE&In-Reply-To=<20010216220918.27527.qmail@web1608.mail.yahoo.com>">moitinho@civil.ist.utl.pt</A>) who had had some limited
|
|
<BR>
|
|
success in getting his scanner to work with SANE, and
|
|
<BR>
|
|
I've been trying to duplicate his efforts. I thought I
|
|
<BR>
|
|
would post the results I've gotten so far, and try and
|
|
<BR>
|
|
get some suggestions on moving forward.
|
|
<BR>
|
|
<P>I'd seen posted that the Scan Dual II is actually made
|
|
<BR>
|
|
by Avision, and used SCSI commands sent over the USB
|
|
<BR>
|
|
bus. The post said it might be possible to use the
|
|
<BR>
|
|
usb-scsi driver that is being developed and a modified
|
|
<BR>
|
|
avision backend to drive my scanner. So, I downloaded
|
|
<BR>
|
|
the 2.4.1 kernel source and the patches posted on the
|
|
<BR>
|
|
HP 5300C development site
|
|
<BR>
|
|
(<A HREF="http://www.neatech.nl/oss/HP5300C">http://www.neatech.nl/oss/HP5300C</A>).
|
|
<BR>
|
|
The patch for the config module config file didn't
|
|
<BR>
|
|
work cleanly, so I manually edited that file. The make
|
|
<BR>
|
|
file patched fine. The usb-scsi.c file didn't
|
|
<BR>
|
|
contain the vendor ID and product ID for my scanner
|
|
<BR>
|
|
(0x638 and 0x26a,
|
|
<BR>
|
|
respectively), so I added them. I changed the
|
|
<BR>
|
|
references to HP in the avision backend patch to
|
|
<BR>
|
|
Minolta. I compiled and installed the kernel and
|
|
<BR>
|
|
modules, booted with the new kernel, and compiled the
|
|
<BR>
|
|
SANE stuff. After turning on the scanner and doing a
|
|
<BR>
|
|
"modprobe usb-scsi", I had my scanner in
|
|
<BR>
|
|
/proc/scsi/scsi. After doing an "export
|
|
<BR>
|
|
SANE_SG_BUFFERSIZE=32768", find-scanner was able to
|
|
<BR>
|
|
see my scanner. I made a link from /dev/sga to
|
|
<BR>
|
|
/dev/scanner, and, after waiting for the green light
|
|
<BR>
|
|
to stop blinking on the front of the scanner, ran
|
|
<BR>
|
|
xscanimage. As this is a film scanner, not a flatbed
|
|
<BR>
|
|
scanner, I reset the size from A4 dimensions to 1cm x
|
|
<BR>
|
|
1cm, hit scan, and nothing happened. I had set the
|
|
<BR>
|
|
SANE_DEBUG_AVISION to 10, so I was able to see some
|
|
<BR>
|
|
debugging messages. It had apparently sent the scan
|
|
<BR>
|
|
command, but the scanner didn't do anything.
|
|
<BR>
|
|
Xscanimage hung up at this point.
|
|
<BR>
|
|
<P>I also tried scanning an image in Windows, and then
|
|
<BR>
|
|
booting into Linux, while leaving the scanner on and
|
|
<BR>
|
|
the film caddy in place. Jose said that that had
|
|
<BR>
|
|
worked for him, but I didn't get any different
|
|
<BR>
|
|
results. I've also been experimenting with VueScan. If
|
|
<BR>
|
|
I just freshly boot into Linux in insert the usb-scsi
|
|
<BR>
|
|
module, vuescan just hangs when I try to run it. If I
|
|
<BR>
|
|
do the "scan an image in Windows" trick, vuescan
|
|
<BR>
|
|
starts, but clicking on the Preview or Scan buttons
|
|
<BR>
|
|
doesn't do anything. Trying to exit caused the program
|
|
<BR>
|
|
to hang up, and tons of messages from the usb-scsi
|
|
<BR>
|
|
driver to get sent to my syslog. This probably happend
|
|
<BR>
|
|
when I killed xscanimage as well, I just didn't check.
|
|
<BR>
|
|
Also, when I try to reboot after trying to scan, my
|
|
<BR>
|
|
system can't disable my usb mouse, and I have to do a
|
|
<BR>
|
|
hard reboot. Perhaps I should be doing this with a
|
|
<BR>
|
|
regular mouse?
|
|
<BR>
|
|
<P>Well, that's where things stand now. If anyone has any
|
|
<BR>
|
|
suggestions for moving forward, I'd certainly
|
|
<BR>
|
|
appreciate hearing them. I've already email Ed Hamrick
|
|
<BR>
|
|
with my experiences in VueScan, to see if he has any
|
|
<BR>
|
|
ideas there. It would seem that the avision backend
|
|
<BR>
|
|
was written with flatbed scanners in mind, and
|
|
<BR>
|
|
probably doesn't have the commands built in for
|
|
<BR>
|
|
transporting the film caddy, focusing,
|
|
<BR>
|
|
etc. We will probably need information from Avision or
|
|
<BR>
|
|
Minolta for doing this stuff. Does anyone have any
|
|
<BR>
|
|
contacts in these companies that may be able to
|
|
<BR>
|
|
provide the data we need?
|
|
<BR>
|
|
<P>Thanks,
|
|
<BR>
|
|
<P>Clark
|
|
<BR>
|
|
<P><P><P>__________________________________________________
|
|
<BR>
|
|
Do You Yahoo!?
|
|
<BR>
|
|
Get personalized email addresses from Yahoo! Mail - only $35
|
|
<BR>
|
|
a year! <A HREF="http://personal.mail.yahoo.com/">http://personal.mail.yahoo.com/</A>
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Experiences%20with%20Scan%20Dual%20II%20and%20SANE&In-Reply-To=<20010216220918.27527.qmail@web1608.mail.yahoo.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0166.html">j.steindlberger@gmx.de: "Re: HP5300C - USB-problems?"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0164.html">Kees Lemmens: "Re: Epson 610 color output truncated with scanimage"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#165">[ date ]</A>
|
|
<A HREF="index.html#165">[ thread ]</A>
|
|
<A HREF="subject.html#165">[ subject ]</A>
|
|
<A HREF="author.html#165">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Fri Feb 16 2001 - 14:04:58 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|