sane-project-website/old-archive/2000-10/0110.html

93 wiersze
5.4 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: SANE and general USB support</TITLE>
<META NAME="Author" CONTENT="cbagwell@sprynet.com (cbagwell@sprynet.com)">
<META NAME="Subject" CONTENT="SANE and general USB support">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>SANE and general USB support</H1>
<!-- received="Wed Oct 11 07:54:14 2000" -->
<!-- isoreceived="20001011145414" -->
<!-- sent="Wed, 11 Oct 2000 11:00:15 -0400" -->
<!-- isosent="20001011150015" -->
<!-- name="cbagwell@sprynet.com" -->
<!-- email="cbagwell@sprynet.com" -->
<!-- subject="SANE and general USB support" -->
<!-- id="Springmail.105.971276415.0.74160200@www.springmail.com" -->
<STRONG>From:</STRONG> <A HREF="mailto:cbagwell@sprynet.com?Subject=Re:%20SANE%20and%20general%20USB%20support&In-Reply-To=&lt;Springmail.105.971276415.0.74160200@www.springmail.com&gt;"><EM>cbagwell@sprynet.com</EM></A><BR>
<STRONG>Date:</STRONG> Wed Oct 11 2000 - 08:00:15 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0111.html">Jonathan Buzzard: "Re: HP ScanJet 3300"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0109.html">cbagwell@sprynet.com: "[snapscan] Sourceforge request submitted"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0114.html">abel deuring: "Re: SANE and general USB support"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0114.html">abel deuring: "Re: SANE and general USB support"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0115.html">Oliver Neukum: "Re: SANE and general USB support"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0116.html">Lawrence Glaister: "Re: SANE and general USB support"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0117.html">cbagwell@sprynet.com: "Re: SANE and general USB support"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#110">[ date ]</A>
<A HREF="index.html#110">[ thread ]</A>
<A HREF="subject.html#110">[ subject ]</A>
<A HREF="author.html#110">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>I'm interested in improving USB support inside of SANE since I have a USB scanner (Acer 640BU). I'd like to see if anyone else is currently working in this area. I must admit I have only looked at version 1.0.3 (not CVS) and only about a months worth of the mailing list archive.
<BR>
<P>I see three main problems effecting current USB scanners in SANE. First, there is no generic support for USB like there is for SCSI (ie sanei_scsi.c). This means that we can not override these functions to always return failure on platforms that do not support USB. At the least, this should mean that any USB scanner drivers will fail to compile on non-Linux platforms when USB kerenl functions are called.
<BR>
<P>Next, there needs to be enhanced support in the sanei_config2.c files. They understand a SCSI keyword in config files and will search a /proc directory to find it. The same should be implemented for USB.
<BR>
<P>Lastly, most of the scanner drivers are SCSI oriented and support placing just a device name in the config like like /dev/scanner. The problem here is that we do not do any error checking inside of scsi open() functions to make sure its actually a SCSI device. We also immediately start doing SCSI related ioctl() calls. Since /dev/scanner is a generic link, on systems with USB scanners we start doing SCSI ioctl()'s during scans to see whats out there. This tends to lock up the current versions of the USB kernel code (well, it takes minutes for it to time out anyways).
<BR>
<P>I'd like to address these 3 issues. Is it OK for me to start hacking the sanei directory or should I discuss some designs with someone?
<BR>
<P>Thanks,
<BR>
Chris
<BR>
<P><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:%20SANE%20and%20general%20USB%20support&In-Reply-To=&lt;Springmail.105.971276415.0.74160200@www.springmail.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0111.html">Jonathan Buzzard: "Re: HP ScanJet 3300"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0109.html">cbagwell@sprynet.com: "[snapscan] Sourceforge request submitted"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0114.html">abel deuring: "Re: SANE and general USB support"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0114.html">abel deuring: "Re: SANE and general USB support"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0115.html">Oliver Neukum: "Re: SANE and general USB support"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0116.html">Lawrence Glaister: "Re: SANE and general USB support"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0117.html">cbagwell@sprynet.com: "Re: SANE and general USB support"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#110">[ date ]</A>
<A HREF="index.html#110">[ thread ]</A>
<A HREF="subject.html#110">[ subject ]</A>
<A HREF="author.html#110">[ 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>Wed Oct 11 2000 - 07:56:15 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>