sane-project-website/old-archive/2000-05/0125.html

596 wiersze
14 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: Trouble with Linotype Jade II on FreeBSD 4.0</TITLE>
<META NAME="Author" CONTENT="Chris Webb (lists@miranda.arachsys.com)">
<META NAME="Subject" CONTENT="Trouble with Linotype Jade II on FreeBSD 4.0">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Trouble with Linotype Jade II on FreeBSD 4.0</H1>
<!-- received="Thu May 18 12:09:53 2000" -->
<!-- isoreceived="20000518190953" -->
<!-- sent="Mon, 15 May 2000 18:42:08 +0100" -->
<!-- isosent="20000515174208" -->
<!-- name="Chris Webb" -->
<!-- email="lists@miranda.arachsys.com" -->
<!-- subject="Trouble with Linotype Jade II on FreeBSD 4.0" -->
<!-- id="20000515184208.B10560@miranda.arachsys.com" -->
<STRONG>From:</STRONG> Chris Webb (<A HREF="mailto:lists@miranda.arachsys.com?Subject=Re:%20Trouble%20with%20Linotype%20Jade%20II%20on%20FreeBSD%204.0&In-Reply-To=&lt;20000515184208.B10560@miranda.arachsys.com&gt;"><EM>lists@miranda.arachsys.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon May 15 2000 - 10:42:08 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0126.html">Alan Baltazar: "Re: newbie"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0124.html">Henning Meier-Geinitz: "Re: Good A3 scanner?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Trouble with Linotype Jade II on FreeBSD 4.0"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Trouble with Linotype Jade II on FreeBSD 4.0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#125">[ date ]</A>
<A HREF="index.html#125">[ thread ]</A>
<A HREF="subject.html#125">[ subject ]</A>
<A HREF="author.html#125">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I've been having great difficulty getting a new Linotype Jade II SCSI
<BR>
scanner to work with SANE 1.0.1 on FreeBSD 4.0. The scanner is
<BR>
recognised fine, but hangs the SCSI bus as soon as I try to do a
<BR>
scanimage -T or scan anything in. I've tried doing a scanimage -T with
<BR>
debugging turned on, with the following results:
<BR>
<P># camcontrol devlist
<BR>
&lt;IBM DNES-318350W SA30&gt; at scbus0 target 0 lun 0 (pass0,da0)
<BR>
&lt;YAMAHA CRW4416S 1.0h&gt; at scbus0 target 1 lun 0 (pass1,cd0)
<BR>
&lt;LinoHell Office2 V2.6&gt; at scbus0 target 2 lun 0 (pass2)
<BR>
# scanimage -L
<BR>
device `umax:/dev/scanner' is a LinoHell Office2 flatbed scanner
<BR>
# export SANE_DEBUG_UMAX=12
<BR>
# scanimage -T
<BR>
[sanei_init_debug]: Setting debug level of umax to 12.
<BR>
[umax] sane_init
<BR>
[umax] This is sane-umax version 1.0 build 3
<BR>
[umax] (C) 1997-1999 by Oliver Rauch
<BR>
[umax] EMAIL: <A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20Trouble%20with%20Linotype%20Jade%20II%20on%20FreeBSD%204.0&In-Reply-To=&lt;20000515184208.B10560@miranda.arachsys.com&gt;">Oliver.Rauch@Wolfsburg.DE</A>
<BR>
[umax] attach_scanner: /dev/scanner
<BR>
[umax] attach_scanner: opening /dev/scanner
<BR>
[umax] init
<BR>
[umax] backend runs on little endian machine
<BR>
[umax] initialize_values
<BR>
[umax] identify_scanner
<BR>
[umax] do_inquiry
<BR>
[umax] Found LinoHell scanner Office2 version V2.6 on device /dev/scanner
<BR>
[umax] get_inquiry_values
<BR>
[umax] INQUIRY:
<BR>
[umax] ========
<BR>
[umax]
<BR>
[umax] vendor........................: 'LinoHell'
<BR>
[umax] product.......................: 'Office2 '
<BR>
[umax] version.......................: 'V2.6'
<BR>
[umax]
<BR>
[umax] CBHS value range..............: 0-255
<BR>
[umax] scanmode......................: flatbed (FB)
<BR>
[umax] inquiry block length..........: 160 bytes
<BR>
[umax]
<BR>
[umax] ISO Version (reserved).......: 0
<BR>
[umax] ECMA Version (reserved).......: 0
<BR>
[umax] ANSI Version .................: 2
<BR>
[umax]
<BR>
[umax] reserved byte 0x05 = 0
<BR>
[umax] reserved byte 0x06 = 0
<BR>
[umax]
<BR>
[umax] f/w support function:
<BR>
[umax] ---------------------
<BR>
[umax] - quality calibration
<BR>
[umax] - fast preview function
<BR>
[umax]
<BR>
[umax] reserved byte 0x36 = 0
<BR>
[umax] reserved byte 0x37 = 0
<BR>
[umax]
<BR>
[umax] scan modes:
<BR>
[umax] -----------
<BR>
[umax] - single pass color mode
<BR>
[umax] - lineart mode
<BR>
[umax] - gray mode
<BR>
[umax] - color mode
<BR>
[umax] - transparency (UTA)
<BR>
[umax]
<BR>
[umax] scanner capability:
<BR>
[umax] -------------------
<BR>
[umax] - send high byte first
<BR>
[umax] - bi-level image reverse
<BR>
[umax] - multi-level image reverse
<BR>
[umax] - paper length can reach to 14 inch
<BR>
[umax]
<BR>
[umax] gamma download available
<BR>
[umax] gamma download type 2
<BR>
[umax] lines of gamma curve: one line (gray), three lines (color) download
<BR>
[umax] gamma input 8 bits/pixel support
<BR>
[umax] gamma input 10 bits/pixel support
<BR>
[umax] gamma output 8 bits/pixel support
<BR>
[umax] gamma output 10 bits/pixel support
<BR>
[umax]
<BR>
[umax] reserved byte 0x65 = 0
<BR>
[umax] reserved byte 0x67 = 0
<BR>
[umax]
<BR>
[umax] reserved byte 0x6b = 0
<BR>
[umax] reserved byte 0x6c = 0
<BR>
[umax]
<BR>
[umax] color sequence............................: all supported
<BR>
[umax] color ordering support....................: pixel
<BR>
[umax]
<BR>
[umax] maximum video memory......................: 223 KB
<BR>
[umax]
<BR>
[umax] reserved byte 0x72 = 0
<BR>
[umax]
<BR>
[umax] maximum optical resolution................: 600 dpi
<BR>
[umax] maximum x-resolution......................: 600 dpi
<BR>
[umax] maximum y-resolution......................: 1200 dpi
<BR>
[umax]
<BR>
[umax] FB (flatbed-mode):
<BR>
[umax] FB maximum scan width.....................: 8.50 inch
<BR>
[umax] FB maximum scan length....................: 14.00 inch
<BR>
[umax]
<BR>
[umax] UTA (transparency-mode):
<BR>
[umax] UTA x-original point......................: 0.00 inch
<BR>
[umax] UTA y-original point......................: 0.00 inch
<BR>
[umax] UTA maximum scan width....................: 8.50 inch
<BR>
[umax] UTA maximum scan length...................: 11.70 inch
<BR>
[umax]
<BR>
[umax] reserved byte 0x82 = 0
<BR>
[umax] reserved byte 0x83 = 0
<BR>
[umax] reserved byte 0x84 = 0
<BR>
[umax] reserved byte 0x85 = 0
<BR>
[umax]
<BR>
[umax] DOR (double optical resolution-mode):
<BR>
[umax] DOR x-original point......................: 0.00 inch
<BR>
[umax] DOR y-original point......................: 0.00 inch
<BR>
[umax] DOR maximum scan width....................: 0.00 inch
<BR>
[umax] DOR maximum scan length...................: 0.00 inch
<BR>
[umax]
<BR>
[umax] reserved byte 0x8e = 0
<BR>
[umax]
<BR>
[umax] last calibration lamp density.............: 0
<BR>
[umax]
<BR>
[umax] reserved byte 0x90 = 0
<BR>
[umax]
<BR>
[umax] lamp warmup maximum time..................: 0 sec
<BR>
[umax] window descriptor block length............: 82 bytes
<BR>
[umax] no analog gamma function
<BR>
[umax]
<BR>
[umax] reserved byte 0x98 = 0
<BR>
[umax] reserved byte 0x99 = 0
<BR>
[umax]
<BR>
[umax] maximum calibration data lines for shading: 64
<BR>
[umax] fb/uta: color line arrangement mode.......: 0
<BR>
[umax] adf: color line arrangement mode.......: 0
<BR>
[umax] CCD line distance.........................: 8
<BR>
[umax]
<BR>
[umax] reserved byte 0x9e = 0
<BR>
[umax] reserved byte 0x9f = 0
<BR>
[umax] sane_get_devices
<BR>
[umax] sane_open
<BR>
[umax] Using 10 bits for gamma input
<BR>
[umax] init_options
<BR>
[umax] sane_start
<BR>
[umax] initialize_values
<BR>
[umax] grab_scanner
<BR>
[umax] wait_scanner
<BR>
[umax] scanner ready
<BR>
[umax] scanner reserved
<BR>
[umax] Using 10 bits for gamma input
<BR>
[umax] Using 8 bits for output
<BR>
[umax] check_values
<BR>
[umax] using one pass scanning mode
<BR>
[umax] scanner uses color-pixel-ordering
<BR>
[umax] sane_get_parameters
<BR>
[umax] x_resolution (dpi) = 100
<BR>
[umax] y_resolution (dpi) = 100
<BR>
[umax] x_coordinate_base (dpi) = 1200
<BR>
[umax] y_coordinate_base (dpi) = 1200
<BR>
[umax] upper_left_x (xbase) = 0
<BR>
[umax] upper_left_y (ybase) = 0
<BR>
[umax] scanwidth (xbase) = 10198
<BR>
[umax] scanlength (ybase) = 16799
<BR>
[umax] width in pixels = 850
<BR>
[umax] length in pixels = 1399
<BR>
[umax] bits per pixel/color = 8
<BR>
[umax] bytes per line = 2550
<BR>
[umax] pixels_per_line = 850
<BR>
[umax] lines = 1399
<BR>
[umax] negative = 0
<BR>
[umax] threshold (lineart) = 127
<BR>
[umax] brightness (halftone) = 0
<BR>
[umax] contrast (halftone) = 0
<BR>
[umax] analog_gamma = 0 0 0
<BR>
[umax] highlight = 255 255 255
<BR>
[umax] shadow = 0 0 0
<BR>
[umax] calibrat. exposure time = 0 0 0
<BR>
[umax] scan exposure time = 0 0 0
<BR>
[umax] calibration = Use Image Composition
<BR>
[umax] quality calibration = 0
<BR>
[umax] fast preview function = 0
<BR>
[umax] trying to reposition scanner ...
<BR>
[umax] wait_scanner
<BR>
[umax] scanner ready
<BR>
[umax] scanner repositioned
<BR>
[umax] set_window_param
<BR>
[umax] window descriptor block created with 82 bytes
<BR>
<P>... then a very long wait ...
<BR>
<P>[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] start_scan
<BR>
[umax] starting scan
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] do_calibration
<BR>
[umax] wait_scanner
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] scanner reports Device busy, waiting ...
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
<P>[...]
<BR>
<P>[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] scanner does not get ready
<BR>
[umax] sane_get_parameters
<BR>
[umax] reader_process started
<BR>
[umax] reader_process: starting to READ data
<BR>
scanimage: scanning image of size 850x1399 pixels at 24 bits/pixel
<BR>
scanimage: acquiring RGB frame, 8 bits/sample
<BR>
scanimage: reading one scanline, 2550 bytes... [umax] trim_rowbufsize:
<BR>
row_bufsize = 61200 bytes = 24 lines
<BR>
[umax] reading 3567450 bytes in blocks of 61200 bytes
<BR>
[umax] read_image_data
<BR>
[umax] wait_scanner
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] scanner reports Device busy, waiting ...
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
<P>[...]
<BR>
<P>[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] scanner does not get ready
<BR>
[umax] umax_reader_process: unable to get image data from scanner!
<BR>
[umax] sane_read: read 0 bytes
<BR>
[umax] do_cancel
<BR>
[umax] killing reader_process
<BR>
[umax] reader_process: terminated by signal 15
<BR>
[umax] reader_process killed
<BR>
[umax] trying to reposition scanner ...
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] trying to release scanner ...
<BR>
[umax] check condition sense handler
<BR>
[umax] invalid sense key =&gt; handled as DEVICE BUSY!
<BR>
[umax] closing scannerdevice filedescriptor
<BR>
[umax] close_pipe
<BR>
FAIL Error: End of file reached
<BR>
[umax] sane_cancel
<BR>
[umax] sane_close
<BR>
[umax] sane_exit
<BR>
<P>... and the scanner now seems to have fallen off the SCSI bus
<BR>
altogether!
<BR>
<P># camcontrol rescan all
<BR>
[a very long wait]
<BR>
Re-scan of bus 0 was successful
<BR>
# camcontrol devlist
<BR>
&lt;IBM DNES-318350W SA30&gt; at scbus0 target 0 lun 0 (pass0,da0)
<BR>
&lt;YAMAHA CRW4416S 1.0h&gt; at scbus0 target 1 lun 0 (pass1,cd0)
<BR>
#
<BR>
<P>Does anyone have any guesses what's going wrong here? This is first time
<BR>
I've tried to use SANE, so I'm not really sure what the likely pitfalls
<BR>
are. FWIW, I'm running SANE 1.0.1 compiled up from the FreeBSD ports
<BR>
tree, and the scanner is hanging off the same Adaptec 29160 card as my
<BR>
system disk and CDRW.
<BR>
<P>Thanks in advance for any pointers,
<BR>
<P>Chris.
<BR>
<PRE>
--
Chris Webb &lt;<A HREF="mailto:chris@arachsys.com?Subject=Re:%20Trouble%20with%20Linotype%20Jade%20II%20on%20FreeBSD%204.0&In-Reply-To=&lt;20000515184208.B10560@miranda.arachsys.com&gt;">chris@arachsys.com</A>&gt; Office: +44 1299 404075
Arachsys Internet Services Ltd Mobile: +44 7801 090045
<P>--
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:%20Trouble%20with%20Linotype%20Jade%20II%20on%20FreeBSD%204.0&In-Reply-To=&lt;20000515184208.B10560@miranda.arachsys.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0126.html">Alan Baltazar: "Re: newbie"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0124.html">Henning Meier-Geinitz: "Re: Good A3 scanner?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Trouble with Linotype Jade II on FreeBSD 4.0"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Trouble with Linotype Jade II on FreeBSD 4.0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#125">[ date ]</A>
<A HREF="index.html#125">[ thread ]</A>
<A HREF="subject.html#125">[ subject ]</A>
<A HREF="author.html#125">[ 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 May 18 2000 - 12:10:29 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>