Subject: Re: Help! CanoScan LiDE 30 not found by SANE
To: None <netbsd-help@NetBSD.org>
From: Thomas Kaepernick <Thomas.Kaepernick@web.de>
List: netbsd-help
Date: 01/31/2007 22:10:50
Am Fri, Jan 26, 2007 at 09:57:30PM -0500, schrieb Xihong Yin:
> Hi,
> 
> sane-find-scanner can find the scanner on /dev/uscanner0, but don't know
> the vendor and the model. output of sane-find-scanner is
> 
> ----------------
> found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0
> ---------------
...
> [plustek] next device is a USB device (0x04A9-0x220E)

From my Linux-Box:
options for the scanner-modul of the kernel:
vendor=0x4a9 product=0x220d

/etc/sane.d/plustek.conf
# Plustek-SANE Backend configuration file
...
[usb] 0x04a9 0x220d
device /dev/usb/scanner0

#
# options for the previous USB entry
#
# switch lamp off after xxx secs, 0 disables the feature
# (can also be set via frontend)
option lampOff 300

# warmup period in seconds, 0 means no warmup, -1 means auto-warmup
# (can also be set via frontend)
option warmup -1

# 0 means leave lamp-status untouched, not 0 means switch off
# on sane_close
# (can also be set via frontend)
option lOffOnEnd 1

#
# options to tweak the image start-position
# (WARNING: there's no internal range check!!!)
#
# for the normal scan area
#
option posOffX 0
option posOffY 0

# for transparencies
option tpaOffX 0
option tpaOffY 0

# for negatives
option negOffX 0
option negOffY 0

#
# for setting the calibration strip position
# (WARNING: there's no internal range check!!!)
# -1 means use built in
# (can also be set via frontend)
option posShadingY -1
option tpaShadingY -1
option negShadingY -1

#
# to invert the negatives, 0 disables the feature
#
option invertNegatives 0

#
# to disable the internal sensor speedup function, 
# 1 disables the feature
#
option disableSpeedup 0

#
# to save/restore coarse calibration data
# (can also be set via frontend)
option cacheCalData 0

#
# use alternate calibration routines
#
option altCalibration 0

#
# for skipping whole calibration step
#
option skipCalibration 0

#
# for skipping entire fine calibration step
# coarse calibration is done
#
option skipFine 0

#
# discard the result of the fine white calibration
#
option skipFineWhite 0

# for replacing the gain values found during coarse
# calibration
# (can also be set via frontend)
option red_gain   -1
option green_gain -1
option blue_gain  -1

# for replacing the offset values found during coarse
# calibration
# (can also be set via frontend)
option red_offset   -1
option green_offset -1
option blue_offset  -1

#
# for replacing the default lampoff settings, this
# works only for CIS devices like CanoScan LiDE20
# (can also be set via frontend)
option red_lampoff   -1
option green_lampoff -1
option blue_lampoff  -1

#
# for adjusting the default gamma values
# (can also be set via frontend)
option redGamma         1.0
option greenGamma       1.0
option blueGamma        1.0
option grayGamma        1.0

#
# to enable TPA (EPSON or UMAX, if autodetection fails)
# 0 means default behaviour as specified in the internal tables
# 1 means enable (needed for UMAX 3450)
option enableTPA 0

#
# model override functionality, currently only available for
# Mustek devices, using NSCs' vendor ID: 0x0400 and
# also their product ID: 0x1000 (LM9831) 0x1001 (LM9832)
#
# mov/PID    |    0x1000   |   0x1001
# ---------------------------------------
# 0 (default)| BearPaw1200 | BearPaw 2400
# 1          |   ignored   | BearPaw 1200
#
option mov 0

#
# and of course the device-name
#
# device /dev/usbscanner
device auto

#
# to define a new device, start with a new section:
# [usb] 
#

Bye Thomas