sane-project-website/old-archive/2001-06/0315.html

188 wiersze
7.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: Re: Mustek 1200ub on FreeBSD (Second Mail)</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
<META NAME="Subject" CONTENT="Re: Mustek 1200ub on FreeBSD (Second Mail)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Mustek 1200ub on FreeBSD (Second Mail)</H1>
<!-- received="Thu Jun 28 11:52:50 2001" -->
<!-- isoreceived="20010628185250" -->
<!-- sent="Thu, 28 Jun 2001 20:45:03 +0200" -->
<!-- isosent="20010628184503" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="henning@meier-geinitz.de" -->
<!-- subject="Re: Mustek 1200ub on FreeBSD (Second Mail)" -->
<!-- id="20010628204503.A361@vortex.swb.de" -->
<!-- inreplyto="3B3772AC.52E6B60@lissi.crawford" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20Mustek%201200ub%20on%20FreeBSD%20(Second%20Mail)&In-Reply-To=&lt;20010628204503.A361@vortex.swb.de&gt;"><EM>henning@meier-geinitz.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Jun 28 2001 - 11:45:03 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0316.html">Kevin Handy: "HP 2100C"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0314.html">Andrew Lazarewicz: "Device I/O error: MD8.0; HP6200, AHA2940 SCSI"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0270.html">Jeffrey Eugene Crawford: "Mustek 1200ub on FreeBSD (Second Mail)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0323.html">Jeffrey Eugene Crawford: "Re: Mustek 1200ub on FreeBSD (Second Mail)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0323.html">Jeffrey Eugene Crawford: "Re: Mustek 1200ub on FreeBSD (Second Mail)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#315">[ date ]</A>
<A HREF="index.html#315">[ thread ]</A>
<A HREF="subject.html#315">[ subject ]</A>
<A HREF="author.html#315">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Mon, Jun 25, 2001 at 07:19:40PM +0200, Jeffrey Eugene Crawford wrote:
<BR>
<EM>&gt; I'm trying to get my Mustek 1200ub USB scanner running on my FreeBSD
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; installation. The first obstacle I've had was to get my scanner away
</EM><BR>
<EM>&gt; from being &quot;/dev/ugen0&quot; to &quot;/dev/uscanner0&quot; In order to do this I had to
</EM><BR>
<P>The simple way should be to put /dev/ugen0 into
<BR>
/usr/local/etc/sane.d/1200ub.conf.
<BR>
<P><EM>&gt; I had used the source code from Mustek's ftp site and compiled it
</EM><BR>
<EM>&gt; manually, and installed it. I did not provided the &quot;./configure&quot; script
</EM><BR>
<EM>&gt; with any options. After the installation I have updated the following
</EM><BR>
<EM>&gt; files to read...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; ...sane.d/dll.conf:
</EM><BR>
<EM>&gt; 1200ub
</EM><BR>
<P>That is /usr/local/etc/sane.d/dll.conf?
<BR>
<P><EM>&gt; ...sane.d/1200ub.conf:
</EM><BR>
<EM>&gt; /dev/uscanner0
</EM><BR>
<P>If your kernel scanner driver accepts this device that's ok.
<BR>
<P><EM>&gt; Unfortunately I can't find a &quot;sane-1200ub&quot; manpage to see if there are
</EM><BR>
<EM>&gt; any other options.
</EM><BR>
<P>There isn't any manpage and As far as I know there aren't any options.
<BR>
<P><EM>&gt; running &quot;usbdevs&quot; I get:
</EM><BR>
<EM>&gt; addr 1: UHCI root hub, VIA
</EM><BR>
<EM>&gt; addr 2: 1200 UB scanner, Mustek Systems, Inc.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; and then running &quot;scanimage -L&quot; I get :
</EM><BR>
<EM>&gt; entering sane_get_devices.
</EM><BR>
<EM>&gt; attached /dev/uscanner0
</EM><BR>
<EM>&gt; device `1200ub:/dev/uscanner0' is a 1200 UB flatbed scanner
</EM><BR>
<EM>&gt; scanimage in free(): warning: junk pointer, too high to make sense.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The above warning message about the &quot;free&quot; function having a pointer
</EM><BR>
<EM>&gt; that is too high to make sense is the only negative message that I get.
</EM><BR>
<P>Try with debugging enabled:
<BR>
<P>SANE_DEBUG_1200UB=255 scanimage -L
<BR>
<P><EM>&gt; However when trying to test the scanner or even use it with either
</EM><BR>
<EM>&gt; commands &quot;scanimage -T&quot;, or &quot;xscanimage&quot;, the little light on the
</EM><BR>
<EM>&gt; scanner comes on and then the program hangs at the command prompt. No
</EM><BR>
<EM>&gt; error messages or core dumps, just sits and does nothing.
</EM><BR>
<P>Maybe some incompatible USB handling between Linux and FreeBSD?
<BR>
Something concerning maximum size of a &quot;block&quot; that can be transfered
<BR>
at once? Just guessing...
<BR>
<P><EM>&gt; Please note that the scanner works in Linux doing nearly the exact same
</EM><BR>
<EM>&gt; installation, the only exception is that &quot;xscanimage&quot; is installed as a
</EM><BR>
<EM>&gt; Gimp plugin, however the &quot;xscanimage&quot; does work by itself. I'm not sure
</EM><BR>
<EM>&gt; if the problem lies with FreeBSD's USB scanner driver or with the driver
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; by Mustek. Has anyone examined the code and found anything that is Linux
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; specific?
</EM><BR>
<P>I'm pretty sure that the programmers didn't test on FreeBSD. I 'm
<BR>
currently trying to rewrite this code to get it into SANE: I will try
<BR>
on FreeBSD, too, but I have just startet so this can take quite some
<BR>
time. And i must install a FreeBSD which supports USB...
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;Henning
<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:%20Mustek%201200ub%20on%20FreeBSD%20(Second%20Mail)&In-Reply-To=&lt;20010628204503.A361@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0316.html">Kevin Handy: "HP 2100C"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0314.html">Andrew Lazarewicz: "Device I/O error: MD8.0; HP6200, AHA2940 SCSI"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0270.html">Jeffrey Eugene Crawford: "Mustek 1200ub on FreeBSD (Second Mail)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0323.html">Jeffrey Eugene Crawford: "Re: Mustek 1200ub on FreeBSD (Second Mail)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0323.html">Jeffrey Eugene Crawford: "Re: Mustek 1200ub on FreeBSD (Second Mail)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#315">[ date ]</A>
<A HREF="index.html#315">[ thread ]</A>
<A HREF="subject.html#315">[ subject ]</A>
<A HREF="author.html#315">[ 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 Jun 28 2001 - 11:54:45 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>