[sane-devel] USB Canoscan N670U
Patrice Ouellette
patrice_o at yahoo.com
Fri Nov 15 15:40:40 GMT 2002
here is what i am running...
IBM laptop T22
with
USB 1.1
-82371AB/EB/MB PIIX4 USB
-manufacturer: Intel Corp.
-Driver usb-uhci
-Device: N/A
Linux Redhat 8.0
here are some of the messages i get...
sane-find-scanner -v gives the following...
searching for USB scanners:
checking /dev/usb/scanner... failed to open (Invalid
argument)
checking /dev/usb/scanner0... failed to open (Invalid
argument)
checking /dev/usb/scanner1... failed to open (Invalid
argument)
checking /dev/usb/scanner2... failed to open (Invalid
argument)
checking /dev/usb/scanner3... failed to open (Invalid
argument)
checking /dev/usb/scanner4... failed to open (Invalid
argument)
checking /dev/usb/scanner5... failed to open (Invalid
argument)
checking /dev/usb/scanner5... failed to open (Invalid
argument)
checking /dev/usb/scanner7... failed to open (Invalid
argument)
checking /dev/usb/scanner8... failed to open (Invalid
argument)
checking /dev/usb/scanner9... failed to open (Invalid
argument)
checking /dev/usb/scanner10... failed to open (Invalid
argument)
checking /dev/usb/scanner11... failed to open (Invalid
argument)
checking /dev/usb/scanner12... failed to open (Invalid
argument)
checking /dev/usb/scanner13... failed to open (Invalid
argument)
checking /dev/usb/scanner14... failed to open (Invalid
argument)
checking /dev/usb/scanner15... failed to open (Invalid
argument)
checking /dev/usbscanner... failed to open (Invalid
argument)
checking /dev/usbscanner0... failed to open (Invalid
argument)
checking /dev/usbscanner1... failed to open (Invalid
argument)
checking /dev/usbscanner2... failed to open (Invalid
argument)
checking /dev/usbscanner3... failed to open (Invalid
argument)
checking /dev/usbscanner4... failed to open (Invalid
argument)
checking /dev/usbscanner5... failed to open (Invalid
argument)
checking /dev/usbscanner6... failed to open (Invalid
argument)
checking /dev/usbscanner7... failed to open (Invalid
argument)
checking /dev/usbscanner8... failed to open (Invalid
argument)
checking /dev/usbscanner9... failed to open (Invalid
argument)
checking /dev/usbscanner10... failed to open (Invalid
argument)
checking /dev/usbscanner11... failed to open (Invalid
argument)
checking /dev/usbscanner12... failed to open (Invalid
argument)
checking /dev/usbscanner13... failed to open (Invalid
argument)
checking /dev/usbscanner14... failed to open (Invalid
argument)
checking /dev/usbscanner15... failed to open (Invalid
argument)
found USB scanner (vendor=0x04a9, product=0x220d) at
libusb:001:002
# A USB device was detected. This program can't be
sure if it's really
# a scanner. If it is your scanner, it may or may
not be supported by
# SANE. Try scanimage -L and read the backend's
manpage.
# Scanners connected to the parallel port or other
proprietary ports can't be
# detected by this program.
# You may want to run this program as root to find
all devices. Once you
# found the scanner devices, be sure to adjust
access permissions as
# necessary.
done
AND HERE IS WHAT I GET FROM
cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1
Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8
#Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=1860
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00
Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2
Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8
#Cfgs= 1
P: Vendor=04a9 ProdID=220d Rev= 1.00
S: Manufacturer=Canon
S: Product=CanoScan
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff
Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=16ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I AM USING THE FOLLOWING CONF FILE
plustek.conf with the following settings....
# Plustek-SANE Backend configuration file
# For use with Plustek parallel-port scanners and
# LM9831/2/3 based USB scanners
#
# For parport devices use the parport section
#
#[parport]
#device /dev/pt_drv
#
# leave the default values as specified in
etc/modules.conf
#
option warmup -1
option lOffOnEnd -1
option lampOff -1
#
# The USB section:
# each device needs at least two lines:
# - [usb] vendor-ID and product-ID
# - device devicename
# i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)
[usb] 0x04a9 0x220d
device /dev/usbscanner2
#
# additionally you can specify some options
# warmup, lOffOnEnd, lampOff
#
# For autodetection use
# [usb]
# device /dev/usbscanner
#
# NOTE: autodetection is safe, as it uses the info it
got
# from the USB subsystem. If you're not using
the
# autodetection, you MUST have attached that
device
# at your USB-port, that you have specified...
#
#[usb]
#
# options for the previous USB entry
#
# switch lamp off after xxx secs, 0 disables the
feature
option lampOff 0
# warmup period in seconds, 0 means no warmup
option warmup 30
# 0 means leave lamp-status untouched, not 0 means
switch off
# on sane_close
option lOffOnEnd 0
#
# 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
#
option posShadingY -1
option tpaShadingY -1
option negShadingY -1
#
# to invert the negatives, 0 disables the feature
#
option invertNegatives 0
# for skipping calibration step
option skipCalibration 0
# for replacing the gain values found during
# calibration
option red_gain -1
option green_gain -1
option blue_gain -1
#
# for adjusting the default gamma values
# use values of 2.5 for CanoScan
#
option redGamma 1.0
option greenGamma 1.0
option blueGamma 1.0
option grayGamma 1.0
#
# to enable TPA (non Plustek devices only)
# 0 means default behaviour as specified in the
internal tables
# 1 means enable
#
option enableTPA 0
#
# and of course the device-name
#
device /dev/usbscanner2
#
# to define a new device, start with a new section:
# [usb] or [parport]
#
NOW, what am i doing wrong?
i have gone through many readme and install files.
i guess that i may have over looked something.
thanks
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
More information about the sane-devel
mailing list