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

161 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: Mustek 1200ub on FreeBSD</TITLE>
<META NAME="Author" CONTENT="Jeffrey Eugene Crawford (jeffrey.crawford@nexgo.de)">
<META NAME="Subject" CONTENT="Mustek 1200ub on FreeBSD">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Mustek 1200ub on FreeBSD</H1>
<!-- received="Fri Jun 15 14:55:53 2001" -->
<!-- isoreceived="20010615215553" -->
<!-- sent="Fri, 15 Jun 2001 23:52:05 +0200" -->
<!-- isosent="20010615215205" -->
<!-- name="Jeffrey Eugene Crawford" -->
<!-- email="jeffrey.crawford@nexgo.de" -->
<!-- subject="Mustek 1200ub on FreeBSD" -->
<!-- id="3B2A8385.BAF564B4@lissi.crawford" -->
<STRONG>From:</STRONG> Jeffrey Eugene Crawford (<A HREF="mailto:jeffrey.crawford@nexgo.de?Subject=Re:%20Mustek%201200ub%20on%20FreeBSD&In-Reply-To=&lt;3B2A8385.BAF564B4@lissi.crawford&gt;"><EM>jeffrey.crawford@nexgo.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Jun 15 2001 - 14:52:05 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0227.html">Karl Heinz Kremer: "Re: unknown type M or level @, using B3"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0225.html">Charles Briscoe-Smith: "Re: Is my Artec AT12 broken?"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#226">[ date ]</A>
<A HREF="index.html#226">[ thread ]</A>
<A HREF="subject.html#226">[ subject ]</A>
<A HREF="author.html#226">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello everyone,
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;I'm trying to get my Mustek 1200ub USB scanner running on my FreeBSD
<BR>
installation. The first obstacle I've had was to get my scanner away
<BR>
from being &quot;/dev/ugen0&quot; to &quot;/dev/uscanner0&quot; In order to do this I had to
<BR>
go into the &quot;uscanner.c&quot; file and change the entry:
<BR>
<P>{ USB_VENDOR_NATIONAL, USB_PRODUCT_MUSTEK_1200UB },
<BR>
<P>to
<BR>
<P>{ USB_VENDOR_MUSTEK, USB_PRODUCT_MUSTEK_1200UB },
<BR>
<P>This provided me with the correct device:
<BR>
<P><EM>&gt; dmesg | egrep scanner
</EM><BR>
uscanner0: Mustek Systems, Inc. 1200 UB scanner, rev 1.00/1.00, addr 2
<BR>
<P>I had used the source code from Mustek's ftp site and compiled it
<BR>
manually, and installed it. I did not provided the &quot;./configure&quot; script
<BR>
with any options. After the installation I have updated the following
<BR>
files to read...
<BR>
<P>...sane.d/dll.conf:
<BR>
1200ub
<BR>
<P>...sane.d/1200ub.conf:
<BR>
/dev/uscanner0
<BR>
<P>Unfortunately I can't find a &quot;sane-1200ub&quot; manpage to see if there are
<BR>
any other options.
<BR>
<P>running &quot;usbdevs&quot; I get:
<BR>
addr 1: UHCI root hub, VIA
<BR>
&nbsp;addr 2: 1200 UB scanner, Mustek Systems, Inc.
<BR>
<P>and then running &quot;scanimage -L&quot; I get :
<BR>
entering sane_get_devices.
<BR>
attached /dev/uscanner0
<BR>
device `1200ub:/dev/uscanner0' is a 1200 UB flatbed scanner
<BR>
scanimage in free(): warning: junk pointer, too high to make sense.
<BR>
<P>The above warning message about the &quot;free&quot; function having a pointer
<BR>
that is too high to make sense is the only negative message that I get.
<BR>
However when trying to test the scanner or even use it with either
<BR>
commands &quot;scanimage -T&quot;, or &quot;xscanimage&quot;, the little light on the
<BR>
scanner comes on and then the program hangs at the command prompt. No
<BR>
error messages or core dumps, just sits and does nothing.
<BR>
<P>Please note that the scanner works in Linux doing nearly the exact same
<BR>
installation, the only exception is that &quot;xscanimage&quot; is installed as a
<BR>
Gimp plugin, however the &quot;xscanimage&quot; does work by itself. I'm not sure
<BR>
if the problem lies with FreeBSD's USB scanner driver or with the driver
<BR>
by Mustek. Has anyone examined the code and found anything that is Linux
<BR>
specific? And can hopefully be changed. It really appears that the
<BR>
scanning program is trying to work. Even the indicator light turns on.
<BR>
Unfortunately that is the last reaction when I attempt any scanning. As
<BR>
always please let me know if you need any more information. I would like
<BR>
to get this thing working for FreeBSD.
<BR>
<P>Thanks
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Jeffrey
<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:%20Mustek%201200ub%20on%20FreeBSD&In-Reply-To=&lt;3B2A8385.BAF564B4@lissi.crawford&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0227.html">Karl Heinz Kremer: "Re: unknown type M or level @, using B3"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0225.html">Charles Briscoe-Smith: "Re: Is my Artec AT12 broken?"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#226">[ date ]</A>
<A HREF="index.html#226">[ thread ]</A>
<A HREF="subject.html#226">[ subject ]</A>
<A HREF="author.html#226">[ 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 Jun 15 2001 - 15:00:37 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>