sane-project-website/old-archive/2001-05/0246.html

135 wiersze
5.0 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: something very bad??</TITLE>
<META NAME="Author" CONTENT="Andy Angrick (angrick@4ward.net)">
<META NAME="Subject" CONTENT="something very bad??">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>something very bad??</H1>
<!-- received="Sat May 19 07:45:28 2001" -->
<!-- isoreceived="20010519144528" -->
<!-- sent="Sat, 19 May 2001 09:21:31 -0500" -->
<!-- isosent="20010519142131" -->
<!-- name="Andy Angrick" -->
<!-- email="angrick@4ward.net" -->
<!-- subject="something very bad??" -->
<!-- id="NDBBJDAGOKOGNKPLFIBPEEGOGMAA.angrick@4ward.net" -->
<STRONG>From:</STRONG> Andy Angrick (<A HREF="mailto:angrick@4ward.net?Subject=Re:%20something%20very%20bad??&In-Reply-To=&lt;NDBBJDAGOKOGNKPLFIBPEEGOGMAA.angrick@4ward.net&gt;"><EM>angrick@4ward.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat May 19 2001 - 07:21:31 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0247.html">Matt Mozur: "Re: how to write a manpage"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0245.html">Levente NOVÁK: "Re: [dev] microtek2 backend for SANE-1.0.5 ready for testing"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0280.html">Karsten Festag: "Re: something very bad??"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0280.html">Karsten Festag: "Re: something very bad??"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#246">[ date ]</A>
<A HREF="index.html#246">[ thread ]</A>
<A HREF="subject.html#246">[ subject ]</A>
<A HREF="author.html#246">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi All,
<BR>
<P>I fear i might have done something bad and wanted to get your opinion.
<BR>
<P>I had been hacking the ricoh SANE driver to see if i can get it to work with
<BR>
an IS330 scanner. Looking over the documentation i have for the scsi
<BR>
commands, they appeared almost identical. I changed ricoh.c to include the
<BR>
IS330 in its 'list' of recoginized scanners. That seemed to work. I could do
<BR>
a scanimage -L and the device shows up. I did a scanimage -h -d ricoh and it
<BR>
gave me the options for the scanner. When i tried to do a scanimage -d
<BR>
ricoh, it failed at SET WINDOW. GET WINDOW and all the commands previously
<BR>
where successful. In looking at the scsi debug output, right before it
<BR>
failed:
<BR>
sane_start: error during device i/o
<BR>
<P>it said
<BR>
sane_scsi_req_wait: SCSI command complained: Success
<BR>
<P>I thought okay.. what if i made set_window return SANE_STATUS_GOOD to see
<BR>
what would happen.
<BR>
<P>I did made that change and recompiled. I then ran scanimage -d ricoh and it
<BR>
hung for a bit and then made a terrible noise for a few seconds. I though
<BR>
uhhh-ohhhh. I opened up the lid of the scanner and saw one of the cables
<BR>
that connects to the scanning lamp was totally disconnected and tangled.
<BR>
This is a brand new scanner right out fo the box and i've never even opened
<BR>
the lid other than to take out the protective sheet on the glass. I didn't
<BR>
notice then whether or not the cable was messed up at that point.
<BR>
<P>My question is.. could i have caused it to break that cable by doing what i
<BR>
did? Seems like it take an aweful lot to make that cable come disconnected
<BR>
and all wrapped up around the pully (or whatever you'd call it). You'd also
<BR>
think that the scanner would have some sort of fail safe so that the lamp
<BR>
couldn't go beyond a certain point.
<BR>
<P>Anyway, any thoughts would be appreciated. I have to send the scanner back
<BR>
now..either saying that i broke it or it was already broke when i got it.
<BR>
<P>Thanks
<BR>
-Andy
<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:%20something%20very%20bad??&In-Reply-To=&lt;NDBBJDAGOKOGNKPLFIBPEEGOGMAA.angrick@4ward.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0247.html">Matt Mozur: "Re: how to write a manpage"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0245.html">Levente NOVÁK: "Re: [dev] microtek2 backend for SANE-1.0.5 ready for testing"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0280.html">Karsten Festag: "Re: something very bad??"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0280.html">Karsten Festag: "Re: something very bad??"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#246">[ date ]</A>
<A HREF="index.html#246">[ thread ]</A>
<A HREF="subject.html#246">[ subject ]</A>
<A HREF="author.html#246">[ 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>Sat May 19 2001 - 07:46:15 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>