sane-project-website/old-archive/2001-04/0212.html

432 wiersze
20 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: Microtek scanner not working anymore</TITLE>
<META NAME="Author" CONTENT="Marcel Pol (mpol@gmx.net)">
<META NAME="Subject" CONTENT="Microtek scanner not working anymore">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Microtek scanner not working anymore</H1>
<!-- received="Sat Apr 21 11:29:40 2001" -->
<!-- isoreceived="20010421182940" -->
<!-- sent="Sat, 21 Apr 2001 20:31:06 +0200 (CEST)" -->
<!-- isosent="20010421183106" -->
<!-- name="Marcel Pol" -->
<!-- email="mpol@gmx.net" -->
<!-- subject="Microtek scanner not working anymore" -->
<!-- id="XFMail.010421203106.mpol@gmx.net" -->
<STRONG>From:</STRONG> Marcel Pol (<A HREF="mailto:mpol@gmx.net?Subject=Re:%20Microtek%20scanner%20not%20working%20anymore&In-Reply-To=&lt;XFMail.010421203106.mpol@gmx.net&gt;"><EM>mpol@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Apr 21 2001 - 11:31:06 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0213.html">Henning Meier-Geinitz: "Re: ./configure xsane is failing?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0211.html">scc: "Re: ./configure xsane is failing?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0265.html">Karsten Festag: "Re: Microtek scanner not working anymore"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0265.html">Karsten Festag: "Re: Microtek scanner not working anymore"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0271.html">karsten.festag@t-online.de: "Re: Microtek scanner not working anymore"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0293.html">Karsten Festag: "Re: Microtek scanner not working anymore"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#212">[ date ]</A>
<A HREF="index.html#212">[ thread ]</A>
<A HREF="subject.html#212">[ subject ]</A>
<A HREF="author.html#212">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello,
<BR>
<P>I'm using a Microtek scanner with Sane, but for some time now it's not
<BR>
working.
<BR>
The change happened when I attached the (working) scanner to another
<BR>
computer. There it didn't work, and when I put it back it still doesn't
<BR>
work.
<BR>
The kernel recognizes it (cdrecord -scanbus).
<BR>
&nbsp;&nbsp;&nbsp;1,6,0 106) ' ' 'Scanner 600A4 ' '2.21' Scanner
<BR>
<P>When I turn on debugging for the Microtek2 backend it spits out the right
<BR>
messages.
<BR>
After that, the scanner just hangs.
<BR>
Well, it sounds like it tries to scan, while it seems in desperate need
<BR>
of a few drops of oil.
<BR>
When I Ctrl-C sane, and check the scanner with cdrecord -scanbus, I get
<BR>
this back:
<BR>
&nbsp;&nbsp;1,6,0 106) '' '' '' NON CCS Disk
<BR>
When I turn it off and on, I get the original kernel message, but further
<BR>
there's no change.
<BR>
<P>Some time ago, with maybe a 2.4.0 linux kernel (now 2.4.3) it quit after
<BR>
some time, while saying &quot;device busy&quot;.
<BR>
If I turned of the scanner while it was hanging I did get the same error.
<BR>
<P>I'm using a Microtek2 scanner with a BusLogic BT930 scsi card.
<BR>
I'm using Sane 1.0.4 with linux 2.4.3
<BR>
I installed Windows, and it functions there without a problem.
<BR>
<P>I suspect the backend of Sane, or the BusLogic driver.
<BR>
I heard some people about data corruption on a BusLogic scsi card, but I
<BR>
wouldn't know if that relates to my problem.
<BR>
<P>I hope this is enough information provided, and that there is a fix for
<BR>
this.
<BR>
<P>Greetings,
<BR>
<PRE>
--
Marcel Pol
<A HREF="mailto:mpol@gmx.net?Subject=Re:%20Microtek%20scanner%20not%20working%20anymore&In-Reply-To=&lt;XFMail.010421203106.mpol@gmx.net&gt;">mpol@gmx.net</A>
<P><P><P>Debug Messages:
export SANE_DEBUG_MICROTEK2=128
xsane
<P>[sanei_debug] Setting debug level of microtek2 to 128.
[microtek2] sane_init: Microtek2 (v0.8) says hello...
[microtek2] parse_config_file: fp=0x8130430
[microtek2] attach_one: name='option dump 1'
[microtek2] add_device_list: device='option dump 1'
[microtek2] attach: device='option dump 1'
[microtek2] scsi_inquiry: mi=0x8130604, device='option dump 1'
[microtek2] scsi_inquiry: 'Invalid argument'
[microtek2] attach: 'Invalid argument'
[microtek2] attach_one: name='/dev/sgb'
[microtek2] add_device_list: device='/dev/sgb'
[microtek2] attach: device='/dev/sgb'
[microtek2] scsi_inquiry: mi=0x8132464, device='/dev/sgb'
[microtek2] check_inquiry: md=0x8132460
[microtek2] scsi_read_attributes: mi=0x8132464, device='/dev/sgb',
source=0
[microtek2] dump_attributes: mi=0x8132464
[microtek2]
[microtek2] Scanner attributes from device structure
[microtek2] ========================================
[microtek2] Scanner ID...
[microtek2] ~~~~~~~~~~~~~
[microtek2] Vendor Name : ' '
[microtek2] Model Name : 'Scanner 600A4 '
[microtek2] Revision : '2.21'
[microtek2] Model Code : 0x8c
[microtek2] TR6
[microtek2] Device Type Code : 0x06 (Scanner),
[microtek2] Scanner type Flatbed
scanner
[microtek2] Supported options : Automatic document feeder: Yes
[microtek2] Transparency media adapter: Yes
[microtek2] Auto paper detecting: Yes
[microtek2] Advanced picture system: No
[microtek2] Stripes: No
[microtek2] Slides: No
[microtek2] Scan button : No
[microtek2]
[microtek2] Imaging Capabilities...
[microtek2] ~~~~~~~~~~~~~~~~~~~~~~~
[microtek2] Color scanner : Yes
[microtek2] Number passes : 1 pass
[microtek2] Resolution : X-max: 600 dpi
Y-max: 1200 dpi
[microtek2] Geometry : Geometric width: 5100 pts (8.50'')
[microtek2] Geometric height: 7020 pts (11.70'')
[microtek2] Optical resolution : 600
[microtek2] Modes : Lineart: Yes
Halftone: Yes
[microtek2] Gray: Yes
Color: Yes
[microtek2] Depths : Nibble Gray: No
[microtek2] 10-bit-color: No
[microtek2] 12-bit-color: No
[microtek2] d/l of HT pattern : Yes
[microtek2] Builtin HT pattern : 12
[microtek2] LUT capabilities : 1024 bytes
[microtek2]
[microtek2] Miscellaneous capabilities...
[microtek2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[microtek2] Data format : Line by line in segregated sequence,
[microtek2] with color indicator
[microtek2] Color Sequence :
[microtek2] B
[microtek2] G
[microtek2] R
[microtek2] Scanning direction : [microtek2] Left to right
[microtek2] CCD gap : 8 lines
[microtek2] CCD pixels : 5100
[microtek2] Calib white stripe location : -144
[microtek2] Max calib space : 100
[microtek2] Number of lens : 1
[microtek2] Max number of windows : 8
[microtek2] Shading transfer function : 0
[microtek2] Red balance : 32
[microtek2] Green balance : 12846
[microtek2] Blue balance : 12849
[microtek2] Buffer type : Ring
[microtek2] FEPROM : No
[microtek2] scsi_read_attributes: mi=0x8132564, device='/dev/sgb',
source=2
[microtek2] scsi_read_attributes: mi=0x81324e4, device='/dev/sgb',
source=1
[microtek2] scsi_read_system_status: md=0x8132460, fd=-1
[microtek2] attach_one: name='/dev/sgb'
[microtek2] add_device_list: device='/dev/sgb'
[microtek2] add_device_list: device '/dev/sgb' already in list
[microtek2] sane_get_devices: local_only=0
[microtek2] attach: device='/dev/sgb'
[microtek2] scsi_inquiry: mi=0x8132464, device='/dev/sgb'
[microtek2] check_inquiry: md=0x8132460
[microtek2] scsi_read_attributes: mi=0x8132464, device='/dev/sgb',
source=0
[microtek2] scsi_read_attributes: mi=0x8132564, device='/dev/sgb',
source=2
[microtek2] scsi_read_attributes: mi=0x81324e4, device='/dev/sgb',
source=1
[microtek2] scsi_read_system_status: md=0x8132460, fd=-1
[microtek2] scsi_test_unit_ready: md=/dev/sgb
[microtek2] attach: device='option dump 1'
[microtek2] scsi_inquiry: mi=0x8130604, device='option dump 1'
[microtek2] scsi_inquiry: 'Invalid argument'
[microtek2] attach: 'Invalid argument'
[microtek2] sane_get_devices: attach status 'Invalid argument'
[microtek2] sane_open: device='/dev/sgb'
[microtek2] add_device_list: device='/dev/sgb'
[microtek2] add_device_list: device '/dev/sgb' already in list
[microtek2] attach: device='/dev/sgb'
[microtek2] scsi_inquiry: mi=0x8132464, device='/dev/sgb'
[microtek2] check_inquiry: md=0x8132460
[microtek2] scsi_read_attributes: mi=0x8132464, device='/dev/sgb',
source=0
[microtek2] scsi_read_attributes: mi=0x8132564, device='/dev/sgb',
source=2
[microtek2] scsi_read_attributes: mi=0x81324e4, device='/dev/sgb',
source=1
[microtek2] scsi_read_system_status: md=0x8132460, fd=-1
[microtek2] init_options: handle=0x81283c0, source=0
[microtek2] get_lut_size: mi=0x8132464
[microtek2] get_lut_size: mi=0x8132464, lut_size=1024, lut_word=1
[microtek2] set_option_dependencies: val=0x81283c8, sod=0x81284c0,
mode=Color
[microtek2] restore_gamma_options: val=0x81283c8, sod=0x81284c0
[microtek2] sane_control_option: opt=3, act=0, val=Color
[microtek2] sane_control_option: opt=4, act=0, val=8
[microtek2] sane_control_option: opt=5, act=0, val=72.000000
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=11, act=0, val=0.000000
[microtek2] sane_control_option: opt=12, act=0, val=215.899994
[microtek2] sane_control_option: opt=13, act=0, val=297.179993
[microtek2] sane_control_option: opt=15, act=0, val=100.000000
[microtek2] sane_control_option: opt=16, act=0, val=100.000000
[microtek2] sane_control_option: opt=21, act=0, val=None
[microtek2] sane_control_option: opt=32, act=0, val=Master
[microtek2] sane_control_option: opt=33, act=0, val=0
[microtek2] sane_control_option: opt=34, act=0, val=128
[microtek2] sane_control_option: opt=35, act=0, val=255
[microtek2] sane_control_option: opt=45, act=0, val=0
[microtek2] sane_control_option: opt=50, act=0, val=1
[microtek2] sane_control_option: opt=3, act=0, val=Color
[microtek2] sane_control_option: opt=5, act=0, val=72.000000
[microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0
[microtek2] get_scan_mode_and_depth: handle=0x81283c0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, preview=0
[microtek2] sane_get_parameters: x_res=y_res=72.000000
[microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646
[microtek2] sane_get_parameters: format=1, last_frame=1, lines=842
[microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=11, act=0, val=0.000000
[microtek2] sane_control_option: opt=12, act=0, val=215.899994
[microtek2] sane_control_option: opt=13, act=0, val=297.179993
[microtek2] sane_control_option: opt=3, act=0, val=Color
[microtek2] sane_control_option: opt=4, act=0, val=8
[microtek2] sane_control_option: opt=5, act=0, val=72.000000
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=11, act=0, val=0.000000
[microtek2] sane_control_option: opt=12, act=0, val=215.899994
[microtek2] sane_control_option: opt=13, act=0, val=297.179993
[microtek2] sane_control_option: opt=15, act=0, val=100.000000
[microtek2] sane_control_option: opt=16, act=0, val=100.000000
[microtek2] sane_control_option: opt=21, act=0, val=None
[microtek2] sane_control_option: opt=32, act=0, val=Master
[microtek2] sane_control_option: opt=33, act=0, val=0
[microtek2] sane_control_option: opt=34, act=0, val=128
[microtek2] sane_control_option: opt=35, act=0, val=255
[microtek2] sane_control_option: opt=45, act=0, val=0
[microtek2] sane_control_option: opt=50, act=0, val=1
[microtek2] sane_control_option: opt=3, act=0, val=Color
[microtek2] sane_control_option: opt=5, act=0, val=72.000000
[microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0
[microtek2] get_scan_mode_and_depth: handle=0x81283c0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, preview=0
[microtek2] sane_get_parameters: x_res=y_res=72.000000
[microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646
[microtek2] sane_get_parameters: format=1, last_frame=1, lines=842
[microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=11, act=0, val=0.000000
[microtek2] sane_control_option: opt=12, act=0, val=215.899994
[microtek2] sane_control_option: opt=13, act=0, val=297.179993
[microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0
[microtek2] get_scan_mode_and_depth: handle=0x81283c0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, preview=0
[microtek2] sane_get_parameters: x_res=y_res=72.000000
[microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646
[microtek2] sane_get_parameters: format=1, last_frame=1, lines=842
[microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=11, act=0, val=0.000000
[microtek2] sane_control_option: opt=12, act=0, val=215.899994
[microtek2] sane_control_option: opt=13, act=0, val=297.179993
[microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0
[microtek2] get_scan_mode_and_depth: handle=0x81283c0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, preview=0
[microtek2] sane_get_parameters: x_res=y_res=72.000000
[microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646
[microtek2] sane_get_parameters: format=1, last_frame=1, lines=842
[microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836
[microtek2] sane_control_option: option=5, action=1, value=72.000000
[microtek2] sane_control_option: opt=3, act=0, val=Color
[microtek2] sane_control_option: opt=4, act=0, val=8
[microtek2] sane_control_option: opt=5, act=0, val=72.000000
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=11, act=0, val=0.000000
[microtek2] sane_control_option: opt=12, act=0, val=215.899994
[microtek2] sane_control_option: opt=13, act=0, val=297.179993
[microtek2] sane_control_option: opt=15, act=0, val=100.000000
[microtek2] sane_control_option: opt=16, act=0, val=100.000000
[microtek2] sane_control_option: opt=21, act=0, val=None
[microtek2] sane_control_option: opt=32, act=0, val=Master
[microtek2] sane_control_option: opt=33, act=0, val=0
[microtek2] sane_control_option: opt=34, act=0, val=128
[microtek2] sane_control_option: opt=35, act=0, val=255
[microtek2] sane_control_option: opt=45, act=0, val=0
[microtek2] sane_control_option: opt=50, act=0, val=1
[microtek2] sane_control_option: opt=3, act=0, val=Color
[microtek2] sane_control_option: opt=5, act=0, val=72.000000
[microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0
[microtek2] get_scan_mode_and_depth: handle=0x81283c0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, preview=0
[microtek2] sane_get_parameters: x_res=y_res=72.000000
[microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646
[microtek2] sane_get_parameters: format=1, last_frame=1, lines=842
[microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=11, act=0, val=0.000000
[microtek2] sane_control_option: opt=12, act=0, val=215.899994
[microtek2] sane_control_option: opt=13, act=0, val=297.179993
[microtek2] sane_get_parameters: handle=0x81283c0, params=0x80baff0
[microtek2] get_scan_mode_and_depth: handle=0x81283c0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, preview=0
[microtek2] sane_get_parameters: x_res=y_res=72.000000
[microtek2] sane_get_parameters: x_ppm=2.834646, y_ppm=2.834646
[microtek2] sane_get_parameters: format=1, last_frame=1, lines=842
[microtek2] sane_get_parameters: depth=8, ppl=612, bpl=1836
<P>[microtek2] sane_control_option: opt=5, act=0, val=72.000000
[microtek2] sane_control_option: opt=3, act=0, val=Color
[microtek2] sane_control_option: opt=10, act=0, val=0.000000
[microtek2] sane_control_option: opt=11, act=0, val=0.000000
[microtek2] sane_control_option: opt=12, act=0, val=215.899994
[microtek2] sane_control_option: opt=13, act=0, val=297.179993
[microtek2] sane_control_option: opt=4, act=0, val=8
[microtek2] sane_control_option: option=5, action=1, value=50.000000
[microtek2] sane_control_option: option=10, action=1, value=0.000000
[microtek2] sane_control_option: option=11, action=1, value=0.000000
[microtek2] sane_control_option: option=12, action=1, value=215.899994
[microtek2] sane_control_option: option=13, action=1, value=297.179993
[microtek2] sane_control_option: option=8, action=1, value=1
[microtek2] sane_start: handle=0x0x81283c0
[microtek2] scsi_read_system_status: md=0x8132460, fd=34
[microtek2] get_scan_parameters: handle=0x81283c0
[microtek2] get_scan_mode_and_depth: handle=0x81283c0
[microtek2] get_scan_mode_and_depth: mode=5, depth=8, bits_pp_in=8,
bits_pp_out=8, preview=1
[microtek2] get_scan_parameters: mode=5, depth=8, bpp_in=8, bpp_out=8
[microtek2] get_scan_parameters: yres=50, x1=0, width=5100, y1=0,
height=7020
[microtek2] scsi_read_system_status: md=0x8132460, fd=34
[microtek2] scsi_send_system_status: md=0x8132460, fd=34
[microtek2] get_lut_size: mi=0x8132464
[microtek2] get_lut_size: mi=0x8132464, lut_size=1024, lut_word=1
[microtek2] calculate_gamma: ms=0x81283c0, pos=0x817bf78, color=0,
mode=None
[microtek2] calculate_gamma: factor=4, mult =255.000000,
steps=1023.000000, mode=None
[microtek2] calculate_gamma: ms=0x81283c0, pos=0x817c378, color=1,
mode=None
[microtek2] calculate_gamma: factor=4, mult =255.000000,
steps=1023.000000, mode=None
[microtek2] calculate_gamma: ms=0x81283c0, pos=0x817c778, color=2,
mode=None
[microtek2] calculate_gamma: factor=4, mult =255.000000,
steps=1023.000000, mode=None
[microtek2] scsi_send_gamma: pos=0x817bf78, size=1024, word=0, color=3
[microtek2] scsi_set_window: ms=0x81283c0, wnd=1
[microtek2] scsi_read_image_info: ms=0x81283c0
[microtek2] scsi_read_image_info: ppl=425, bpl=1284, lines=585,
remain=751140
[microtek2] scsi_wait_for_image: ms=0x81283c0
[microtek2] scsi_read_image_status: ms=0x81283c0
<P><P>And here it hangs.
<P><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:%20Microtek%20scanner%20not%20working%20anymore&In-Reply-To=&lt;XFMail.010421203106.mpol@gmx.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0213.html">Henning Meier-Geinitz: "Re: ./configure xsane is failing?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0211.html">scc: "Re: ./configure xsane is failing?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0265.html">Karsten Festag: "Re: Microtek scanner not working anymore"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0265.html">Karsten Festag: "Re: Microtek scanner not working anymore"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0271.html">karsten.festag@t-online.de: "Re: Microtek scanner not working anymore"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0293.html">Karsten Festag: "Re: Microtek scanner not working anymore"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#212">[ date ]</A>
<A HREF="index.html#212">[ thread ]</A>
<A HREF="subject.html#212">[ subject ]</A>
<A HREF="author.html#212">[ 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 Apr 21 2001 - 11:30:10 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>