kopia lustrzana https://gitlab.com/sane-project/website
253 wiersze
14 KiB
HTML
253 wiersze
14 KiB
HTML
<!-- received="Thu Nov 4 09:37:49 1999 PST" -->
|
||
<!-- sent="Thu, 04 Nov 1999 18:45:33 +0100" -->
|
||
<!-- name="Luca Del Signore" -->
|
||
<!-- email="lucadels@tin.it" -->
|
||
<!-- subject="Re: sane doesnt work under red hat 6.1 (again)!" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="sane doesnt work under red hat 6.1 (again)!" -->
|
||
<title>sane-devel: Re: sane doesnt work under red hat 6.1 (again)!</title>
|
||
<h1>Re: sane doesnt work under red hat 6.1 (again)!</h1>
|
||
<b>Luca Del Signore</b> (<a href="mailto:lucadels@tin.it"><i>lucadels@tin.it</i></a>)<br>
|
||
<i>Thu, 04 Nov 1999 18:45:33 +0100</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#23">[ date ]</a><a href="index.html#23">[ thread ]</a><a href="subject.html#23">[ subject ]</a><a href="author.html#23">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0024.html">Luca Del Signore: "Re: sane doesnt work under red hat 6.1 (again)!"</a>
|
||
<li> <b>Previous message:</b> <a href="0022.html">Oliver Rauch: "Re: sane doesnt work under red hat 6.1 (again)!"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0020.html">Luca Del Signore: "sane doesnt work under red hat 6.1 (again)!"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0024.html">Luca Del Signore: "Re: sane doesnt work under red hat 6.1 (again)!"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Chris Pinkham wrote:<br>
|
||
<i>> </i><br>
|
||
<i>> The Artec backend works best with the AT3 model since that's what I have,</i><br>
|
||
<i>> I even have the same firmware revision as you. I'm wondering if it has</i><br>
|
||
<i>> anything to do with the sense handler. I have received other reports of</i><br>
|
||
<i>> this causing problems a while back.</i><br>
|
||
<i>> </i><br>
|
||
<i>> You can try turning it off by doing a couple things.... Find the following</i><br>
|
||
<i>> section of code in artec.c:</i><br>
|
||
<i>> </i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> "AT3", "flatbed",</i><br>
|
||
<i>> 8.3, 11, 0, 255, 0, 255, 0, 0, 8, 55, 32768,</i><br>
|
||
<i>> ARTEC_FLAG_CALIBRATE_RGB |</i><br>
|
||
<i>> ARTEC_FLAG_RGB_LINE_OFFSET |</i><br>
|
||
<i>> ARTEC_FLAG_RGB_CHAR_SHIFT |</i><br>
|
||
<i>> ARTEC_FLAG_GAMMA_SINGLE |</i><br>
|
||
<i>> ARTEC_FLAG_SEPARATE_RES |</i><br>
|
||
<i>> ARTEC_FLAG_SENSE_HANDLER |</i><br>
|
||
<i>> ARTEC_FLAG_ONE_PASS_SCANNER,</i><br>
|
||
<i>> "50,100,200,300", "50,100,200,300,600"</i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> </i><br>
|
||
<i>> Comment out the line that says "ARTEC_FLAG_SENSE_HANDLER", that will disable</i><br>
|
||
<i>> the sense handler for the AT3. Then go find the first place where</i><br>
|
||
<i>> sanei_scsi_open is called like this:</i><br>
|
||
<i>> </i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> DBG (6, "attach: opening %s\n", devname);</i><br>
|
||
<i>> </i><br>
|
||
<i>> status = sanei_scsi_open (devname, &fd, sense_handler, 0);</i><br>
|
||
<i>> if (status != SANE_STATUS_GOOD)</i><br>
|
||
<i>> {</i><br>
|
||
<i>> DBG (1, "attach: open failed (%s)\n", sane_strstatus (status));</i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> </i><br>
|
||
<i>> Change the "sense_handler" on the sanei_scsi_open line to a plain "0" (zero).</i><br>
|
||
<i>> That will disable the sense handler being used while trying to detect what</i><br>
|
||
<i>> kind of scanner you have.</i><br>
|
||
<i>> </i><br>
|
||
<i>> Can you try that and see if it works?</i><br>
|
||
<i>> </i><br>
|
||
<i>> > Luca Del Signore</i><br>
|
||
<i>> ></i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Script started on Thu Nov 4 09:15:21 1999</i><br>
|
||
<i>> > [root@localhost /root]# s xscanimage</i><br>
|
||
<i>> > > Segmentation fault (core dumped)</i><br>
|
||
<i>> > [root@localhost /root]# <20>[Kexit</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Script done on Thu Nov 4 09:26:19 1999</i><br>
|
||
<i>> </i><br>
|
||
<i>> > aha152x: trying software interrupt, ok.</i><br>
|
||
<i>> > scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $</i><br>
|
||
<i>> > scsi1 : SCSI host adapter emulation for IDE ATAPI devices</i><br>
|
||
<i>> > scsi : 2 hosts.</i><br>
|
||
<i>> > Vendor: ULTIMA Model: AT3 Rev: 1.90</i><br>
|
||
<i>> > Type: Scanner ANSI SCSI revision: 02</i><br>
|
||
<i>> > Detected scsi generic sga at scsi0, channel 0, id 6, lun 0</i><br>
|
||
<i>> </i><br>
|
||
<i>> Chris</i><br>
|
||
<i>> </i><br>
|
||
<i>> ************************************************************************</i><br>
|
||
<i>> ** Chris Pinkham AlphaLinux v2.2.5, Cajun 3.0-8 **</i><br>
|
||
<i>> ** <a href="mailto:cpinkham@infi.net">cpinkham@infi.net</a> <a href="http://www4.infi.net/~cpinkham/">http://www4.infi.net/~cpinkham/</a> **</i><br>
|
||
<i>> ************************************************************************</i><br>
|
||
<i>> </i><br>
|
||
<i>> --</i><br>
|
||
<i>> Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
||
<i>> To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
|
||
<p>
|
||
Well... im not so expert but ill give it a try and let you know<br>
|
||
thanx for nowChris Pinkham wrote:<br>
|
||
<i>> </i><br>
|
||
<i>> The Artec backend works best with the AT3 model since that's what I have,</i><br>
|
||
<i>> I even have the same firmware revision as you. I'm wondering if it has</i><br>
|
||
<i>> anything to do with the sense handler. I have received other reports of</i><br>
|
||
<i>> this causing problems a while back.</i><br>
|
||
<i>> </i><br>
|
||
<i>> You can try turning it off by doing a couple things.... Find the following</i><br>
|
||
<i>> section of code in artec.c:</i><br>
|
||
<i>> </i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> "AT3", "flatbed",</i><br>
|
||
<i>> 8.3, 11, 0, 255, 0, 255, 0, 0, 8, 55, 32768,</i><br>
|
||
<i>> ARTEC_FLAG_CALIBRATE_RGB |</i><br>
|
||
<i>> ARTEC_FLAG_RGB_LINE_OFFSET |</i><br>
|
||
<i>> ARTEC_FLAG_RGB_CHAR_SHIFT |</i><br>
|
||
<i>> ARTEC_FLAG_GAMMA_SINGLE |</i><br>
|
||
<i>> ARTEC_FLAG_SEPARATE_RES |</i><br>
|
||
<i>> ARTEC_FLAG_SENSE_HANDLER |</i><br>
|
||
<i>> ARTEC_FLAG_ONE_PASS_SCANNER,</i><br>
|
||
<i>> "50,100,200,300", "50,100,200,300,600"</i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> </i><br>
|
||
<i>> Comment out the line that says "ARTEC_FLAG_SENSE_HANDLER", that will disable</i><br>
|
||
<i>> the sense handler for the AT3. Then go find the first place where</i><br>
|
||
<i>> sanei_scsi_open is called like this:</i><br>
|
||
<i>> </i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> DBG (6, "attach: opening %s\n", devname);</i><br>
|
||
<i>> </i><br>
|
||
<i>> status = sanei_scsi_open (devname, &fd, sense_handler, 0);</i><br>
|
||
<i>> if (status != SANE_STATUS_GOOD)</i><br>
|
||
<i>> {</i><br>
|
||
<i>> DBG (1, "attach: open failed (%s)\n", sane_strstatus (status));</i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> </i><br>
|
||
<i>> Change the "sense_handler" on the sanei_scsi_open line to a plain "0" (zero).</i><br>
|
||
<i>> That will disable the sense handler being used while trying to detect what</i><br>
|
||
<i>> kind of scanner you have.</i><br>
|
||
<i>> </i><br>
|
||
<i>> Can you try that and see if it works?</i><br>
|
||
<i>> </i><br>
|
||
<i>> > Luca Del Signore</i><br>
|
||
<i>> ></i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Script started on Thu Nov 4 09:15:21 1999</i><br>
|
||
<i>> > [root@localhost /root]# s xscanimage</i><br>
|
||
<i>> > > Segmentation fault (core dumped)</i><br>
|
||
<i>> > [root@localhost /root]# <20>[Kexit</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Script done on Thu Nov 4 09:26:19 1999</i><br>
|
||
<i>> </i><br>
|
||
<i>> > aha152x: trying software interrupt, ok.</i><br>
|
||
<i>> > scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $</i><br>
|
||
<i>> > scsi1 : SCSI host adapter emulation for IDE ATAPI devices</i><br>
|
||
<i>> > scsi : 2 hosts.</i><br>
|
||
<i>> > Vendor: ULTIMA Model: AT3 Rev: 1.90</i><br>
|
||
<i>> > Type: Scanner ANSI SCSI revision: 02</i><br>
|
||
<i>> > Detected scsi generic sga at scsi0, channel 0, id 6, lun 0</i><br>
|
||
<i>> </i><br>
|
||
<i>> Chris</i><br>
|
||
<i>> </i><br>
|
||
<i>> ************************************************************************</i><br>
|
||
<i>> ** Chris Pinkham AlphaLinux v2.2.5, Cajun 3.0-8 **</i><br>
|
||
<i>> ** <a href="mailto:cpinkham@infi.net">cpinkham@infi.net</a> <a href="http://www4.infi.net/~cpinkham/">http://www4.infi.net/~cpinkham/</a> **</i><br>
|
||
<i>> ************************************************************************</i><br>
|
||
<i>> </i><br>
|
||
<i>> --</i><br>
|
||
<i>> Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
||
<i>> To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
|
||
Chris Pinkham wrote:<br>
|
||
<i>> </i><br>
|
||
<i>> The Artec backend works best with the AT3 model since that's what I have,</i><br>
|
||
<i>> I even have the same firmware revision as you. I'm wondering if it has</i><br>
|
||
<i>> anything to do with the sense handler. I have received other reports of</i><br>
|
||
<i>> this causing problems a while back.</i><br>
|
||
<i>> </i><br>
|
||
<i>> You can try turning it off by doing a couple things.... Find the following</i><br>
|
||
<i>> section of code in artec.c:</i><br>
|
||
<i>> </i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> "AT3", "flatbed",</i><br>
|
||
<i>> 8.3, 11, 0, 255, 0, 255, 0, 0, 8, 55, 32768,</i><br>
|
||
<i>> ARTEC_FLAG_CALIBRATE_RGB |</i><br>
|
||
<i>> ARTEC_FLAG_RGB_LINE_OFFSET |</i><br>
|
||
<i>> ARTEC_FLAG_RGB_CHAR_SHIFT |</i><br>
|
||
<i>> ARTEC_FLAG_GAMMA_SINGLE |</i><br>
|
||
<i>> ARTEC_FLAG_SEPARATE_RES |</i><br>
|
||
<i>> ARTEC_FLAG_SENSE_HANDLER |</i><br>
|
||
<i>> ARTEC_FLAG_ONE_PASS_SCANNER,</i><br>
|
||
<i>> "50,100,200,300", "50,100,200,300,600"</i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> </i><br>
|
||
<i>> Comment out the line that says "ARTEC_FLAG_SENSE_HANDLER", that will disable</i><br>
|
||
<i>> the sense handler for the AT3. Then go find the first place where</i><br>
|
||
<i>> sanei_scsi_open is called like this:</i><br>
|
||
<i>> </i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> DBG (6, "attach: opening %s\n", devname);</i><br>
|
||
<i>> </i><br>
|
||
<i>> status = sanei_scsi_open (devname, &fd, sense_handler, 0);</i><br>
|
||
<i>> if (status != SANE_STATUS_GOOD)</i><br>
|
||
<i>> {</i><br>
|
||
<i>> DBG (1, "attach: open failed (%s)\n", sane_strstatus (status));</i><br>
|
||
<i>> -----------------------------------------------------------</i><br>
|
||
<i>> </i><br>
|
||
<i>> Change the "sense_handler" on the sanei_scsi_open line to a plain "0" (zero).</i><br>
|
||
<i>> That will disable the sense handler being used while trying to detect what</i><br>
|
||
<i>> kind of scanner you have.</i><br>
|
||
<i>> </i><br>
|
||
<i>> Can you try that and see if it works?</i><br>
|
||
<i>> </i><br>
|
||
<i>> > Luca Del Signore</i><br>
|
||
<i>> ></i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Script started on Thu Nov 4 09:15:21 1999</i><br>
|
||
<i>> > [root@localhost /root]# s xscanimage</i><br>
|
||
<i>> > > Segmentation fault (core dumped)</i><br>
|
||
<i>> > [root@localhost /root]# <20>[Kexit</i><br>
|
||
<i>> ></i><br>
|
||
<i>> > Script done on Thu Nov 4 09:26:19 1999</i><br>
|
||
<i>> </i><br>
|
||
<i>> > aha152x: trying software interrupt, ok.</i><br>
|
||
<i>> > scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $</i><br>
|
||
<i>> > scsi1 : SCSI host adapter emulation for IDE ATAPI devices</i><br>
|
||
<i>> > scsi : 2 hosts.</i><br>
|
||
<i>> > Vendor: ULTIMA Model: AT3 Rev: 1.90</i><br>
|
||
<i>> > Type: Scanner ANSI SCSI revision: 02</i><br>
|
||
<i>> > Detected scsi generic sga at scsi0, channel 0, id 6, lun 0</i><br>
|
||
<i>> </i><br>
|
||
<i>> Chris</i><br>
|
||
<i>> </i><br>
|
||
<i>> ************************************************************************</i><br>
|
||
<i>> ** Chris Pinkham AlphaLinux v2.2.5, Cajun 3.0-8 **</i><br>
|
||
<i>> ** <a href="mailto:cpinkham@infi.net">cpinkham@infi.net</a> <a href="http://www4.infi.net/~cpinkham/">http://www4.infi.net/~cpinkham/</a> **</i><br>
|
||
<i>> ************************************************************************</i><br>
|
||
<i>> </i><br>
|
||
<i>> --</i><br>
|
||
<i>> Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
||
<i>> To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><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">majordomo@mostang.com</a>
|
||
</pre>
|
||
<!-- body="end" -->
|
||
<p>
|
||
<ul>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0024.html">Luca Del Signore: "Re: sane doesnt work under red hat 6.1 (again)!"</a>
|
||
<li> <b>Previous message:</b> <a href="0022.html">Oliver Rauch: "Re: sane doesnt work under red hat 6.1 (again)!"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0020.html">Luca Del Signore: "sane doesnt work under red hat 6.1 (again)!"</a>
|
||
<!-- nextthread="start" -->
|
||
<li> <b>Next in thread:</b> <a href="0024.html">Luca Del Signore: "Re: sane doesnt work under red hat 6.1 (again)!"</a>
|
||
<!-- reply="end" -->
|
||
</ul>
|