plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: Scanner Sometimes Works
From: Paul Boniol
Date: Wed, 31 Jan 2001 02:14:32 -0600

["multipart/related" not shown]

Subject: Re: Scanner Sometimes Works
From: Paul Boniol
Date: Wed, 31 Jan 2001 02:14:32 -0600

Thank you for your fast reply!

I tried the "easier" option first (change the line and recompile and 
install the
new driver).  It was slightly better, but was still doing the same thing.

I just tried the other option, swapping the cables (so lp0 is the 
scanner and
lp1 is the printer) and changing the config files.  It is working great!
I tried several scans.  I _could_ _not_ get it to fail!

My lp0 is on the mother board, set for EPP.
My lp1 is a SIIG 16-bit ISA card ("High-Speed IEEE 1284 EPP/ECP
 Parallel Port Adapter Fast Parallel I/O Parallel Pro Dual") set for 
EPP/ECP
 mode.
So I can't be sure if it was the mode (EPP vs EPP/ECP), the difference 
in lp0 vs
lp1 or the difference in the physical hardware.

Thank you so much!  I can use my scanner in Linux!  I am so happy!

Paul Boniol

Jaeger, Gerhard wrote:

> This looks like the problem we have on other configurations
> and it seems, that this is communication problem which affects
> some kind of parallelport-hardware. The problem is known, and
> I hope to path this one day [;-)]
> 
> I think there are two things you can try:
> 1. simply connect the scanner to lp0 and the printer to lp1
> 2. leave the scanner on lp1 and change the #if 0 define in the
>     file plustek_driver/h/plustek_scan.h (at line 72 or so) to #if 1.
>     Then recompile and reinstall the driver.
> 
> Tell us if one of the points will help.
> Gerhard
> 
> On Die, 30 Jan 2001, Paul Boniol wrote:


<snip>

>> I can sometimes get my parallel port scanner to work with Linux 
>> (I've  had it for a
>> while.  Probably bought before I got into Linux.)  but it takes quite 
>> a  bit of playing
>> to get it to work.  It is a Plustek OpticPro 9636T.  Connected to 
>> lp1,  ioport
>> 0x278, IRQ 3, DMA 3
> 

<snip>

>> I had installed SANE 1.0.3-2 from the RPM when I installed Mandrake 7.2.
>> I downloaded, compiled and installed the Plustek module (version 
>> 0-36-37)
> 

<snip>

>> If I do
>> scanimage -L
>> it will list the scanner most of the time, but if I do it again, the
>> command does not have any output until I unload the scanner
>> module.  (Message is   `plustek:/dev/pt_drv' is a Plustek 9636T/
>> 12000T Driver-Version 0.36 flatbed scanner)
>> 
>> If I try
>> scanimage --format PPM --mode Color > test.ppm
>> it will usually give the message
>> scanimage: no SANE devices found
>> and occasionally
>> scanimage: sane_start: Error during device I/O
>> and once every now and then, it works.
> 

<snip>

>> The results are similar under X using the xscanimage plugin for Gimp.
>> Starting Gimp from a terminal, it will occasionally display the message
>> xscanimage: no devices available.
>> Most of the time (and always following the previous message) it will
>> display
>> Gtk-CRITICAL**: file gtkmain.c line 534 (gtk_main_quit): assertion
>> 'main_loops != NULL' failed.
>> Occasionally it will display the scanner interface.  When it does, it 
>> will
>> usually respond
>> Failed to start scanner: Error during device I/O
>> when you click scan or   Preview Window and Acquire Preview.
>> After it has scanned once, (either scan or preview), it will not scan
>> again until closed, module removed, and the process started again.
> 
<snip>



plustek@linuxhacker.org