kopia lustrzana https://gitlab.com/sane-project/website
153 wiersze
5.9 KiB
HTML
153 wiersze
5.9 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: Fwd: [linux-usb-devel] driver for HP 5300C scanjet</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)">
|
|
<META NAME="Subject" CONTENT="Fwd: [linux-usb-devel] driver for HP 5300C scanjet scanner">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Fwd: [linux-usb-devel] driver for HP 5300C scanjet scanner</H1>
|
|
<!-- received="Thu Oct 12 06:01:44 2000" -->
|
|
<!-- isoreceived="20001012130144" -->
|
|
<!-- sent="Thu, 12 Oct 2000 15:06:30 +0200" -->
|
|
<!-- isosent="20001012130630" -->
|
|
<!-- name="Oliver Neukum" -->
|
|
<!-- email="Oliver.Neukum@lrz.uni-muenchen.de" -->
|
|
<!-- subject="Fwd: [linux-usb-devel] driver for HP 5300C scanjet scanner" -->
|
|
<!-- id="00101215072300.04338@ghanima" -->
|
|
<STRONG>From:</STRONG> Oliver Neukum (<A HREF="mailto:Oliver.Neukum@lrz.uni-muenchen.de?Subject=Re:%20Fwd:%20[linux-usb-devel]%20driver%20for%20HP%205300C%20scanjet%20scanner&In-Reply-To=<00101215072300.04338@ghanima>"><EM>Oliver.Neukum@lrz.uni-muenchen.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Thu Oct 12 2000 - 06:06:30 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0130.html">Douglas Gilbert: "Re: Rescan SCSI Bus"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0128.html">Steffen Vogelreuter: "Rescan SCSI Bus"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0273.html">Oliver Neukum: "Re: Fwd: [linux-usb-devel] driver for HP 5300C scanjet scanner"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#129">[ date ]</A>
|
|
<A HREF="index.html#129">[ thread ]</A>
|
|
<A HREF="subject.html#129">[ subject ]</A>
|
|
<A HREF="author.html#129">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
---------- Weitergeleitete Nachricht ----------
|
|
<BR>
|
|
Subject: [linux-usb-devel] driver for HP 5300C scanjet scanner
|
|
<BR>
|
|
Date: Thu, 12 Oct 2000 07:11:25 -0400 (EDT)
|
|
<BR>
|
|
From: <A HREF="mailto:jhall@uu.net?Subject=Re:%20Fwd:%20[linux-usb-devel]%20driver%20for%20HP%205300C%20scanjet%20scanner&In-Reply-To=<00101215072300.04338@ghanima>">jhall@uu.net</A> (Jeremy Hall)
|
|
<BR>
|
|
<P><P><P>Hello,
|
|
<BR>
|
|
<P>In the recent week, I've been working on the microtek driver to rewrite it
|
|
<BR>
|
|
to support the HP Scanjet 5300. Rumours have it this driver will also
|
|
<BR>
|
|
work for the HP 3100 and a minulta scanner. The HP has two bulk endpoints
|
|
<BR>
|
|
and one interrupt endpoint. You send a command out the out endpoint, if
|
|
<BR>
|
|
data is needing to be transferred, it transfers that, reads the results of
|
|
<BR>
|
|
the command from the image endpoint, and a status byte is sent to the
|
|
<BR>
|
|
interrupt endpoint when a sequence is finished.
|
|
<BR>
|
|
<P>known issues with this driver:
|
|
<BR>
|
|
<P>We can miss a status interrupt somehow and therefore hang the driver,
|
|
<BR>
|
|
making it impossible to recover without rebooting the computer. A
|
|
<BR>
|
|
scheduler should be envoked to work around this.
|
|
<BR>
|
|
<P>If ctrl-c is pressed while sane is scanning an image, the driver doesn't
|
|
<BR>
|
|
properly deal with this. There is probably some minor thig I am missing.
|
|
<BR>
|
|
<P>When scanning a LARGE document, like a 24bit colour image, the driver may
|
|
<BR>
|
|
hang at the end of the transfer.
|
|
<BR>
|
|
<P>the driver for some reason has difficulty unloading, in fact it isn't
|
|
<BR>
|
|
possible to unload the driver without a system hang. It seems to be
|
|
<BR>
|
|
somewhere in when the driver tries to abort the command urb.
|
|
<BR>
|
|
<P>notes:
|
|
<BR>
|
|
<P>Use Sane's avision driver and edit the source to recognize the HP
|
|
<BR>
|
|
5300. Currently, it won't recognize it because the vendor string doesn't
|
|
<BR>
|
|
include the word avision. Use the SCSI sg driver to talk to the scanner.
|
|
<BR>
|
|
<P>Since both the command handler and status handler can update the srb, race
|
|
<BR>
|
|
conditions can be seen. Efforts have been made to minimize this, however.
|
|
<BR>
|
|
<P>This is my first kernel anything, and although not all the work is
|
|
<BR>
|
|
original, my thought processes are not yet accustomed to kernel
|
|
<BR>
|
|
thinking...but I'm getting there.
|
|
<BR>
|
|
<P>* * * W A R N I N G * * *
|
|
<BR>
|
|
<P>It is STRONGLY recommended to mount your filesystems in read-only mode
|
|
<BR>
|
|
before experimenting with the driver. Since the sysrq refuses to work
|
|
<BR>
|
|
despite playing with the keycodes junk, I must remount my filesystems ro
|
|
<BR>
|
|
to avoid data loss. I have found that
|
|
<BR>
|
|
<P>cat /proc/kmsg|nc -l -p <portnum>
|
|
<BR>
|
|
<P>is most helpful in retrieving data concerning a freeze. (kill klogd) You
|
|
<BR>
|
|
may find this information elementary, if so, please just disregard it.
|
|
<BR>
|
|
<P>The driver is attached. reports welcome.
|
|
<BR>
|
|
<P><P>-------------------------------------------------------
|
|
<BR>
|
|
<P><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:%20Fwd:%20[linux-usb-devel]%20driver%20for%20HP%205300C%20scanjet%20scanner&In-Reply-To=<00101215072300.04338@ghanima>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0130.html">Douglas Gilbert: "Re: Rescan SCSI Bus"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0128.html">Steffen Vogelreuter: "Rescan SCSI Bus"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0273.html">Oliver Neukum: "Re: Fwd: [linux-usb-devel] driver for HP 5300C scanjet scanner"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#129">[ date ]</A>
|
|
<A HREF="index.html#129">[ thread ]</A>
|
|
<A HREF="subject.html#129">[ subject ]</A>
|
|
<A HREF="author.html#129">[ 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>Thu Oct 12 2000 - 06:04:21 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|