plustek@linuxhacker.org
Hi,
I'm having a problem getting my scanner to work in the latest versions of
both Mandrake (9.1) and SUSE (8.2).
Below is output from cat /proc/bus/usb/devices and scanimage -L
The scanner seems to be recognised, but when I run xsane it gives an error
that no devices are available.
I thought it might be permissions, but have set /dev/usbsbanner and /dev/usb/scanner0
to full permissions for all to no avail.
I'm new at this so your patience is appreciated.
Many thanks for any help.
Regards
Colyn Dee
1. Out from cat /proc/bus/usb/devices:
linux1:~ # cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 11/900 us ( 1%), #Int= 1, #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
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=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0458 ProdID=2013 Rev= 1.00
S: Manufacturer=Genius
S: Product=ColorPage-HR7
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=usbscanner
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
linux1:~ #
2. output from scanimage -L
linux1:~ # export SANE DEBUG PLUSTEK=12
linux1:~ # export SANE DEBUG DLL=12
linux1:~ # sane-find-scanner
# No SCSI scanners found. If you expected something different, make sure
that
# you have loaded a SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
found USB scanner (vendor=0x0458, product=0x2013) at /dev/usb/scanner0
found USB scanner (vendor=0x0458, product=0x2013) at /dev/usbscanner
found USB scanner (vendor=0x0458 [Genius], product=0x2013 [ColorPage-HR7])
at li
busb: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.
linux1:~ # scanimage -L
[sanei debug] Setting debug level of dll to 12.
[dll] sane init: SANE dll backend version 1.0.8 from sane-backends 1.0.11
[dll] add backend: adding backend `plustek'
[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.
[plustek] Plustek backend V0.45-4, part of sane-backends 1.0.11
[plustek] ># Plustek-SANE Backend configuration file<
[plustek] ># For use with Plustek parallel-port scanners and<
[plustek] ># LM9831/2/3 based USB scanners<
[plustek] >#<
[plustek] ># For parport devices use the parport section<
[plustek] >#<
[plustek] >[parport]<
[plustek] next device is a PARPORT device
[plustek] >device /dev/pt drv<
[plustek] Decoding device name >/dev/pt drv<
[plustek] ><
[plustek] >#<
[plustek] ># leave the default values as specified in /etc/modules.conf<
[plustek] >#<
[plustek] >option warmup -1<
[plustek] Decoding option >warmup<
[plustek] >option lOffOnEnd -1<
[plustek] Decoding option >lOffOnEnd<
[plustek] >option lampOff -1<
[plustek] Decoding option >lampOff<
[plustek] ><
[plustek] ><
[plustek] >#<
[plustek] ># The USB section:<
[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] >#<
[plustek] ># additionally you can specify some options<
[plustek] ># warmup, lOffOnEnd, lampOff<
[plustek] >#<
[plustek] ># For autodetection use<
[plustek] ># [usb]<
[plustek] ># device /dev/usbscanner<
[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]<
[plustek] attach (/dev/pt drv, 0xbfffcd50, (nil))
[plustek] Device configuration:
[plustek] device name : >/dev/pt drv<
[plustek] porttype : 0
[plustek] USB-ID : ><
[plustek] warmup : -1s
[plustek] lampOff : -1
[plustek] lampOffOnEnd : -1
[plustek] skipCalibr. : 0
[plustek] skipFine : 0
[plustek] skipFineWhite: 0
[plustek] invertNegs. : 0
[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 Gamma : 1.00
[plustek] green Gamma : 1.00
[plustek] blue Gamma : 1.00
[plustek] gray Gamma : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] open: can't open /dev/pt drv as a device
[plustek] open failed: -1
[plustek] next device is a USB device (autodetection)
[plustek] next device is an USB device
[plustek] ><
[plustek] >#<
[plustek] ># options for the previous USB entry<
[plustek] >#<
[plustek] ># switch lamp off after xxx secs, 0 disables the feature<
[plustek] >option lampOff 0<
[plustek] Decoding option >lampOff<
[plustek] ><
[plustek] ># warmup period in seconds, 0 means no warmup<
[plustek] >option warmup 30<
[plustek] Decoding option >warmup<
[plustek] ><
[plustek] ># 0 means leave lamp-status untouched, not 0 means switch off<
[plustek] ># on sane close<
[plustek] >option lOffOnEnd 0<
[plustek] Decoding option >lOffOnEnd<
[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 adjusting the default gamma values<
[plustek] >#<
[plustek] >option redGamma 1.0<
[plustek] Decoding option >redGamma<
[plustek] >option greenGamma 1.0<
[plustek] Decoding option >greenGamma<
[plustek] >option blueGamma 1.0<
[plustek] Decoding option >blueGamma<
[plustek] >option grayGamma 1.0<
[plustek] Decoding option >grayGamma<
[plustek] ><
[plustek] >#<
[plustek] ># and of course the device-name<
[plustek] >#<
[plustek] >#device /dev/usbscanner<
[plustek] >device auto<
[plustek] Decoding device name >auto<
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb] or [parport]<
[plustek] >#<
[plustek] attach (auto, 0xbfffcd50, (nil))
[plustek] Device configuration:
[plustek] device name : >auto<
[plustek] porttype : 1
[plustek] USB-ID : ><
[plustek] warmup : 30s
[plustek] lampOff : 0
[plustek] lampOffOnEnd : 0
[plustek] skipCalibr. : 0
[plustek] skipFine : 0
[plustek] skipFineWhite: 0
[plustek] invertNegs. : 0
[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 Gamma : 1.00
[plustek] green Gamma : 1.00
[plustek] blue Gamma : 1.00
[plustek] gray Gamma : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] usbDev open(auto,)
[plustek] Autodetection...
[plustek] Found device at >/dev/usbscanner<
[plustek] Device >/dev/usb/scanner0< ignoring
[plustek] Device >libusb:001:002< ignoring
[plustek] Vendor ID=0x0458, Product ID=0x2013
[plustek] usbio DetectLM983x
[plustek] usbio DetectLM983x: found LM9832/3
[plustek] Trying to get the pcbID of a Plustek device...
[plustek] pcbID=0x04
[plustek] Checking for device >0x0458-0x2013-4<
[plustek] No matching device found >0x0458-0x2013<
[plustek] open failed: -1
[dll] init: backend `plustek' is version 1.0.0
[plustek] sane get devices (0xbfffee58, 0)
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).
[dll] sane exit: exiting
[dll] sane exit: calling backend `plustek's exit function
[plustek] sane exit
[dll] sane exit: finished
linux1:~ #
"The information contained in this email is intended solely for the
use of the individual or entity to whom it is addressed and others
authorised to receive it.
Cirrus Techvue is not liable for the proper, complete transmission
of the information contained in this email, or any delay in its
receipt, and does not warrant that the mail is virus-free."