sane-project-website/old-archive/2000-07/0073.html

459 wiersze
15 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: Error during device I/O Scanmaker V300 parallel</TITLE>
<META NAME="Author" CONTENT="Doug Wilson (dwilson@virtc.com)">
<META NAME="Subject" CONTENT="Error during device I/O Scanmaker V300 parallel">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Error during device I/O Scanmaker V300 parallel</H1>
<!-- received="Wed Jul 12 18:58:28 2000" -->
<!-- isoreceived="20000713015828" -->
<!-- sent="Thu, 13 Jul 2000 02:23:06 +0000" -->
<!-- isosent="20000713022306" -->
<!-- name="Doug Wilson" -->
<!-- email="dwilson@virtc.com" -->
<!-- subject="Error during device I/O Scanmaker V300 parallel" -->
<!-- id="396D2809.69CFD14A@virtc.com" -->
<STRONG>From:</STRONG> Doug Wilson (<A HREF="mailto:dwilson@virtc.com?Subject=Re:%20Error%20during%20device%20I/O%20Scanmaker%20V300%20parallel&In-Reply-To=&lt;396D2809.69CFD14A@virtc.com&gt;"><EM>dwilson@virtc.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Jul 12 2000 - 19:23:06 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0074.html">Petter Reinholdtsen: "Re: [PATCH] additional supported scanner"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0072.html">dave-mlist@bfnet.com: "Changing the &quot;br-y&quot; value doesn't change gui slider range"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#73">[ date ]</A>
<A HREF="index.html#73">[ thread ]</A>
<A HREF="subject.html#73">[ subject ]</A>
<A HREF="author.html#73">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I have a Microtek Scanmaker V300 parallel port scanner. I've just
<BR>
installed the ppscsi kernel patch. I'm running Linux Mandrake and my
<BR>
kernel is 2.2.9-19mdk. When I run scanimage I get an &quot;Error during
<BR>
device I/O&quot;. I've set SANE_DEBUG_MICROTEK2=30. I've attached the
<BR>
output. Can anyone give me some advice on where to go from here?
<BR>
<P>Thanks very much in advance.
<BR>
<BR><P>
[dwilson@hellboy dwilson]$ export SANE_DEBUG_MICROTEK2=30
<BR>
[dwilson@hellboy dwilson]$ scanimage -d microtek2:/dev/sga &gt; out
<BR>
[sanei_init_debug]: Setting debug level of microtek2 to 30.
<BR>
[microtek2] sane_init: Microtek2 (v0.5) says hello...
<BR>
[microtek2] attach_one: name='# See sane-microtek2(5) for a description of the o
<BR>
ptions
<BR>
'
<BR>
[microtek2] add_device_list: device='# See sane-microtek2(5) for a description o
<BR>
f the options'
<BR>
[microtek2] add_device_list: Comment or empty line in microtek2.conf
<BR>
[microtek2] attach_one: returning
<BR>
[microtek2] attach_one: name='
<BR>
'
<BR>
[microtek2] add_device_list: device=''
<BR>
[microtek2] add_device_list: Comment or empty line in microtek2.conf
<BR>
[microtek2] attach_one: returning
<BR>
[microtek2] attach_one: name='option dump 1
<BR>
'
<BR>
[microtek2] add_device_list: device='option dump 1'
<BR>
[microtek2] attach_one: returning
<BR>
[microtek2] attach_one: name='option strip-height 14.0
<BR>
'
<BR>
[microtek2] add_device_list: device='option strip-height 14.0'
<BR>
[microtek2] add_device_list: setting strip_height to 14.000000
<BR>
[microtek2] attach_one: returning
<BR>
[microtek2] attach_one: name='/dev/sga'
<BR>
[microtek2] add_device_list: device='/dev/sga'
<BR>
[microtek2] attach: device='/dev/sga'
<BR>
[microtek2] scsi_inquiry: mi=0x804d8f4, device='/dev/sga'
<BR>
[microtek2] check_inquiry: mi=0x804d8f4
<BR>
[microtek2] scsi_read_attributes: mi=0x804d8f4, device='/dev/sga', source=0
<BR>
[microtek2] dump_attributes: mi=0x804d8f4
<BR>
<P><P>Scanner attributes from device structure
<BR>
========================================
<BR>
<P>Scanner ID...
<BR>
~~~~~~~~~~~~~
<BR>
&nbsp;&nbsp;Vendor Name: ' '
<BR>
&nbsp;&nbsp;Model Name: 'Scanner 300A4 '
<BR>
&nbsp;&nbsp;Revision: '2.50'
<BR>
&nbsp;&nbsp;Model Code: 0x85 (TR3)
<BR>
&nbsp;&nbsp;Device Type Code: 0x06 (Scanner),
<BR>
&nbsp;&nbsp;Scanner type: Flatbed scanner
<BR>
&nbsp;&nbsp;Supported options: Automatic document feeder: Yes
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transparency media adapter: Yes
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Auto paper detecting: Yes
<BR>
&nbsp;&nbsp;Scan button: No
<BR>
<P>Imaging Capabilities...
<BR>
~~~~~~~~~~~~~~~~~~~~~~~
<BR>
&nbsp;&nbsp;Color scanner: Yes
<BR>
&nbsp;&nbsp;Number passes: 1 pass
<BR>
&nbsp;&nbsp;Resolution: X-max: 300 dpi
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Y-max: 600 dpi
<BR>
&nbsp;&nbsp;Geometry: Geometric width: 2550 pts (8.50'')
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Geometric height: 3510 pts (11.70'')
<BR>
&nbsp;&nbsp;Optical resol. : 300
<BR>
&nbsp;&nbsp;Modes: Lineart: Yes
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Halftone: Yes
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gray: Yes
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Color: Yes
<BR>
&nbsp;&nbsp;Depths: Nibble Gray: No
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10-bit-color: No
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12-bit-color: No
<BR>
&nbsp;&nbsp;d/l of HT pattern: Yes
<BR>
&nbsp;&nbsp;Builtin HT patt.: 12
<BR>
&nbsp;&nbsp;LUT capabilities: 256 bytes
<BR>
<P>Miscellaneous capabilities...
<BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<BR>
&nbsp;&nbsp;Data format: Line by line in segregated sequence,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with color indicator
<BR>
&nbsp;&nbsp;Color Sequence: G - B - R
<BR>
&nbsp;&nbsp;CCD gap: 8 lines
<BR>
&nbsp;&nbsp;CCD pixels: 2550
<BR>
&nbsp;&nbsp;Calib wh str loc: -108
<BR>
&nbsp;&nbsp;Max calib space: 48
<BR>
&nbsp;&nbsp;Number of lens: 1
<BR>
&nbsp;&nbsp;Max no of windows: 8
<BR>
&nbsp;&nbsp;Sh trnsf func equ: 0
<BR>
&nbsp;&nbsp;Buffer type: Ring
<BR>
&nbsp;&nbsp;FEPROM: No
<BR>
[microtek2] scsi_read_attributes: mi=0x804d9e4, device='/dev/sga', source=2
<BR>
[microtek2] scsi_read_attributes: mi=0x804d96c, device='/dev/sga', source=1
<BR>
[microtek2] scsi_read_system_status: md=0x804d8f0, fd=-1
<BR>
[microtek2] attach_one: returning
<BR>
[microtek2] attach_one: name='/dev/sga'
<BR>
[microtek2] add_device_list: device='/dev/sga'
<BR>
[microtek2] add_device_list: device '/dev/sga' already in list
<BR>
[microtek2] attach_one: returning
<BR>
[microtek2] sane_open: device='/dev/sga'
<BR>
[microtek2] add_device_list: device='/dev/sga'
<BR>
[microtek2] add_device_list: device '/dev/sga' already in list
<BR>
[microtek2] attach: device='/dev/sga'
<BR>
[microtek2] scsi_inquiry: mi=0x804d8f4, device='/dev/sga'
<BR>
[microtek2] check_inquiry: mi=0x804d8f4
<BR>
[microtek2] scsi_read_attributes: mi=0x804d8f4, device='/dev/sga', source=0
<BR>
[microtek2] scsi_read_attributes: mi=0x804d9e4, device='/dev/sga', source=2
<BR>
[microtek2] scsi_read_attributes: mi=0x804d96c, device='/dev/sga', source=1
<BR>
[microtek2] scsi_read_system_status: md=0x804d8f0, fd=-1
<BR>
[microtek2] init_options: handle=0x80561b0, source=0
<BR>
[microtek2] get_lut_size: mi=0x804d8f4
<BR>
[microtek2] get_lut_size: mi=0x804d8f4, lut_size=256, lut_word=1
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=0
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=1
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=2
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=3
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=4
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=5
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=6
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=7
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=8
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=9
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=10
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=11
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=12
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=13
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=14
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=15
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=16
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=17
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=18
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=19
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=20
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=21
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=22
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=23
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=24
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=25
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=26
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=27
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=28
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=29
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=30
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=31
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=32
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=33
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=34
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=35
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=36
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=37
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=38
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=39
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=40
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=41
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=42
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=43
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=44
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=45
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=46
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=47
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=12
<BR>
[microtek2] sane_get_option_descriptor: handle=0x80561b0, opt=13
<BR>
[microtek2] sane_start: handle=0x0x80561b0
<BR>
[microtek2] get_lut_size: mi=0x804d8f4
<BR>
[microtek2] get_lut_size: mi=0x804d8f4, lut_size=256, lut_word=1
<BR>
[microtek2] get_scan_parameters: handle=0x80561b0
<BR>
[microtek2] get_scan_mode_and_depth: handle=0x80561b0
<BR>
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8, bits_pp_out=
<BR>
8
<BR>
[microtek2] get_scan_parameters: mode=5, depth=8, bpp_in=8, bpp_out=8
<BR>
[microtek2] get_scan_parameters: yres=72, x1=0, width=2550, y1=0, height=3510
<BR>
[microtek2] scsi_send_system_status: md=0x804d8f0, fd=4
<BR>
[microtek2] scsi_set_window: ms=0x80561b0, wnd=1
<BR>
[microtek2] scsi_read_image_info: ms=0x80561b0
<BR>
[microtek2] scsi_read_image_info: ppl=612, bpl=1842, lines=842, remain=1550964
<BR>
[microtek2] calculate_gamma: ms=0x80561b0
<BR>
[microtek2] calculate_gamma: factor=1, mult =255.000000, steps=255.000000,
<BR>
mode=None
<BR>
[microtek2] scsi_send_gamma: pos=0x8057ed8, size=768, word=0, color=3
<BR>
[microtek2] scsi_wait_for_image: ms=0x80561b0
<BR>
[microtek2] scsi_read_image_status: ms=0x80561b0
<BR>
[microtek2] scsi_sense_handler: fd=4, sense=0x804e180 arg=(nil)
<BR>
[microtek2] dump_area: SenseBuffer
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0: f00005ffffffe91f 0000000024000000 ........ ....$...
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;16: 2800830060000000 0000000102030405 (...`... ........
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;32: 060708090a0b ......
<BR>
[microtek2] scsi_sense_handler: info: ' f'
<BR>
[microtek2] scsi_sense_handler: Invalid field in CDB
<BR>
[microtek2] scsi_read_image_status: 'Error during device I/O'
<BR>
[microtek2] scsi_wait_for_image: 'Error during device I/O'
<BR>
[microtek2] cleanup_scanner: ms=0x80561b0
<BR>
scanimage: sane_start: Error during device I/O
<BR>
[microtek2] sane_cancel: handle=0x80561b0
<BR>
[microtek2] cleanup_scanner: ms=0x80561b0
<BR>
[microtek2] sane_close: ms=0x80561b0
<BR>
[microtek2] cleanup_scanner: ms=0x80561b0
<BR>
[microtek2] sane_exit:
<BR>
[microtek2] sane_get_devices: local_only=0
<BR>
[microtek2] sane_get_devices: sd_list_freed
<BR>
[microtek2] sane_exit: MICROTEK2 says goodbye.
<BR>
[dwilson@hellboy dwilson]$
<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:%20Error%20during%20device%20I/O%20Scanmaker%20V300%20parallel&In-Reply-To=&lt;396D2809.69CFD14A@virtc.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0074.html">Petter Reinholdtsen: "Re: [PATCH] additional supported scanner"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0072.html">dave-mlist@bfnet.com: "Changing the &quot;br-y&quot; value doesn't change gui slider range"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#73">[ date ]</A>
<A HREF="index.html#73">[ thread ]</A>
<A HREF="subject.html#73">[ subject ]</A>
<A HREF="author.html#73">[ 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>Wed Jul 12 2000 - 19:02:26 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>