[sane-devel] sane-find-scanner finds Canon Canoscan N24OU, scanimage -L does not

m. allan noah kitno455 at gmail.com
Tue Nov 20 01:45:37 GMT 2018


>From the release notes of our last release:

Note 3: The Linux USB3 workaround which was added in version 1.0.25 is
now disabled by default. If you have difficulty using a scanner which
previously worked, or intermittent scanner availability, try setting
the new environment variable SANE_USB_WORKAROUND=1 before starting
your frontend.

allan
On Mon, Nov 19, 2018 at 3:46 PM Terry Spearman <tnspearman at twc.com> wrote:
>
> Robert A. Schmied asked whether the scanner is plugged in, turned on, and at the same USB ports.
>
>
>
> The scanner has been plugged into the same USB port throughout.  As far as it being turned on, it does not appear to have an on/off switch on it anywhere I can find.  It was previously connected to a laptop running WindowsXP (until the laptop died).  It was controlled via software on the laptop, so I'm assuming it should behave similarly under Linux.
>
>
>
> Following up on my previous observation that running scanimage -L gives different results the first time after the server is rebooted and upon subsequent attempts, I have included in this e-mail plustek debugging output for the two situations.  I suspect (and hope) the output will provide the answer to my problem when examined by someone more knowledgeable than I.
>
>
>
> The first run detects the scanner, but gives an indication that the lamp is off, and then says that it is not ready.  The second time it fails to detect the scanner at all, saying that it could not read the version register.
>
>
>
> I am beginning to suspect that the problem may lie in the plustek.conf file.   Probably my next step will to be to experiment with it, at least until I get some feedback from the experts on this mailing list.
>
>
>
> Rebooting the server, running
>
> export SANE_DEBUG_PLUSTEK=128
>
> then running scanimage -L gives me:
>
>
>
> [sanei_debug] Setting debug level of plustek to 128.
>
> [plustek] Plustek backend V0.52-12, part of sane-backends 1.0.24
>
> [plustek] Retrieving all supported and conntected devices
>
> [plustek] Checking for 0x07b3-0x0010
>
> [plustek] Checking for 0x07b3-0x0011
>
> [plustek] Checking for 0x07b3-0x0013
>
> [plustek] Checking for 0x07b3-0x0017
>
> [plustek] Checking for 0x07b3-0x0015
>
> [plustek] Checking for 0x07b3-0x0015
>
> [plustek] Checking for 0x07b3-0x0017
>
> [plustek] Checking for 0x07b3-0x0013
>
> [plustek] Checking for 0x07b3-0x0011
>
> [plustek] Checking for 0x07b3-0x0007
>
> [plustek] Checking for 0x07b3-0x000f
>
> [plustek] Checking for 0x07b3-0x000f
>
> [plustek] Checking for 0x07b3-0x0005
>
> [plustek] Checking for 0x07b3-0x0014
>
> [plustek] Checking for 0x07b3-0x0012
>
> [plustek] Checking for 0x0400-0x1000
>
> [plustek] Checking for 0x0400-0x1000
>
> [plustek] Checking for 0x0400-0x1001
>
> [plustek] Checking for 0x0400-0x1001
>
> [plustek] Checking for 0x0458-0x2007
>
> [plustek] Checking for 0x0458-0x2008
>
> [plustek] Checking for 0x0458-0x2009
>
> [plustek] Checking for 0x0458-0x2013
>
> [plustek] Checking for 0x0458-0x2015
>
> [plustek] Checking for 0x0458-0x2016
>
> [plustek] Checking for 0x03f0-0x0505
>
> [plustek] Checking for 0x03f0-0x0605
>
> [plustek] Checking for 0x04b8-0x010f
>
> [plustek] Checking for 0x04b8-0x011d
>
> [plustek] Checking for 0x1606-0x0050
>
> [plustek] Checking for 0x1606-0x0060
>
> [plustek] Checking for 0x1606-0x0160
>
> [plustek] Checking for 0x049f-0x001a
>
> [plustek] Checking for 0x04a9-0x2206
>
> [plustek] Checking for 0x04a9-0x2207
>
> [plustek] Checking for 0x04a9-0x2208
>
> [plustek] Checking for 0x04a9-0x220d
>
> [plustek] Checking for 0x04a9-0x220e
>
> [plustek] Checking for 0x04a9-0x2220
>
> [plustek] Checking for 0x0a82-0x4600
>
> [plustek] Checking for 0x0a82-0x6620
>
> [plustek] Checking for 0x04a7-0x0427
>
> [plustek] Checking for 0x0a53-0x1000
>
> [plustek] Checking for 0x0a53-0x2000
>
> [plustek] Available and supported devices:
>
> [plustek] Device: >libusb:001:002< - 0x04a9x0x220e
>
> [plustek] ># Plustek-SANE Backend configuration file<
>
> [plustek] ># For use with LM9831/2/3 based USB scanners<
>
> [plustek] >#<
>
> [plustek] ><
>
> [plustek] ># each device needs at least two lines:<
>
> [plustek] ># - [usb] vendor-ID and product-ID<
>
> [plustek] ># - device devicename<
>
> [plustek] ># i.e. for Plustek (0x07B3) UT12/16/24  (0x0017)<
>
> [plustek] ># [usb] 0x07B3 0x0017<
>
> [plustek] ># device /dev/usbscanner<
>
> [plustek] ># or<
>
> [plustek] ># device libusb:bbb:ddd<
>
> [plustek] ># where bbb is the bus number and ddd is the device number<
>
> [plustek] ># make sure that your user has access to /proc/bus/usb/bbb/ddd<
>
> [plustek] >#<
>
> [plustek] ># additionally you can specify some options<
>
> [plustek] ># warmup, IOffOnEnd, lampOff<
>
> [plustek] ># for autodetection use<
>
> [plustek] ># usb<
>
> [plustek] ># device /dev/usbscanner<
>
> [plustek] ># or simply<
>
> [plustek] ># [usb]<
>
> [plustek] >#<
>
> [plustek] ># or if you want a specific device but have no idea about the<
>
> [plustek] ># device node or use libusb, simply set vendor- and product-ID<
>
> [plustek] ># [usb] 0x07B3 0x0017<
>
> [plustek] ># device auto<
>
> [plustek] >#<
>
> [plustek] ># NOTE: autodetection is safe, as it uses the info it got<
>
> [plustek] >#              from the USB subsystem. If you're not using the<
>
> [plustek] >#              you MUST have attached that device<
>
> [plustek] >#               at your USB-port that you have specified...<
>
> [plustek] >#<
>
> [plustek] ># [usb]<
>
> [plustek]  next device uses autodetection
>
> [plustek]  ... next device
>
> [plustek]  >[usb] 0x04a9 0x220e<
>
> [plustek]  next device is a USB device (0x04A9-0x220E)
>
> [plustek]  ... next device
>
> [plustek]  >device libusb:001:002<
>
> [plustek]  Decoding device name >libusb:001:002<
>
> [plustek] >#device auto<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># options for the previous USB entry<
>
> [plustek] >#<
>
> [plustek] ># switch lamp off after xxx secs, 0 disables this feature<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option lampOff 300<
>
> [plustek]  Decoding option >lampOff<
>
> [plustek] ><
>
> [plustek] >#warmup period in seconds, 0 means no warmup, -1 means auto-warmup<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] > option warmup -1<
>
> [plustek]  Decoding option >warmup<
>
> [plustek] ><
>
> [plustek] ># 0 means leave lamp-status untouched, not 0 means switch off<
>
> [plustek] ># on sane_close<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] ># option lOffOnEnd 1<
>
> [plustek]  Decoding option >lOffOnEnd 1<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># options to tweak the image start-position<
>
> [plustek] ># (WARNING: there's no internal range check!!!)<
>
> [plustek] >#<
>
> [plustek] ># for the normal scan area<
>
> [plustek] >#<
>
> [plustek] >option posOffX 0<
>
> [plustek]  Decoding option >posOffX<
>
> [plustek] >option posOffY 0<
>
> [plustek]  Decoding option >posOffY<
>
> [plustek] ><
>
> [plustek] ># for transparencies<
>
> [plustek] >option tpaOffX 0<
>
> [plustek]  Decoding option >tpaOffX<
>
> [plustek] >option tpaOffY 0<
>
> [plustek]  Decoding option >tpaOffY<
>
> [plustek] ><
>
> [plustek] ># for negatives<
>
> [plustek] >option negOffX 0<
>
> [plustek]  Decoding option >negOffX<
>
> [plustek] >option negOffY 0<
>
> [plustek]  Decoding option >negOffY<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for setting the calibration strip position<
>
> [plustek] ># (WARNING: there's no internal range check!!!)<
>
> [plustek] ># -1 means use built in<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option PosShadingY -1)<
>
> [plustek]  Decoding option >PosShadingY<
>
> [plustek] >option tpaShadingY -1)<
>
> [plustek]  Decoding option >tpaShadingY<
>
> [plustek] >option NegShadingY -1)<
>
> [plustek]  Decoding option >NegShadingY<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to invert the negatives, 0 disables the feature<
>
> [plustek] >#<
>
> [plustek] >option invertNegatives 0<
>
> [plustek]  Decoding option >invertNegatives<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to disable the internal sensor speedup function,<
>
> [plustek] ># 1 disables the feature<
>
> [plustek] >#<
>
> [plustek] >option disableSpeedup 0<
>
> [plustek]  Decoding option >disableSpeedup<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to save/restore coarse calibration data<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option cacheCalData 0<
>
> [plustek]  Decoding option >cacheCalData<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># use alternate calibration routines<
>
> [plustek] >#<
>
> [plustek] >option altCalibration 0<
>
> [plustek]  Decoding option >altCalibration<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for skipping whole calibration step<
>
> [plustek] >#<
>
> [plustek] >option skipCalibration 0<
>
> [plustek]  Decoding option >skipCalibration<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for skipping entire fine calibration step<
>
> [plustek] ># course calibration is done<
>
> [plustek] >#<
>
> [plustek] >option skipFine 0<
>
> [plustek]  Decoding option >skipFine<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># discard the result of the fine white calibration<
>
> [plustek] >#<
>
> [plustek] >option skipFineWhite 0<
>
> [plustek]  Decoding option >skipFineWhite<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># some scanners have a dark calibration strip, in<
>
> [plustek] ># general this one should be used for calibration.<
>
> [plustek] ># As this could cause some trouble, this option<
>
> [plustek] ># overrides that and the dark calibration will be<
>
> [plustek] ># done by switching the lamp off<
>
> [plustek] >#<
>
> [plustek] >option skipDarkStrip 0<
>
> [plustek]  Decoding option >skipDarkStrip<
>
> [plustek] ><
>
> [plustek] ># for replacing the gain values found during coarse <
>
> [plustek] ># calibration<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option red_Gain    -1<
>
> [plustek]  Decoding option >red_Gain<
>
> [plustek] >option green_Gain    -1<
>
> [plustek]  Decoding option >green_Gain<
>
> [plustek] >option blue_Gain    -1<
>
> [plustek]  Decoding option >blue_Gain<
>
> [plustek] ><
>
> [plustek] ># for replacing the offset values found during coarse<
>
> [plustek] ># calibration<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option red_offset   -1<
>
> [plustek]  Decoding option >red_offset<
>
> [plustek] >option green_offset   -1<
>
> [plustek]  Decoding option >green_offset<
>
> [plustek] >option blue_offset   -1<
>
> [plustek]  Decoding option >blue_offset<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for replacing the default lampoff settings, this<
>
> [plustek] ># works only for CIS devices like CanoScan LiDE20<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option red_lampoff   -1<
>
> [plustek]  Decoding option >red_lampoff<
>
> [plustek] >option green_lampoff   -1<
>
> [plustek]  Decoding option >green_lampoff<
>
> [plustek] >option blue_lampoff   -1<
>
> [plustek]  Decoding option >blue_lampoff<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for adjusting the default gamma values<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option red_gamma     -1<
>
> [plustek]  Decoding option >red_ gamma<
>
> [plustek] >option green_ gamma   -1<
>
> [plustek]  Decoding option >green_ gamma<
>
> [plustek] >option blue_ gamma   -1<
>
> [plustek]  Decoding option >blue_ gamma<
>
> [plustek] >option gray_ gamma   -1<
>
> [plustek]  Decoding option >gray_ gamma<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to enable TPA (EPSON or UMAX, if autodetection fails)<
>
> [plustek] ># 0 means default behavior as specified in the internal tables<
>
> [plustek] ># 1 means enable (needed for UMAX 3450)<
>
> [plustek] >option enableTPA   0<
>
> [plustek]  Decoding option >enableTPA<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># model override functionality, currently only available for<
>
> [plustek] ># Mustek devices using NCSs' vendor ID:  0x0400 and<
>
> [plustek] ># also their product ID: 0x1000 (LM9831) 0x1001 (LM9832)<
>
> [plustek] >#<
>
> [plustek] ># mov/PID    |       0x1000       |     0x1001<
>
> [plustek] ># ------------------------------------------------------------<
>
> [plustek] ># 0 default   | BearPaw1200  |     BearPaw  2400<
>
> [plustek] ># 1                 |         Ignored     |     BearPaw  1200<
>
> [plustek] >#<
>
> [plustek] >option mov   0<
>
> [plustek]  Decoding option >mov<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># and of course the device-name<
>
> [plustek] >#<
>
> [plustek] ># device /dev/usbscaner<
>
> [plustek] ># device auto<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to define a new device, start with a new section:<
>
> [plustek] ># [usb]<
>
> [plustek] >#<
>
> [plustek] attach (libusb:001:002, 0x7ffce4d0c210, (nil))
>
> [plustek] Device configuration:
>
> [plustek] device name  :   >libusb:001:002<
>
> [plustek] USB-ID                :   >0x94a9-0x220E<
>
> [plustek] mod ovr              :  0
>
> [plustek] warmup              : -1s
>
> [plustek] lampOff              : 300
>
> [plustek] lampOffOnEnd  :  Yes
>
> [plustek] cacheCalData    : no
>
> [plustek] altCalibrate        : no
>
> [plustek] skipCalibr.           : no
>
> [plustek] skipFine               : no
>
> [plustek] skipFineWhite    : no
>
> [plustek] skipDarkStrip      : no
>
> [plustek] incDarkTarget    : yes
>
> [plustek] invertNegs.         : no
>
> [plustek] dis.Speedup        : no
>
> [plustek] pos_x                   : 0
>
> [plustek] pos_y                   : 0
>
> [plustek] pos_shading_y  : -1
>
> [plustek] neg_x                  : 0
>
> [plustek] neg_y                  : 0
>
> [plustek] neg_shading_y  : -1
>
> [plustek] tpa _x                  :  0
>
> [plustek] tpa _y                  :  0
>
> [plustek] tpa _shading_y  : -1
>
> [plustek] red gain               : -1
>
> [plustek] green gain          : -1
>
> [plustek] blue gain             : -1
>
> [plustek] red offset            : -1
>
> [plustek] green offset       : -1
>
> [plustek] blue offset          : -1
>
> [plustek] red lampoff        : -1
>
> [plustek] green lampoff    : -1
>
> [plustek] blue lampoff       : -1
>
> [plustek] red Gamma        : 1.00
>
> [plustek] green Gamma    : 1.00
>
> [plustek] blue Gamma       : 1.00
>
> [plustek] gray Gamma      : 1.00
>
> [plustek] ------------------------------------
>
> [plustek] usbdev_open(libusb:001:002,0x04A9-0x220E) - 0x559a1b2353a0
>
> [plustek] Vendor ID=0x4a9, Product ID=0x220E
>
> [plustek] usbio_DetectLM983x
>
> [plustek] usbio_DetectLM983x: found LM9832/3
>
> [plustek]   * Setting device to idle state!
>
> [plustek] Detected vendor and product ID:  0x04A9-0x220E
>
> [plustek] Device description for >0x04A9-0x220E< found.
>
> [plustek] usb_initDev(42,0x04a9, -1)
>
> [plustek] Device WAF   : 0x00004002
>
> [plustek] transferrate  : 1000000 Bytes/s
>
> [plustek] Device Flags  : 0x00000000
>
> [plustek] Vendor adjusted to: >Canon<
>
> [plustek] LAMP-STATUS: 0x00000000 (off)
>
> [plustek] RESETTING REGISTERS(-1) - 0x80
>
> [plustek] SETTING THE MISC I/Os
>
> [plustek] MISC I/O after RESET: 0x86, 0x16, 0x91
>
> [plustek] Scanner not ready!!!
>
> [plustek] Calibration file-names set to:
>
> [plustek] > /mnt/data/home/tnspearman/.sane/Canon_CanoScan_N1240U_LiDE30-coarse.cal<
>
> [plustek] > /mnt/data/home/tnspearman/.sane/Canon_CanoScan_N1240U_LiDE30-fine.cal<
>
> [plustek] usb_SetScanParamters()
>
> [plustek] Scanner not ready!!!
>
> [plustek] UIO Error
>
> [plustek] UIO Error
>
> [plustek] usbdev_GetCaps()
>
> [plustek] Scanner Information:
>
> [plustek] Vendor  :  Canon
>
> [plustek] Model   : CanoScan N1240U/LIDE30
>
> [plustek] Flags     :  0x00000000
>
> [plustek] drvclose()
>
> [plustek] usbDev_stopScan
>
> [plustek] usbDev_ScanEnd(), start =0, park=0
>
> [plustek] UIO Error
>
> [plustek] usbDev_close()
>
> [plustek] attach: model = > CanoScan N1240U/LIDE30<
>
> [plustek] sane_get_devices (0x7ffce4d0e390, 0)
>
> [plustek] sane_exit
>
> [plustek] Shutdown called (dev->fd=-1, libusb:001:002)
>
> [plustek] Waiting for scanner-ready...
>
> [plustek] Scanner not ready!!!
>
> [plustek] Switching lamp off...
>
> [plustek] LAMP-STATUS:  0x00000000 (off)
>
> [plustek] LAMP-STATUS:  0x00000000 (off)
>
> [plustek] Lamp-Timer stopped
>
> device 'plustek:libusb:001:002:' is a Canon CanoScan N1240U/LiDE30 flatbed scanner
>
>
>
> then running scanimage -L a second time gives me:
>
>
>
> [sanei_debug] Setting debug level of plustek to 128.
>
> [plustek] Plustek backend V0.52-12, part of sane-backends 1.0.24
>
> [plustek] Retrieving all supported and conntected devices
>
> [plustek] Checking for 0x07b3-0x0010
>
> [plustek] Checking for 0x07b3-0x0011
>
> [plustek] Checking for 0x07b3-0x0013
>
> [plustek] Checking for 0x07b3-0x0017
>
> [plustek] Checking for 0x07b3-0x0015
>
> [plustek] Checking for 0x07b3-0x0015
>
> [plustek] Checking for 0x07b3-0x0017
>
> [plustek] Checking for 0x07b3-0x0013
>
> [plustek] Checking for 0x07b3-0x0011
>
> [plustek] Checking for 0x07b3-0x0007
>
> [plustek] Checking for 0x07b3-0x000f
>
> [plustek] Checking for 0x07b3-0x000f
>
> [plustek] Checking for 0x07b3-0x0005
>
> [plustek] Checking for 0x07b3-0x0014
>
> [plustek] Checking for 0x07b3-0x0012
>
> [plustek] Checking for 0x0400-0x1000
>
> [plustek] Checking for 0x0400-0x1000
>
> [plustek] Checking for 0x0400-0x1001
>
> [plustek] Checking for 0x0400-0x1001
>
> [plustek] Checking for 0x0458-0x2007
>
> [plustek] Checking for 0x0458-0x2008
>
> [plustek] Checking for 0x0458-0x2009
>
> [plustek] Checking for 0x0458-0x2013
>
> [plustek] Checking for 0x0458-0x2015
>
> [plustek] Checking for 0x0458-0x2016
>
> [plustek] Checking for 0x03f0-0x0505
>
> [plustek] Checking for 0x03f0-0x0605
>
> [plustek] Checking for 0x04b8-0x010f
>
> [plustek] Checking for 0x04b8-0x011d
>
> [plustek] Checking for 0x1606-0x0050
>
> [plustek] Checking for 0x1606-0x0060
>
> [plustek] Checking for 0x1606-0x0160
>
> [plustek] Checking for 0x049f-0x001a
>
> [plustek] Checking for 0x04a9-0x2206
>
> [plustek] Checking for 0x04a9-0x2207
>
> [plustek] Checking for 0x04a9-0x2208
>
> [plustek] Checking for 0x04a9-0x220d
>
> [plustek] Checking for 0x04a9-0x220e
>
> [plustek] Checking for 0x04a9-0x2220
>
> [plustek] Checking for 0x0a82-0x4600
>
> [plustek] Checking for 0x0a82-0x6620
>
> [plustek] Checking for 0x04a7-0x0427
>
> [plustek] Checking for 0x0a53-0x1000
>
> [plustek] Checking for 0x0a53-0x2000
>
> [plustek] Available and supported devices:
>
> [plustek] Device: >libusb:001:002< - 0x04a9x0x220e
>
> [plustek] ># Plustek-SANE Backend configuration file<
>
> [plustek] ># For use with LM9831/2/3 based USB scanners<
>
> [plustek] >#<
>
> [plustek] ><
>
> [plustek] ># each device needs at least two lines:<
>
> [plustek] ># - [usb] vendor-ID and product-ID<
>
> [plustek] ># - device devicename<
>
> [plustek] ># i.e. for Plustek (0x07B3) UT12/16/24  (0x0017)<
>
> [plustek] ># [usb] 0x07B3 0x0017<
>
> [plustek] ># device /dev/usbscanner<
>
> [plustek] ># or<
>
> [plustek] ># device libusb:bbb:ddd<
>
> [plustek] ># where bbb is the bus number and ddd is the device number<
>
> [plustek] ># make sure that your user has access to /proc/bus/usb/bbb/ddd<
>
> [plustek] >#<
>
> [plustek] ># additionally you can specify some options<
>
> [plustek] ># warmup, IOffOnEnd, lampOff<
>
> [plustek] ># for autodetection use<
>
> [plustek] ># usb<
>
> [plustek] ># device /dev/usbscanner<
>
> [plustek] ># or simply<
>
> [plustek] ># [usb]<
>
> [plustek] >#<
>
> [plustek] ># or if you want a specific device but have no idea about the<
>
> [plustek] ># device node or use libusb, simply set vendor- and product-ID<
>
> [plustek] ># [usb] 0x07B3 0x0017<
>
> [plustek] ># device auto<
>
> [plustek] >#<
>
> [plustek] ># NOTE: autodetection is safe, as it uses the info it got<
>
> [plustek] >#              from the USB subsystem. If you're not using the<
>
> [plustek] >#              you MUST have attached that device<
>
> [plustek] >#               at your USB-port that you have specified...<
>
> [plustek] >#<
>
> [plustek] ># [usb]<
>
> [plustek]  next device uses autodetection
>
> [plustek]  ... next device
>
> [plustek]  >[usb] 0x04a9 0x220e<
>
> [plustek]  next device is a USB device (0x04A9-0x220E)
>
> [plustek]  ... next device
>
> [plustek]  >device libusb:001:002<
>
> [plustek]  Decoding device name >libusb:001:002<
>
> [plustek] >#device auto<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># options for the previous USB entry<
>
> [plustek] >#<
>
> [plustek] ># switch lamp off after xxx secs, 0 disables this feature<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option lampOff 300<
>
> [plustek]  Decoding option >lampOff<
>
> [plustek] ><
>
> [plustek] >#warmup period in seconds, 0 means no warmup, -1 means auto-warmup<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] > option warmup -1<
>
> [plustek]  Decoding option >warmup<
>
> [plustek] ><
>
> [plustek] ># 0 means leave lamp-status untouched, not 0 means switch off<
>
> [plustek] ># on sane_close<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] ># option lOffOnEnd 1<
>
> [plustek]  Decoding option >lOffOnEnd 1<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># options to tweak the image start-position<
>
> [plustek] ># (WARNING: there's no internal range check!!!)<
>
> [plustek] >#<
>
> [plustek] ># for the normal scan area<
>
> [plustek] >#<
>
> [plustek] >option posOffX 0<
>
> [plustek]  Decoding option >posOffX<
>
> [plustek] >option posOffY 0<
>
> [plustek]  Decoding option >posOffY<
>
> [plustek] ><
>
> [plustek] ># for transparencies<
>
> [plustek] >option tpaOffX 0<
>
> [plustek]  Decoding option >tpaOffX<
>
> [plustek] >option tpaOffY 0<
>
> [plustek]  Decoding option >tpaOffY<
>
> [plustek] ><
>
> [plustek] ># for negatives<
>
> [plustek] >option negOffX 0<
>
> [plustek]  Decoding option >negOffX<
>
> [plustek] >option negOffY 0<
>
> [plustek]  Decoding option >negOffY<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for setting the calibration strip position<
>
> [plustek] ># (WARNING: there's no internal range check!!!)<
>
> [plustek] ># -1 means use built in<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option PosShadingY -1)<
>
> [plustek]  Decoding option >PosShadingY<
>
> [plustek] >option tpaShadingY -1)<
>
> [plustek]  Decoding option >tpaShadingY<
>
> [plustek] >option NegShadingY -1)<
>
> [plustek]  Decoding option >NegShadingY<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to invert the negatives, 0 disables the feature<
>
> [plustek] >#<
>
> [plustek] >option invertNegatives 0<
>
> [plustek]  Decoding option >invertNegatives<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to disable the internal sensor speedup function,<
>
> [plustek] ># 1 disables the feature<
>
> [plustek] >#<
>
> [plustek] >option disableSpeedup 0<
>
> [plustek]  Decoding option >disableSpeedup<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to save/restore coarse calibration data<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option cacheCalData 0<
>
> [plustek]  Decoding option >cacheCalData<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># use alternate calibration routines<
>
> [plustek] >#<
>
> [plustek] >option altCalibration 0<
>
> [plustek]  Decoding option >altCalibration<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for skipping whole calibration step<
>
> [plustek] >#<
>
> [plustek] >option skipCalibration 0<
>
> [plustek]  Decoding option >skipCalibration<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for skipping entire fine calibration step<
>
> [plustek] ># course calibration is done<
>
> [plustek] >#<
>
> [plustek] >option skipFine 0<
>
> [plustek]  Decoding option >skipFine<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># discard the result of the fine white calibration<
>
> [plustek] >#<
>
> [plustek] >option skipFineWhite 0<
>
> [plustek]  Decoding option >skipFineWhite<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># some scanners have a dark calibration strip, in<
>
> [plustek] ># general this one should be used for calibration.<
>
> [plustek] ># As this could cause some trouble, this option<
>
> [plustek] ># overrides that and the dark calibration will be<
>
> [plustek] ># done by switching the lamp off<
>
> [plustek] >#<
>
> [plustek] >option skipDarkStrip 0<
>
> [plustek]  Decoding option >skipDarkStrip<
>
> [plustek] ><
>
> [plustek] ># for replacing the gain values found during coarse <
>
> [plustek] ># calibration<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option red_Gain    -1<
>
> [plustek]  Decoding option >red_Gain<
>
> [plustek] >option green_Gain    -1<
>
> [plustek]  Decoding option >green_Gain<
>
> [plustek] >option blue_Gain    -1<
>
> [plustek]  Decoding option >blue_Gain<
>
> [plustek] ><
>
> [plustek] ># for replacing the offset values found during coarse<
>
> [plustek] ># calibration<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option red_offset   -1<
>
> [plustek]  Decoding option >red_offset<
>
> [plustek] >option green_offset   -1<
>
> [plustek]  Decoding option >green_offset<
>
> [plustek] >option blue_offset   -1<
>
> [plustek]  Decoding option >blue_offset<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for replacing the default lampoff settings, this<
>
> [plustek] ># works only for CIS devices like CanoScan LiDE20<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option red_lampoff   -1<
>
> [plustek]  Decoding option >red_lampoff<
>
> [plustek] >option green_lampoff   -1<
>
> [plustek]  Decoding option >green_lampoff<
>
> [plustek] >option blue_lampoff   -1<
>
> [plustek]  Decoding option >blue_lampoff<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># for adjusting the default gamma values<
>
> [plustek] ># (can also be set via frontend)<
>
> [plustek] >option red_gamma     -1<
>
> [plustek]  Decoding option >red_ gamma<
>
> [plustek] >option green_ gamma   -1<
>
> [plustek]  Decoding option >green_ gamma<
>
> [plustek] >option blue_ gamma   -1<
>
> [plustek]  Decoding option >blue_ gamma<
>
> [plustek] >option gray_ gamma   -1<
>
> [plustek]  Decoding option >gray_ gamma<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to enable TPA (EPSON or UMAX, if autodetection fails)<
>
> [plustek] ># 0 means default behavior as specified in the internal tables<
>
> [plustek] ># 1 means enable (needed for UMAX 3450)<
>
> [plustek] >option enableTPA   0<
>
> [plustek]  Decoding option >enableTPA<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># model override functionality, currently only available for<
>
> [plustek] ># Mustek devices using NCSs' vendor ID:  0x0400 and<
>
> [plustek] ># also their product ID: 0x1000 (LM9831) 0x1001 (LM9832)<
>
> [plustek] >#<
>
> [plustek] ># mov/PID    |       0x1000       |     0x1001<
>
> [plustek] ># ------------------------------------------------------------<
>
> [plustek] ># 0 default   | BearPaw1200  |     BearPaw  2400<
>
> [plustek] ># 1                 |         Ignored     |     BearPaw  1200<
>
> [plustek] >#<
>
> [plustek] >option mov   0<
>
> [plustek]  Decoding option >mov<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># and of course the device-name<
>
> [plustek] >#<
>
> [plustek] ># device /dev/usbscaner<
>
> [plustek] ># device auto<
>
> [plustek] ><
>
> [plustek] >#<
>
> [plustek] ># to define a new device, start with a new section:<
>
> [plustek] ># [usb]<
>
> [plustek] >#<
>
> [plustek] attach (libusb:001:002, 0x7ffce4d0c210, (nil))
>
> [plustek] Device configuration:
>
> [plustek] device name  :   >libusb:001:002<
>
> [plustek] USB-ID                :   >0x94a9-0x220E<
>
> [plustek] mod ovr              :  0
>
> [plustek] warmup              : -1s
>
> [plustek] lampOff              : 300
>
> [plustek] lampOffOnEnd  :  Yes
>
> [plustek] cacheCalData    : no
>
> [plustek] altCalibrate        : no
>
> [plustek] skipCalibr.           : no
>
> [plustek] skipFine               : no
>
> [plustek] skipFineWhite    : no
>
> [plustek] skipDarkStrip      : no
>
> [plustek] incDarkTarget    : yes
>
> [plustek] invertNegs.         : no
>
> [plustek] dis.Speedup        : no
>
> [plustek] pos_x                   : 0
>
> [plustek] pos_y                   : 0
>
> [plustek] pos_shading_y  : -1
>
> [plustek] neg_x                  : 0
>
> [plustek] neg_y                  : 0
>
> [plustek] neg_shading_y  : -1
>
> [plustek] tpa _x                  :  0
>
> [plustek] tpa _y                  :  0
>
> [plustek] tpa _shading_y  : -1
>
> [plustek] red gain               : -1
>
> [plustek] green gain          : -1
>
> [plustek] blue gain             : -1
>
> [plustek] red offset            : -1
>
> [plustek] green offset       : -1
>
> [plustek] blue offset          : -1
>
> [plustek] red lampoff        : -1
>
> [plustek] green lampoff    : -1
>
> [plustek] blue lampoff       : -1
>
> [plustek] red Gamma        : 1.00
>
> [plustek] green Gamma    : 1.00
>
> [plustek] blue Gamma       : 1.00
>
> [plustek] gray Gamma       : 1.00
>
> [plustek] ------------------------------------
>
> [plustek] usbdev_open(libusb:001:002,0x04A9-0x220E) - 0x559a1b2353a0
>
> [plustek] Vendor ID=0x4a9, Product ID=0x220E
>
> [plustek] usbio_DetectLM983x
>
> [plustek]   * could not read version register!
>
> [plustek]   open failed: -1
>
> [plustek] sane_get_devices (0x7ffce4d0e390, 0)
>
> [plustek] sane_exit
>
>
>
> No scanners were identified. If you were expecting something different,
>
> check that the scanner is plugged in. turned on, and detected by the
>
> sane-find-scanner tool (if appropriate). Please read the documentation
>
> which came with this software (README, FAQ, manpages).
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> sane-devel mailing list: sane-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org



-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"



More information about the sane-devel mailing list