Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 20:34:38 +0100
From:      cpghost@cordula.ws
To:        "Eugene M. Minkovskii" <emin@mccme.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sane-plustek backend does not work
Message-ID:  <20041104193438.GA3381@bsdbox.farid-hajji.net>
In-Reply-To: <20041104173023.GB7290@mccme.ru>
References:  <20041104173023.GB7290@mccme.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 04, 2004 at 08:30:23PM +0300, Eugene M. Minkovskii wrote:
> Hello!
> 
> I using FreeBSD 5.2.1 and try to use scanner: "Cannon LIDE 30".
> it is USB scanner.

Here's my setup for the LIDE 30:

/usr/local/etc/sane.d/plustek.conf:
-----------------------------------

# Plustek-SANE Backend configuration file
# For use with LM9831/2/3 based USB scanners

[usb] 0x04A9 0x220E
option lampOff 120
option warmup 0
option lOffOnEnd 1

option posOffX 0
option posOffY 0
option tpaOffX 0
option tpaOffY 0
option negOffX 0
option negOffY 0

option posShadingY -1
option tpaShadingY -1
option negShadingY -1

option invertNegatives 0
option cacheCalData 0
option altCalibration 0

# for skipping whole calibration step
option skipCalibration 1
option skipFine 0
option skipFineWhite 0

option red_gain   -1
option green_gain -1
option blue_gain  -1

option redGamma         1.0
option greenGamma       1.0
option blueGamma        1.0
option grayGamma        1.0

option enableTPA 0

device /dev/uscanner0

------------------------------------------------

BEWARE: This file WILL be overridden if you reinstall or update sane-backends.
Make a backup copy before doing that.

The next step is to set the mode for /dev/uscanner0 correctly:

/etc/devfs.conf:
----------------

# ... among others set:
perm    uscanner0       0666

=====

Then restart devfs after you plug in the LIDE 30:

# /etc/rc.d/devfs stop
# /etc/rc.d/devfs start

That should be it.

Cheers,
cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041104193438.GA3381>