plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: 0.36 not working with plustek 4830P
From: Jaeger, Gerhard
Date: Mon, 16 Oct 2000 13:46:18 +0200

On Son, 08 Okt 2000, Guilherme Barile wrote:
> Hello
> 	I own a plustek 4830P scanner. It works just fine with version 0.35 of
> the driver (using sane 1.0.3), but 0.36 simply doesn't work.
> 	I claims an I/O error while opening the scanner...
> 
> 	Anyone ever mailed you about this ?
> 
> Thanks
> 
> gui
Hi Gui,

I think I've found the problem, let me try to explain:
With version 0.36 and SANE 1.0.3 I introduced a version
nummer for the ioctl calls to the driver, to make sure, that
the different driver and sane-version will work together.
If there's now an old driver loaded and you're using a newer
SANE version, you should get an error (the same happens
if the driver is newer than the supported SANE version!).

In general, it is only possible to make SANE 1.0.3 work with
the 0.35 version of the driver when you replace the plustek
backend from 1.0.3 with the code in the 0.35 tarball. I think
this is exactly what happened here. Well to make the 0.36
version work, you should unpack the whole 0.36 tarball
including the backend code into your SANE 1.0.3 source
directory AND recompile AND reinstall SANE 1.0.3. Then
recompile the 0.36 driver, install and load it.
After this you should be able to use the latest driver.

Hope this solves your problem
Gerhard

plustek@linuxhacker.org