[sane-devel] SANE will not recognize scanner device

Thuis abonnee at whatmatterstome.org
Wed Oct 26 20:01:15 UTC 2005


Hello there,

I have an Canoscan LIDE30, support in backend x.x.16. I use Fedora 4 as 
operating system and installed the SANE package from RPM.
SANE will recognize the usb-device as a scanner but won't make a device for 
it. I get a "[plustek] sanei_access_lock failed: 11" please tell me how to 
avoid this and getting the scanner working.

The following output I get from scanimage -T :
----------------------------------------------------------------------------------------------------------------------------------------------------------
[sanei_debug] Setting debug level of dll to 12.
[dll] sane_init: SANE dll backend version 1.0.11 from sane-backends 1.0.16
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `plustek'
[dll] sane_get_devices
[dll] load: searching backend `plustek' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-plustek.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-plustek.so.1'
[dll] init: initializing backend `plustek'
[sanei_debug] Setting debug level of plustek to 12.
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 003 on 005
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found libusb device (0x04a9/0x220e) interface 0  
at libusb:005:003
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 1 devices
[plustek] Plustek backend V0.49-7, part of sane-backends 1.0.16
[plustek] Retrieving all supported and conntected devices
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0010
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0011
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0015
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0013
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0013
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0011
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0010
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0015
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0016
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0007
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x000f
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x000f
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0005
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0012
[sanei_usb] sanei_usb_find_devices: vendor=0x0400, product=0x1000
[sanei_usb] sanei_usb_find_devices: vendor=0x0400, product=0x1001
[sanei_usb] sanei_usb_find_devices: vendor=0x0400, product=0x1001
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2007
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2008
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2009
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2013
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2015
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2016
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0505
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0605
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010f
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011d
[sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0050
[sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0060
[sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0160
[sanei_usb] sanei_usb_find_devices: vendor=0x049f, product=0x001a
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2206
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2207
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2208
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x220d
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x220e
[plustek] Available and supported devices:
[plustek] Device: >libusb:005:003< - 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/usb/scanner0<
[plustek] ># or<
[plustek] ># device libusb:bbb:ddd<
[plustek] ># where bbb is the busnumber and ddd 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, lOffOnEnd, lampOff<
[plustek] >#<
[plustek] ># For autodetection use<
[plustek] ># [usb]<
[plustek] ># device /dev/usb/scanner0<
[plustek] >#<
[plustek] ># or simply<
[plustek] ># [usb]<
[plustek] >#<
[plustek] ># or if you want a specific device but you have no idea about the<
[plustek] ># device node or you 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] >#       autodetection, you MUST have attached that device<
[plustek] >#       at your USB-port, that you have specified...<
[plustek] >#<
[plustek] ><
[plustek] >[usb] 0x04a9 0x220e<
[plustek] next device is a USB device (0x04A9-0x220E)
[plustek] ... next device
[plustek] ><
[plustek] >device libusb:005:003<
[plustek] Decoding device name >libusb:005:003<
[plustek] >#device auto<
[plustek] ><
[plustek] >#[usb]<
[plustek] ><
[plustek] >#<
[plustek] ># options for the previous USB entry<
[plustek] >#<
[plustek] ># switch lamp off after xxx secs, 0 disables the feature<
[plustek] ># (can also be set via frontend)<
[plustek] >#option lampOff 300<
[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] ><
[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] ><
[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] >#option posOffY 0<
[plustek] ><
[plustek] ># for transparencies<
[plustek] >#option tpaOffX 0<
[plustek] >#option tpaOffY 0<
[plustek] ><
[plustek] ># for negatives<
[plustek] >#option negOffX 0<
[plustek] >#option negOffY 0<
[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] >#option tpaShadingY -1<
[plustek] >#option negShadingY -1<
[plustek] ><
[plustek] >#<
[plustek] ># to invert the negatives, 0 disables the feature<
[plustek] >#<
[plustek] >#option invertNegatives 0<
[plustek] ><
[plustek] >#<
[plustek] ># to disable the internal sensor speedup function,<
[plustek] ># 1 disables the feature<
[plustek] >#<
[plustek] >#option disableSpeedup 0<
[plustek] ><
[plustek] >#<
[plustek] ># to save/restore coarse calibration data<
[plustek] ># (can also be set via frontend)<
[plustek] >#option cacheCalData 0<
[plustek] ><
[plustek] >#<
[plustek] ># use alternate calibration routines<
[plustek] >#<
[plustek] >#option altCalibration 0<
[plustek] ><
[plustek] >#<
[plustek] ># for skipping whole calibration step<
[plustek] >#<
[plustek] >#option skipCalibration 0<
[plustek] ><
[plustek] >#<
[plustek] ># for skipping entire fine calibration step<
[plustek] ># coarse calibration is done<
[plustek] >#<
[plustek] >#option skipFine 0<
[plustek] ><
[plustek] >#<
[plustek] ># discard the result of the fine white calibration<
[plustek] >#<
[plustek] >#option skipFineWhite 0<
[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] >#option green_gain -1<
[plustek] >#option blue_gain  -1<
[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] >#option green_offset -1<
[plustek] >#option blue_offset  -1<
[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] >#option green_lampoff -1<
[plustek] >#option blue_lampoff  -1<
[plustek] ><
[plustek] >#<
[plustek] ># for adjusting the default gamma values<
[plustek] ># (can also be set via frontend)<
[plustek] >#option redGamma         1.0<
[plustek] >#option greenGamma       1.0<
[plustek] >#option blueGamma        1.0<
[plustek] >#option grayGamma        1.0<
[plustek] ><
[plustek] >#<
[plustek] ># to enable TPA (EPSON or UMAX, if autodetection fails)<
[plustek] ># 0 means default behaviour as specified in the internal tables<
[plustek] ># 1 means enable (needed for UMAX 3450)<
[plustek] >#option enableTPA 0<
[plustek] ><
[plustek] >#<
[plustek] ># model override functionality, currently only available for<
[plustek] ># Mustek devices, using NSCs' 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] ><
[plustek] >#<
[plustek] ># and of course the device-name<
[plustek] >#<
[plustek] ># device /dev/usb/scanner0<
[plustek] ># device auto<
[plustek] ><
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb]<
[plustek] >#<
[plustek] attach (libusb:005:003, 0xbfac2d98, (nil))
[plustek] Device configuration:
[plustek] device name  : >libusb:005:003<
[plustek] USB-ID       : >0x04A9-0x220E<
[plustek] model ovr.   : 0
[plustek] warmup       : -1s
[plustek] lampOff      : -1
[plustek] lampOffOnEnd : yes
[plustek] cacheCalData : no
[plustek] altCalibrate : no
[plustek] skipCalibr.  : no
[plustek] skipFine     : no
[plustek] skipFineWhite: no
[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:005:003,0x04A9-0x220E) - 0x9075770
[plustek] sanei_access_lock failed: 11
[plustek] open failed: -1
[dll] init: backend `plustek' is version 1.0.0
[plustek] sane_get_devices (0xbfac4ee8, 0)
[dll] sane_get_devices: found 0 devices
scanimage: no SANE devices found
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `plustek's exit function
[plustek] sane_exit
[dll] sane_exit: finished
----------------------------------------------------------------------------------------------------------------------------------------------------------

Please help

Greetings Geert Jan



More information about the sane-devel mailing list