Bonjour chère liste,
Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
jour et toute fraiche net-installée).
J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
leur site web).
J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
J'ai donc fait un petit :
sane-find-scanner
Qui me retourne :
[snip]
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
chip=LM9832/3) at libusb:001:006
[snip]
Tout content de moi, j'ai donc tenté de configurer Sane avec ces
informations :
/etc/sane.d/canon.conf
#canon.conf
/dev/scanner
#/proc/bus/usb/001/005
#/dev/sg0
usb 0x04a9 0x2220
Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
être fait un bêtise ?).
/etc/sane.d/plustek.conf
[usb]
0x04a9 0x2220
libusb:001:005
Toutes les autres autres options de ce plustek.conf sont laissées par
défaut.
Et là commencent les soucis : xsane plante au lancement (ne répond tout
simplement pas).
J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
suivante :
#export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
Puisque le retour de cette commande est particulièrement longue, je vous
la metterai au bout de ce mail ...
Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
sous /dev/scanner.
Un petit
ls /dev/scanner
Me retourne ceci :
ls: /dev/scanner: Aucun fichier ou répertoire de ce type
L'erreur ne proviendrait pas de là ?
Enfin, j'ai même fait un petit : tail -f /var/log/syslog
qui me donne :
Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
uhci_hcd and address 6
Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
choice
quand je déconnecte et reconnecte le scanner ...
Qu'en pensez vous ?
Comment avez vous configuré vos fichiers sane pour votre scanner
préféré ?
canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
pense pas, ça serait quelque part illogique, mais je suis un peu
perdu ...
Merci pour vos conseils !
Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
reste à tourner dans le vide ...) :
# export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
[sanei_debug] Setting debug level of plustek to 255.
[plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
[plustek] Retrieving all supported and conntected devices
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0016
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0017
[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-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-0x6620
[plustek] Available and supported devices:
[plustek] Device: >libusb:001:006< - 0x04a9x0x2220
[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 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/usbscanner<
[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]<
[plustek] next device uses autodetection
[plustek] ... next device
[plustek] >0x04a9 0x2220<
[plustek] ignoring >0x04a9 0x2220<
[plustek] >libusb:001:006<
[plustek] ignoring >libusb:001:006<
[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] 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<
[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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
[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] Decoding option >mov<
[plustek] ><
[plustek] >#<
[plustek] ># and of course the device-name<
[plustek] >#<
[plustek] ># device /dev/usbscanner<
[plustek] >device auto<
[plustek] Decoding device name >auto<
[plustek] ><
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb]<
[plustek] >#<
[plustek] attach (auto, 0xbfc301ac, (nil))
[plustek] Device configuration:
[plustek] device name : >auto<
[plustek] USB-ID : ><
[plustek] model 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] 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(auto,) - 0x8074c18
[plustek] Vendor ID=0x04A9, Product ID=0x2220
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9832/3
[plustek] Detected vendor & product ID: 0x04A9-0x2220
[plustek] Device description for >0x04A9-0x2220< found.
[plustek] usb_initDev(43,0x04a9,-1)
[plustek] Device WAF : 0x00000002
[plustek] Transferrate: 1000000 Bytes/s
[plustek] Device Flags: 0x00000000
[plustek] Vendor adjusted to: >Canon<
[plustek] LAMP-STATUS: 0x00000000
[plustek] RESETTING REGISTERS(-1) - 0x80
[plustek] SETTING THE MISC I/Os
[plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
[plustek] Calibration file-names set to:
[plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
[plustek] >/root/.sane/Canon-LiDE25-fine.cal<
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 8.000
[plustek] * XDPI0, HDPI=8.000
[plustek] * YDPI0, MinDPIYu
[plustek] * DataPixelStart7, LineEnd7
[plustek] * DataPixelStart8, LineEnd8 (ADJ)
[plustek] >> End-Start=0, HDPI=8.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 148 (0x0094)
[plustek] * Scan calculations...
[plustek] * LineLength565, LineRateColor=3
[plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
[plustek] * DPD 0 (0x032a)
[plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
[plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
[plustek] usb_GetMCLKDivider()
[plustek] usb_GetMCLKDiv()
[plustek] - lower mclkdiv limit=2.500000
[plustek] - upper mclkdiv limit2.500000
[plustek] - hdpi = 8.000
[plustek] - pixelbits = 8
[plustek] - pixelsperline = 0
[plustek] - linelen = 10565
[plustek] - transferrate = 1000000
[plustek] - MCLK Divider = 0
[plustek] - Current MCLK Divider = 2
[plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
[plustek] * Setting GreenPWMDutyCycleHigh
[plustek] * Current MCLK Divider = 4.000000
[plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
[plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
[plustek] * PhyBytes = 6
[plustek] * PhyLines = 3217226988
[plustek] * TotalBytes = 2123492744
[plustek] * PL)5, coeffsize!6, scaler=3
[plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
[plustek] * Scansteps=0 (3217226993*1200/150)
[plustek] usb_SetScanParameters() done.
[plustek] usbDev_getCaps()
[plustek] Scanner information:
[plustek] Vendor : Canon
[plustek] Model : LiDE25
[plustek] Flags : 0x00000000
[plustek] drvclose()
[plustek] usbDev_stopScan()
[plustek] usbDev_ScanEnd(), start=0, park=0
[plustek] usbDev_close()
[plustek] attach: model = >LiDE25<
[plustek] sane_get_devices (0xbfc322f8, 0)
Bonjour chère liste,
Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
jour et toute fraiche net-installée).
J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
leur site web).
J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
J'ai donc fait un petit :
sane-find-scanner
Qui me retourne :
[snip]
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
chip=LM9832/3) at libusb:001:006
[snip]
Tout content de moi, j'ai donc tenté de configurer Sane avec ces
informations :
/etc/sane.d/canon.conf
#canon.conf
/dev/scanner
#/proc/bus/usb/001/005
#/dev/sg0
usb 0x04a9 0x2220
Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
être fait un bêtise ?).
/etc/sane.d/plustek.conf
[usb]
0x04a9 0x2220
libusb:001:005
Toutes les autres autres options de ce plustek.conf sont laissées par
défaut.
Et là commencent les soucis : xsane plante au lancement (ne répond tout
simplement pas).
J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
suivante :
#export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
Puisque le retour de cette commande est particulièrement longue, je vous
la metterai au bout de ce mail ...
Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
sous /dev/scanner.
Un petit
ls /dev/scanner
Me retourne ceci :
ls: /dev/scanner: Aucun fichier ou répertoire de ce type
L'erreur ne proviendrait pas de là ?
Enfin, j'ai même fait un petit : tail -f /var/log/syslog
qui me donne :
Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
uhci_hcd and address 6
Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
choice
quand je déconnecte et reconnecte le scanner ...
Qu'en pensez vous ?
Comment avez vous configuré vos fichiers sane pour votre scanner
préféré ?
canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
pense pas, ça serait quelque part illogique, mais je suis un peu
perdu ...
Merci pour vos conseils !
Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
reste à tourner dans le vide ...) :
# export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
[sanei_debug] Setting debug level of plustek to 255.
[plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
[plustek] Retrieving all supported and conntected devices
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0016
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0017
[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-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-0x6620
[plustek] Available and supported devices:
[plustek] Device: >libusb:001:006< - 0x04a9x0x2220
[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 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/usbscanner<
[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]<
[plustek] next device uses autodetection
[plustek] ... next device
[plustek] >0x04a9 0x2220<
[plustek] ignoring >0x04a9 0x2220<
[plustek] >libusb:001:006<
[plustek] ignoring >libusb:001:006<
[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] 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<
[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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
[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] Decoding option >mov<
[plustek] ><
[plustek] >#<
[plustek] ># and of course the device-name<
[plustek] >#<
[plustek] ># device /dev/usbscanner<
[plustek] >device auto<
[plustek] Decoding device name >auto<
[plustek] ><
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb]<
[plustek] >#<
[plustek] attach (auto, 0xbfc301ac, (nil))
[plustek] Device configuration:
[plustek] device name : >auto<
[plustek] USB-ID : ><
[plustek] model 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] 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(auto,) - 0x8074c18
[plustek] Vendor ID=0x04A9, Product ID=0x2220
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9832/3
[plustek] Detected vendor & product ID: 0x04A9-0x2220
[plustek] Device description for >0x04A9-0x2220< found.
[plustek] usb_initDev(43,0x04a9,-1)
[plustek] Device WAF : 0x00000002
[plustek] Transferrate: 1000000 Bytes/s
[plustek] Device Flags: 0x00000000
[plustek] Vendor adjusted to: >Canon<
[plustek] LAMP-STATUS: 0x00000000
[plustek] RESETTING REGISTERS(-1) - 0x80
[plustek] SETTING THE MISC I/Os
[plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
[plustek] Calibration file-names set to:
[plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
[plustek] >/root/.sane/Canon-LiDE25-fine.cal<
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 8.000
[plustek] * XDPI0, HDPI=8.000
[plustek] * YDPI0, MinDPIYu
[plustek] * DataPixelStart7, LineEnd7
[plustek] * DataPixelStart8, LineEnd8 (ADJ)
[plustek] >> End-Start=0, HDPI=8.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 148 (0x0094)
[plustek] * Scan calculations...
[plustek] * LineLength565, LineRateColor=3
[plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
[plustek] * DPD 0 (0x032a)
[plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
[plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
[plustek] usb_GetMCLKDivider()
[plustek] usb_GetMCLKDiv()
[plustek] - lower mclkdiv limit=2.500000
[plustek] - upper mclkdiv limit2.500000
[plustek] - hdpi = 8.000
[plustek] - pixelbits = 8
[plustek] - pixelsperline = 0
[plustek] - linelen = 10565
[plustek] - transferrate = 1000000
[plustek] - MCLK Divider = 0
[plustek] - Current MCLK Divider = 2
[plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
[plustek] * Setting GreenPWMDutyCycleHigh
[plustek] * Current MCLK Divider = 4.000000
[plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
[plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
[plustek] * PhyBytes = 6
[plustek] * PhyLines = 3217226988
[plustek] * TotalBytes = 2123492744
[plustek] * PL)5, coeffsize!6, scaler=3
[plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
[plustek] * Scansteps=0 (3217226993*1200/150)
[plustek] usb_SetScanParameters() done.
[plustek] usbDev_getCaps()
[plustek] Scanner information:
[plustek] Vendor : Canon
[plustek] Model : LiDE25
[plustek] Flags : 0x00000000
[plustek] drvclose()
[plustek] usbDev_stopScan()
[plustek] usbDev_ScanEnd(), start=0, park=0
[plustek] usbDev_close()
[plustek] attach: model = >LiDE25<
[plustek] sane_get_devices (0xbfc322f8, 0)
Bonjour chère liste,
Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
jour et toute fraiche net-installée).
J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
leur site web).
J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
J'ai donc fait un petit :
sane-find-scanner
Qui me retourne :
[snip]
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
chip=LM9832/3) at libusb:001:006
[snip]
Tout content de moi, j'ai donc tenté de configurer Sane avec ces
informations :
/etc/sane.d/canon.conf
#canon.conf
/dev/scanner
#/proc/bus/usb/001/005
#/dev/sg0
usb 0x04a9 0x2220
Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
être fait un bêtise ?).
/etc/sane.d/plustek.conf
[usb]
0x04a9 0x2220
libusb:001:005
Toutes les autres autres options de ce plustek.conf sont laissées par
défaut.
Et là commencent les soucis : xsane plante au lancement (ne répond tout
simplement pas).
J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
suivante :
#export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
Puisque le retour de cette commande est particulièrement longue, je vous
la metterai au bout de ce mail ...
Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
sous /dev/scanner.
Un petit
ls /dev/scanner
Me retourne ceci :
ls: /dev/scanner: Aucun fichier ou répertoire de ce type
L'erreur ne proviendrait pas de là ?
Enfin, j'ai même fait un petit : tail -f /var/log/syslog
qui me donne :
Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
uhci_hcd and address 6
Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
choice
quand je déconnecte et reconnecte le scanner ...
Qu'en pensez vous ?
Comment avez vous configuré vos fichiers sane pour votre scanner
préféré ?
canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
pense pas, ça serait quelque part illogique, mais je suis un peu
perdu ...
Merci pour vos conseils !
Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
reste à tourner dans le vide ...) :
# export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
[sanei_debug] Setting debug level of plustek to 255.
[plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
[plustek] Retrieving all supported and conntected devices
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0013
[plustek] Checking for 0x07b3-0x0011
[plustek] Checking for 0x07b3-0x0010
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0015
[plustek] Checking for 0x07b3-0x0014
[plustek] Checking for 0x07b3-0x0016
[plustek] Checking for 0x07b3-0x0017
[plustek] Checking for 0x07b3-0x0017
[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-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-0x6620
[plustek] Available and supported devices:
[plustek] Device: >libusb:001:006< - 0x04a9x0x2220
[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 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/usbscanner<
[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]<
[plustek] next device uses autodetection
[plustek] ... next device
[plustek] >0x04a9 0x2220<
[plustek] ignoring >0x04a9 0x2220<
[plustek] >libusb:001:006<
[plustek] ignoring >libusb:001:006<
[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] 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<
[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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
[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] Decoding option >mov<
[plustek] ><
[plustek] >#<
[plustek] ># and of course the device-name<
[plustek] >#<
[plustek] ># device /dev/usbscanner<
[plustek] >device auto<
[plustek] Decoding device name >auto<
[plustek] ><
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb]<
[plustek] >#<
[plustek] attach (auto, 0xbfc301ac, (nil))
[plustek] Device configuration:
[plustek] device name : >auto<
[plustek] USB-ID : ><
[plustek] model 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] 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(auto,) - 0x8074c18
[plustek] Vendor ID=0x04A9, Product ID=0x2220
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9832/3
[plustek] Detected vendor & product ID: 0x04A9-0x2220
[plustek] Device description for >0x04A9-0x2220< found.
[plustek] usb_initDev(43,0x04a9,-1)
[plustek] Device WAF : 0x00000002
[plustek] Transferrate: 1000000 Bytes/s
[plustek] Device Flags: 0x00000000
[plustek] Vendor adjusted to: >Canon<
[plustek] LAMP-STATUS: 0x00000000
[plustek] RESETTING REGISTERS(-1) - 0x80
[plustek] SETTING THE MISC I/Os
[plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
[plustek] Calibration file-names set to:
[plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
[plustek] >/root/.sane/Canon-LiDE25-fine.cal<
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 8.000
[plustek] * XDPI0, HDPI=8.000
[plustek] * YDPI0, MinDPIYu
[plustek] * DataPixelStart7, LineEnd7
[plustek] * DataPixelStart8, LineEnd8 (ADJ)
[plustek] >> End-Start=0, HDPI=8.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 148 (0x0094)
[plustek] * Scan calculations...
[plustek] * LineLength565, LineRateColor=3
[plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
[plustek] * DPD 0 (0x032a)
[plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
[plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
[plustek] usb_GetMCLKDivider()
[plustek] usb_GetMCLKDiv()
[plustek] - lower mclkdiv limit=2.500000
[plustek] - upper mclkdiv limit2.500000
[plustek] - hdpi = 8.000
[plustek] - pixelbits = 8
[plustek] - pixelsperline = 0
[plustek] - linelen = 10565
[plustek] - transferrate = 1000000
[plustek] - MCLK Divider = 0
[plustek] - Current MCLK Divider = 2
[plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
[plustek] * Setting GreenPWMDutyCycleHigh
[plustek] * Current MCLK Divider = 4.000000
[plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
[plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
[plustek] * PhyBytes = 6
[plustek] * PhyLines = 3217226988
[plustek] * TotalBytes = 2123492744
[plustek] * PL)5, coeffsize!6, scaler=3
[plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
[plustek] * Scansteps=0 (3217226993*1200/150)
[plustek] usb_SetScanParameters() done.
[plustek] usbDev_getCaps()
[plustek] Scanner information:
[plustek] Vendor : Canon
[plustek] Model : LiDE25
[plustek] Flags : 0x00000000
[plustek] drvclose()
[plustek] usbDev_stopScan()
[plustek] usbDev_ScanEnd(), start=0, park=0
[plustek] usbDev_close()
[plustek] attach: model = >LiDE25<
[plustek] sane_get_devices (0xbfc322f8, 0)
Bonjour Florian,
Après un passage sous Etch, je suis passé sous Lenny. J'ai un scanner
Lide35 :
found USB scanner (vendor=0x04a9 [Canon], product=0x2213 [CanoScan],
chip=GL841) at libusb:005:002
lsusb
Bus 005 Device 002: ID 04a9:2213 Canon, Inc. LiDE 50/LiDE 35
Je ne sais pas si ça peut t'aider mais je n'ai jamais eu de souci pour
le faire reconnaître. Aucune bidouille. Je passe, pour l'acquisition,
par kooka. Il ne gère très bien. Voili voilou.
Bon courage @+
Christophe
Le samedi 03 novembre 2007 à 03:10 +0100, GILLIG Florian a écrit :
> Bonjour chère liste,
>
> Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
> jour et toute fraiche net-installée).
>
> J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
> leur site web).
>
> J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
>
> J'ai donc fait un petit :
> sane-find-scanner
> Qui me retourne :
> [snip]
> found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> chip=LM9832/3) at libusb:001:006
> [snip]
>
>
> Tout content de moi, j'ai donc tenté de configurer Sane avec ces
> informations :
>
> /etc/sane.d/canon.conf
>
> #canon.conf
> /dev/scanner
> #/proc/bus/usb/001/005
> #/dev/sg0
> usb 0x04a9 0x2220
>
> Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> être fait un bêtise ?).
>
> /etc/sane.d/plustek.conf
> [usb]
> 0x04a9 0x2220
> libusb:001:005
>
> Toutes les autres autres options de ce plustek.conf sont laissées par
> défaut.
>
> Et là commencent les soucis : xsane plante au lancement (ne répond tout
> simplement pas).
> J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
>
> Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
> suivante :
> #export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
>
> Puisque le retour de cette commande est particulièrement longue, je vous
> la metterai au bout de ce mail ...
>
> Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
> sous /dev/scanner.
> Un petit
> ls /dev/scanner
> Me retourne ceci :
> ls: /dev/scanner: Aucun fichier ou répertoire de ce type
>
> L'erreur ne proviendrait pas de là ?
>
>
> Enfin, j'ai même fait un petit : tail -f /var/log/syslog
> qui me donne :
> Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
> Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
> uhci_hcd and address 6
> Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
> choice
> quand je déconnecte et reconnecte le scanner ...
>
> Qu'en pensez vous ?
> Comment avez vous configuré vos fichiers sane pour votre scanner
> préféré ?
> canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
> pense pas, ça serait quelque part illogique, mais je suis un peu
> perdu ...
>
> Merci pour vos conseils !
>
> Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
> reste à tourner dans le vide ...) :
>
> # export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> [sanei_debug] Setting debug level of plustek to 255.
> [plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
> [plustek] Retrieving all supported and conntected devices
> [plustek] Checking for 0x07b3-0x0010
> [plustek] Checking for 0x07b3-0x0011
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0015
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0013
> [plustek] Checking for 0x07b3-0x0013
> [plustek] Checking for 0x07b3-0x0011
> [plustek] Checking for 0x07b3-0x0010
> [plustek] Checking for 0x07b3-0x0014
> [plustek] Checking for 0x07b3-0x0015
> [plustek] Checking for 0x07b3-0x0014
> [plustek] Checking for 0x07b3-0x0016
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0017
> [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-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-0x6620
> [plustek] Available and supported devices:
> [plustek] Device: >libusb:001:006< - 0x04a9x0x2220
> [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 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/usbscanner<
> [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]<
> [plustek] next device uses autodetection
> [plustek] ... next device
> [plustek] >0x04a9 0x2220<
> [plustek] ignoring >0x04a9 0x2220<
> [plustek] >libusb:001:006<
> [plustek] ignoring >libusb:001:006<
> [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] 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<
> [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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
> [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] Decoding option >mov<
> [plustek] ><
> [plustek] >#<
> [plustek] ># and of course the device-name<
> [plustek] >#<
> [plustek] ># device /dev/usbscanner<
> [plustek] >device auto<
> [plustek] Decoding device name >auto<
> [plustek] ><
> [plustek] >#<
> [plustek] ># to define a new device, start with a new section:<
> [plustek] ># [usb]<
> [plustek] >#<
> [plustek] attach (auto, 0xbfc301ac, (nil))
> [plustek] Device configuration:
> [plustek] device name : >auto<
> [plustek] USB-ID : ><
> [plustek] model 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] 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(auto,) - 0x8074c18
> [plustek] Vendor ID=0x04A9, Product ID=0x2220
> [plustek] usbio_DetectLM983x
> [plustek] usbio_DetectLM983x: found LM9832/3
> [plustek] Detected vendor & product ID: 0x04A9-0x2220
> [plustek] Device description for >0x04A9-0x2220< found.
> [plustek] usb_initDev(43,0x04a9,-1)
> [plustek] Device WAF : 0x00000002
> [plustek] Transferrate: 1000000 Bytes/s
> [plustek] Device Flags: 0x00000000
> [plustek] Vendor adjusted to: >Canon<
> [plustek] LAMP-STATUS: 0x00000000
> [plustek] RESETTING REGISTERS(-1) - 0x80
> [plustek] SETTING THE MISC I/Os
> [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
> [plustek] Calibration file-names set to:
> [plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
> [plustek] >/root/.sane/Canon-LiDE25-fine.cal<
> [plustek] usb_SetScanParameters()
> [plustek] * HDPI: 8.000
> [plustek] * XDPI0, HDPI=8.000
> [plustek] * YDPI0, MinDPIYu
> [plustek] * DataPixelStart7, LineEnd7
> [plustek] * DataPixelStart8, LineEnd8 (ADJ)
> [plustek] >> End-Start=0, HDPI=8.00
> [plustek] * Full Steps to Skip at Start = 0x0000
> [plustek] * StepSize(Preset) = 148 (0x0094)
> [plustek] * Scan calculations...
> [plustek] * LineLength565, LineRateColor=3
> [plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
> [plustek] * DPD 0 (0x032a)
> [plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
> [plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
> [plustek] usb_GetMCLKDivider()
> [plustek] usb_GetMCLKDiv()
> [plustek] - lower mclkdiv limit=2.500000
> [plustek] - upper mclkdiv limit2.500000
> [plustek] - hdpi = 8.000
> [plustek] - pixelbits = 8
> [plustek] - pixelsperline = 0
> [plustek] - linelen = 10565
> [plustek] - transferrate = 1000000
> [plustek] - MCLK Divider = 0
> [plustek] - Current MCLK Divider = 2
> [plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
> [plustek] * Setting GreenPWMDutyCycleHigh
> [plustek] * Current MCLK Divider = 4.000000
> [plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
> [plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
> [plustek] * PhyBytes = 6
> [plustek] * PhyLines = 3217226988
> [plustek] * TotalBytes = 2123492744
> [plustek] * PL)5, coeffsize!6, scaler=3
> [plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
> [plustek] * Scansteps=0 (3217226993*1200/150)
> [plustek] usb_SetScanParameters() done.
> [plustek] usbDev_getCaps()
> [plustek] Scanner information:
> [plustek] Vendor : Canon
> [plustek] Model : LiDE25
> [plustek] Flags : 0x00000000
> [plustek] drvclose()
> [plustek] usbDev_stopScan()
> [plustek] usbDev_ScanEnd(), start=0, park=0
> [plustek] usbDev_close()
> [plustek] attach: model = >LiDE25<
> [plustek] sane_get_devices (0xbfc322f8, 0)
>
>
>
>
>
>
Bonjour Florian,
Après un passage sous Etch, je suis passé sous Lenny. J'ai un scanner
Lide35 :
found USB scanner (vendor=0x04a9 [Canon], product=0x2213 [CanoScan],
chip=GL841) at libusb:005:002
lsusb
Bus 005 Device 002: ID 04a9:2213 Canon, Inc. LiDE 50/LiDE 35
Je ne sais pas si ça peut t'aider mais je n'ai jamais eu de souci pour
le faire reconnaître. Aucune bidouille. Je passe, pour l'acquisition,
par kooka. Il ne gère très bien. Voili voilou.
Bon courage @+
Christophe
Le samedi 03 novembre 2007 à 03:10 +0100, GILLIG Florian a écrit :
> Bonjour chère liste,
>
> Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
> jour et toute fraiche net-installée).
>
> J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
> leur site web).
>
> J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
>
> J'ai donc fait un petit :
> sane-find-scanner
> Qui me retourne :
> [snip]
> found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> chip=LM9832/3) at libusb:001:006
> [snip]
>
>
> Tout content de moi, j'ai donc tenté de configurer Sane avec ces
> informations :
>
> /etc/sane.d/canon.conf
>
> #canon.conf
> /dev/scanner
> #/proc/bus/usb/001/005
> #/dev/sg0
> usb 0x04a9 0x2220
>
> Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> être fait un bêtise ?).
>
> /etc/sane.d/plustek.conf
> [usb]
> 0x04a9 0x2220
> libusb:001:005
>
> Toutes les autres autres options de ce plustek.conf sont laissées par
> défaut.
>
> Et là commencent les soucis : xsane plante au lancement (ne répond tout
> simplement pas).
> J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
>
> Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
> suivante :
> #export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
>
> Puisque le retour de cette commande est particulièrement longue, je vous
> la metterai au bout de ce mail ...
>
> Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
> sous /dev/scanner.
> Un petit
> ls /dev/scanner
> Me retourne ceci :
> ls: /dev/scanner: Aucun fichier ou répertoire de ce type
>
> L'erreur ne proviendrait pas de là ?
>
>
> Enfin, j'ai même fait un petit : tail -f /var/log/syslog
> qui me donne :
> Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
> Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
> uhci_hcd and address 6
> Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
> choice
> quand je déconnecte et reconnecte le scanner ...
>
> Qu'en pensez vous ?
> Comment avez vous configuré vos fichiers sane pour votre scanner
> préféré ?
> canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
> pense pas, ça serait quelque part illogique, mais je suis un peu
> perdu ...
>
> Merci pour vos conseils !
>
> Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
> reste à tourner dans le vide ...) :
>
> # export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> [sanei_debug] Setting debug level of plustek to 255.
> [plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
> [plustek] Retrieving all supported and conntected devices
> [plustek] Checking for 0x07b3-0x0010
> [plustek] Checking for 0x07b3-0x0011
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0015
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0013
> [plustek] Checking for 0x07b3-0x0013
> [plustek] Checking for 0x07b3-0x0011
> [plustek] Checking for 0x07b3-0x0010
> [plustek] Checking for 0x07b3-0x0014
> [plustek] Checking for 0x07b3-0x0015
> [plustek] Checking for 0x07b3-0x0014
> [plustek] Checking for 0x07b3-0x0016
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0017
> [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-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-0x6620
> [plustek] Available and supported devices:
> [plustek] Device: >libusb:001:006< - 0x04a9x0x2220
> [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 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/usbscanner<
> [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]<
> [plustek] next device uses autodetection
> [plustek] ... next device
> [plustek] >0x04a9 0x2220<
> [plustek] ignoring >0x04a9 0x2220<
> [plustek] >libusb:001:006<
> [plustek] ignoring >libusb:001:006<
> [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] 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<
> [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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
> [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] Decoding option >mov<
> [plustek] ><
> [plustek] >#<
> [plustek] ># and of course the device-name<
> [plustek] >#<
> [plustek] ># device /dev/usbscanner<
> [plustek] >device auto<
> [plustek] Decoding device name >auto<
> [plustek] ><
> [plustek] >#<
> [plustek] ># to define a new device, start with a new section:<
> [plustek] ># [usb]<
> [plustek] >#<
> [plustek] attach (auto, 0xbfc301ac, (nil))
> [plustek] Device configuration:
> [plustek] device name : >auto<
> [plustek] USB-ID : ><
> [plustek] model 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] 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(auto,) - 0x8074c18
> [plustek] Vendor ID=0x04A9, Product ID=0x2220
> [plustek] usbio_DetectLM983x
> [plustek] usbio_DetectLM983x: found LM9832/3
> [plustek] Detected vendor & product ID: 0x04A9-0x2220
> [plustek] Device description for >0x04A9-0x2220< found.
> [plustek] usb_initDev(43,0x04a9,-1)
> [plustek] Device WAF : 0x00000002
> [plustek] Transferrate: 1000000 Bytes/s
> [plustek] Device Flags: 0x00000000
> [plustek] Vendor adjusted to: >Canon<
> [plustek] LAMP-STATUS: 0x00000000
> [plustek] RESETTING REGISTERS(-1) - 0x80
> [plustek] SETTING THE MISC I/Os
> [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
> [plustek] Calibration file-names set to:
> [plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
> [plustek] >/root/.sane/Canon-LiDE25-fine.cal<
> [plustek] usb_SetScanParameters()
> [plustek] * HDPI: 8.000
> [plustek] * XDPI0, HDPI=8.000
> [plustek] * YDPI0, MinDPIYu
> [plustek] * DataPixelStart7, LineEnd7
> [plustek] * DataPixelStart8, LineEnd8 (ADJ)
> [plustek] >> End-Start=0, HDPI=8.00
> [plustek] * Full Steps to Skip at Start = 0x0000
> [plustek] * StepSize(Preset) = 148 (0x0094)
> [plustek] * Scan calculations...
> [plustek] * LineLength565, LineRateColor=3
> [plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
> [plustek] * DPD 0 (0x032a)
> [plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
> [plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
> [plustek] usb_GetMCLKDivider()
> [plustek] usb_GetMCLKDiv()
> [plustek] - lower mclkdiv limit=2.500000
> [plustek] - upper mclkdiv limit2.500000
> [plustek] - hdpi = 8.000
> [plustek] - pixelbits = 8
> [plustek] - pixelsperline = 0
> [plustek] - linelen = 10565
> [plustek] - transferrate = 1000000
> [plustek] - MCLK Divider = 0
> [plustek] - Current MCLK Divider = 2
> [plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
> [plustek] * Setting GreenPWMDutyCycleHigh
> [plustek] * Current MCLK Divider = 4.000000
> [plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
> [plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
> [plustek] * PhyBytes = 6
> [plustek] * PhyLines = 3217226988
> [plustek] * TotalBytes = 2123492744
> [plustek] * PL)5, coeffsize!6, scaler=3
> [plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
> [plustek] * Scansteps=0 (3217226993*1200/150)
> [plustek] usb_SetScanParameters() done.
> [plustek] usbDev_getCaps()
> [plustek] Scanner information:
> [plustek] Vendor : Canon
> [plustek] Model : LiDE25
> [plustek] Flags : 0x00000000
> [plustek] drvclose()
> [plustek] usbDev_stopScan()
> [plustek] usbDev_ScanEnd(), start=0, park=0
> [plustek] usbDev_close()
> [plustek] attach: model = >LiDE25<
> [plustek] sane_get_devices (0xbfc322f8, 0)
>
>
>
>
>
>
Bonjour Florian,
Après un passage sous Etch, je suis passé sous Lenny. J'ai un scanner
Lide35 :
found USB scanner (vendor=0x04a9 [Canon], product=0x2213 [CanoScan],
chip=GL841) at libusb:005:002
lsusb
Bus 005 Device 002: ID 04a9:2213 Canon, Inc. LiDE 50/LiDE 35
Je ne sais pas si ça peut t'aider mais je n'ai jamais eu de souci pour
le faire reconnaître. Aucune bidouille. Je passe, pour l'acquisition,
par kooka. Il ne gère très bien. Voili voilou.
Bon courage @+
Christophe
Le samedi 03 novembre 2007 à 03:10 +0100, GILLIG Florian a écrit :
> Bonjour chère liste,
>
> Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
> jour et toute fraiche net-installée).
>
> J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
> leur site web).
>
> J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
>
> J'ai donc fait un petit :
> sane-find-scanner
> Qui me retourne :
> [snip]
> found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> chip=LM9832/3) at libusb:001:006
> [snip]
>
>
> Tout content de moi, j'ai donc tenté de configurer Sane avec ces
> informations :
>
> /etc/sane.d/canon.conf
>
> #canon.conf
> /dev/scanner
> #/proc/bus/usb/001/005
> #/dev/sg0
> usb 0x04a9 0x2220
>
> Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> être fait un bêtise ?).
>
> /etc/sane.d/plustek.conf
> [usb]
> 0x04a9 0x2220
> libusb:001:005
>
> Toutes les autres autres options de ce plustek.conf sont laissées par
> défaut.
>
> Et là commencent les soucis : xsane plante au lancement (ne répond tout
> simplement pas).
> J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
>
> Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
> suivante :
> #export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
>
> Puisque le retour de cette commande est particulièrement longue, je vous
> la metterai au bout de ce mail ...
>
> Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
> sous /dev/scanner.
> Un petit
> ls /dev/scanner
> Me retourne ceci :
> ls: /dev/scanner: Aucun fichier ou répertoire de ce type
>
> L'erreur ne proviendrait pas de là ?
>
>
> Enfin, j'ai même fait un petit : tail -f /var/log/syslog
> qui me donne :
> Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
> Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
> uhci_hcd and address 6
> Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
> choice
> quand je déconnecte et reconnecte le scanner ...
>
> Qu'en pensez vous ?
> Comment avez vous configuré vos fichiers sane pour votre scanner
> préféré ?
> canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
> pense pas, ça serait quelque part illogique, mais je suis un peu
> perdu ...
>
> Merci pour vos conseils !
>
> Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
> reste à tourner dans le vide ...) :
>
> # export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> [sanei_debug] Setting debug level of plustek to 255.
> [plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
> [plustek] Retrieving all supported and conntected devices
> [plustek] Checking for 0x07b3-0x0010
> [plustek] Checking for 0x07b3-0x0011
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0015
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0013
> [plustek] Checking for 0x07b3-0x0013
> [plustek] Checking for 0x07b3-0x0011
> [plustek] Checking for 0x07b3-0x0010
> [plustek] Checking for 0x07b3-0x0014
> [plustek] Checking for 0x07b3-0x0015
> [plustek] Checking for 0x07b3-0x0014
> [plustek] Checking for 0x07b3-0x0016
> [plustek] Checking for 0x07b3-0x0017
> [plustek] Checking for 0x07b3-0x0017
> [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-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-0x6620
> [plustek] Available and supported devices:
> [plustek] Device: >libusb:001:006< - 0x04a9x0x2220
> [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 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/usbscanner<
> [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]<
> [plustek] next device uses autodetection
> [plustek] ... next device
> [plustek] >0x04a9 0x2220<
> [plustek] ignoring >0x04a9 0x2220<
> [plustek] >libusb:001:006<
> [plustek] ignoring >libusb:001:006<
> [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] 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<
> [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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
> [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] Decoding option >mov<
> [plustek] ><
> [plustek] >#<
> [plustek] ># and of course the device-name<
> [plustek] >#<
> [plustek] ># device /dev/usbscanner<
> [plustek] >device auto<
> [plustek] Decoding device name >auto<
> [plustek] ><
> [plustek] >#<
> [plustek] ># to define a new device, start with a new section:<
> [plustek] ># [usb]<
> [plustek] >#<
> [plustek] attach (auto, 0xbfc301ac, (nil))
> [plustek] Device configuration:
> [plustek] device name : >auto<
> [plustek] USB-ID : ><
> [plustek] model 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] 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(auto,) - 0x8074c18
> [plustek] Vendor ID=0x04A9, Product ID=0x2220
> [plustek] usbio_DetectLM983x
> [plustek] usbio_DetectLM983x: found LM9832/3
> [plustek] Detected vendor & product ID: 0x04A9-0x2220
> [plustek] Device description for >0x04A9-0x2220< found.
> [plustek] usb_initDev(43,0x04a9,-1)
> [plustek] Device WAF : 0x00000002
> [plustek] Transferrate: 1000000 Bytes/s
> [plustek] Device Flags: 0x00000000
> [plustek] Vendor adjusted to: >Canon<
> [plustek] LAMP-STATUS: 0x00000000
> [plustek] RESETTING REGISTERS(-1) - 0x80
> [plustek] SETTING THE MISC I/Os
> [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
> [plustek] Calibration file-names set to:
> [plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
> [plustek] >/root/.sane/Canon-LiDE25-fine.cal<
> [plustek] usb_SetScanParameters()
> [plustek] * HDPI: 8.000
> [plustek] * XDPI0, HDPI=8.000
> [plustek] * YDPI0, MinDPIYu
> [plustek] * DataPixelStart7, LineEnd7
> [plustek] * DataPixelStart8, LineEnd8 (ADJ)
> [plustek] >> End-Start=0, HDPI=8.00
> [plustek] * Full Steps to Skip at Start = 0x0000
> [plustek] * StepSize(Preset) = 148 (0x0094)
> [plustek] * Scan calculations...
> [plustek] * LineLength565, LineRateColor=3
> [plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
> [plustek] * DPD 0 (0x032a)
> [plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
> [plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
> [plustek] usb_GetMCLKDivider()
> [plustek] usb_GetMCLKDiv()
> [plustek] - lower mclkdiv limit=2.500000
> [plustek] - upper mclkdiv limit2.500000
> [plustek] - hdpi = 8.000
> [plustek] - pixelbits = 8
> [plustek] - pixelsperline = 0
> [plustek] - linelen = 10565
> [plustek] - transferrate = 1000000
> [plustek] - MCLK Divider = 0
> [plustek] - Current MCLK Divider = 2
> [plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
> [plustek] * Setting GreenPWMDutyCycleHigh
> [plustek] * Current MCLK Divider = 4.000000
> [plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
> [plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
> [plustek] * PhyBytes = 6
> [plustek] * PhyLines = 3217226988
> [plustek] * TotalBytes = 2123492744
> [plustek] * PL)5, coeffsize!6, scaler=3
> [plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
> [plustek] * Scansteps=0 (3217226993*1200/150)
> [plustek] usb_SetScanParameters() done.
> [plustek] usbDev_getCaps()
> [plustek] Scanner information:
> [plustek] Vendor : Canon
> [plustek] Model : LiDE25
> [plustek] Flags : 0x00000000
> [plustek] drvclose()
> [plustek] usbDev_stopScan()
> [plustek] usbDev_ScanEnd(), start=0, park=0
> [plustek] usbDev_close()
> [plustek] attach: model = >LiDE25<
> [plustek] sane_get_devices (0xbfc322f8, 0)
>
>
>
>
>
>
Salut,
Un petit lsusb me renevoie ceci :
# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 006: ID 04a9:2220 Canon, Inc.
Bus 001 Device 005: ID 041e:3040 Creative Technology, Ltd
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
La creative est ma carte son, qui marche au poil... le Canon,Inc. est
donc mon scanner. Etrange, il n'y a pas marqué LiDE 25 à coté ...
Tu n'as donc pas du tout touché aux fichiers de configuration ?
Hé bhé, je suis vraiment maudis ... :)
- Florian
Le samedi 03 novembre 2007 à 12:09 +0100, Christophe Gallaire a écrit :
> Bonjour Florian,
>
> Après un passage sous Etch, je suis passé sous Lenny. J'ai un scanner
> Lide35 :
>
> found USB scanner (vendor=0x04a9 [Canon], product=0x2213 [CanoScan],
> chip=GL841) at libusb:005:002
>
> lsusb
> Bus 005 Device 002: ID 04a9:2213 Canon, Inc. LiDE 50/LiDE 35
>
> Je ne sais pas si ça peut t'aider mais je n'ai jamais eu de souci pour
> le faire reconnaître. Aucune bidouille. Je passe, pour l'acquisition,
> par kooka. Il ne gère très bien. Voili voilou.
>
> Bon courage @+
>
> Christophe
>
>
> Le samedi 03 novembre 2007 à 03:10 +0100, GILLIG Florian a écrit :
> > Bonjour chère liste,
> >
> > Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
> > jour et toute fraiche net-installée).
> >
> > J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
> > leur site web).
> >
> > J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
> >
> > J'ai donc fait un petit :
> > sane-find-scanner
> > Qui me retourne :
> > [snip]
> > found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> > chip=LM9832/3) at libusb:001:006
> > [snip]
> >
> >
> > Tout content de moi, j'ai donc tenté de configurer Sane avec ces
> > informations :
> >
> > /etc/sane.d/canon.conf
> >
> > #canon.conf
> > /dev/scanner
> > #/proc/bus/usb/001/005
> > #/dev/sg0
> > usb 0x04a9 0x2220
> >
> > Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> > être fait un bêtise ?).
> >
> > /etc/sane.d/plustek.conf
> > [usb]
> > 0x04a9 0x2220
> > libusb:001:005
> >
> > Toutes les autres autres options de ce plustek.conf sont laissées par
> > défaut.
> >
> > Et là commencent les soucis : xsane plante au lancement (ne répond tout
> > simplement pas).
> > J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
> >
> > Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
> > suivante :
> > #export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> >
> > Puisque le retour de cette commande est particulièrement longue, je vous
> > la metterai au bout de ce mail ...
> >
> > Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
> > sous /dev/scanner.
> > Un petit
> > ls /dev/scanner
> > Me retourne ceci :
> > ls: /dev/scanner: Aucun fichier ou répertoire de ce type
> >
> > L'erreur ne proviendrait pas de là ?
> >
> >
> > Enfin, j'ai même fait un petit : tail -f /var/log/syslog
> > qui me donne :
> > Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
> > Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
> > uhci_hcd and address 6
> > Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
> > choice
> > quand je déconnecte et reconnecte le scanner ...
> >
> > Qu'en pensez vous ?
> > Comment avez vous configuré vos fichiers sane pour votre scanner
> > préféré ?
> > canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
> > pense pas, ça serait quelque part illogique, mais je suis un peu
> > perdu ...
> >
> > Merci pour vos conseils !
> >
> > Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
> > reste à tourner dans le vide ...) :
> >
> > # export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> > [sanei_debug] Setting debug level of plustek to 255.
> > [plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
> > [plustek] Retrieving all supported and conntected devices
> > [plustek] Checking for 0x07b3-0x0010
> > [plustek] Checking for 0x07b3-0x0011
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0015
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0013
> > [plustek] Checking for 0x07b3-0x0013
> > [plustek] Checking for 0x07b3-0x0011
> > [plustek] Checking for 0x07b3-0x0010
> > [plustek] Checking for 0x07b3-0x0014
> > [plustek] Checking for 0x07b3-0x0015
> > [plustek] Checking for 0x07b3-0x0014
> > [plustek] Checking for 0x07b3-0x0016
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0017
> > [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-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-0x6620
> > [plustek] Available and supported devices:
> > [plustek] Device: >libusb:001:006< - 0x04a9x0x2220
> > [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 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/usbscanner<
> > [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]<
> > [plustek] next device uses autodetection
> > [plustek] ... next device
> > [plustek] >0x04a9 0x2220<
> > [plustek] ignoring >0x04a9 0x2220<
> > [plustek] >libusb:001:006<
> > [plustek] ignoring >libusb:001:006<
> > [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] 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<
> > [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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
> > [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] Decoding option >mov<
> > [plustek] ><
> > [plustek] >#<
> > [plustek] ># and of course the device-name<
> > [plustek] >#<
> > [plustek] ># device /dev/usbscanner<
> > [plustek] >device auto<
> > [plustek] Decoding device name >auto<
> > [plustek] ><
> > [plustek] >#<
> > [plustek] ># to define a new device, start with a new section:<
> > [plustek] ># [usb]<
> > [plustek] >#<
> > [plustek] attach (auto, 0xbfc301ac, (nil))
> > [plustek] Device configuration:
> > [plustek] device name : >auto<
> > [plustek] USB-ID : ><
> > [plustek] model 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] 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(auto,) - 0x8074c18
> > [plustek] Vendor ID=0x04A9, Product ID=0x2220
> > [plustek] usbio_DetectLM983x
> > [plustek] usbio_DetectLM983x: found LM9832/3
> > [plustek] Detected vendor & product ID: 0x04A9-0x2220
> > [plustek] Device description for >0x04A9-0x2220< found.
> > [plustek] usb_initDev(43,0x04a9,-1)
> > [plustek] Device WAF : 0x00000002
> > [plustek] Transferrate: 1000000 Bytes/s
> > [plustek] Device Flags: 0x00000000
> > [plustek] Vendor adjusted to: >Canon<
> > [plustek] LAMP-STATUS: 0x00000000
> > [plustek] RESETTING REGISTERS(-1) - 0x80
> > [plustek] SETTING THE MISC I/Os
> > [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
> > [plustek] Calibration file-names set to:
> > [plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
> > [plustek] >/root/.sane/Canon-LiDE25-fine.cal<
> > [plustek] usb_SetScanParameters()
> > [plustek] * HDPI: 8.000
> > [plustek] * XDPI0, HDPI=8.000
> > [plustek] * YDPI0, MinDPIYu
> > [plustek] * DataPixelStart7, LineEnd7
> > [plustek] * DataPixelStart8, LineEnd8 (ADJ)
> > [plustek] >> End-Start=0, HDPI=8.00
> > [plustek] * Full Steps to Skip at Start = 0x0000
> > [plustek] * StepSize(Preset) = 148 (0x0094)
> > [plustek] * Scan calculations...
> > [plustek] * LineLength565, LineRateColor=3
> > [plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
> > [plustek] * DPD 0 (0x032a)
> > [plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
> > [plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
> > [plustek] usb_GetMCLKDivider()
> > [plustek] usb_GetMCLKDiv()
> > [plustek] - lower mclkdiv limit=2.500000
> > [plustek] - upper mclkdiv limit2.500000
> > [plustek] - hdpi = 8.000
> > [plustek] - pixelbits = 8
> > [plustek] - pixelsperline = 0
> > [plustek] - linelen = 10565
> > [plustek] - transferrate = 1000000
> > [plustek] - MCLK Divider = 0
> > [plustek] - Current MCLK Divider = 2
> > [plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
> > [plustek] * Setting GreenPWMDutyCycleHigh
> > [plustek] * Current MCLK Divider = 4.000000
> > [plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
> > [plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
> > [plustek] * PhyBytes = 6
> > [plustek] * PhyLines = 3217226988
> > [plustek] * TotalBytes = 2123492744
> > [plustek] * PL)5, coeffsize!6, scaler=3
> > [plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
> > [plustek] * Scansteps=0 (3217226993*1200/150)
> > [plustek] usb_SetScanParameters() done.
> > [plustek] usbDev_getCaps()
> > [plustek] Scanner information:
> > [plustek] Vendor : Canon
> > [plustek] Model : LiDE25
> > [plustek] Flags : 0x00000000
> > [plustek] drvclose()
> > [plustek] usbDev_stopScan()
> > [plustek] usbDev_ScanEnd(), start=0, park=0
> > [plustek] usbDev_close()
> > [plustek] attach: model = >LiDE25<
> > [plustek] sane_get_devices (0xbfc322f8, 0)
> >
> >
> >
> >
> >
> >
>
>
Salut,
Un petit lsusb me renevoie ceci :
# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 006: ID 04a9:2220 Canon, Inc.
Bus 001 Device 005: ID 041e:3040 Creative Technology, Ltd
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
La creative est ma carte son, qui marche au poil... le Canon,Inc. est
donc mon scanner. Etrange, il n'y a pas marqué LiDE 25 à coté ...
Tu n'as donc pas du tout touché aux fichiers de configuration ?
Hé bhé, je suis vraiment maudis ... :)
- Florian
Le samedi 03 novembre 2007 à 12:09 +0100, Christophe Gallaire a écrit :
> Bonjour Florian,
>
> Après un passage sous Etch, je suis passé sous Lenny. J'ai un scanner
> Lide35 :
>
> found USB scanner (vendor=0x04a9 [Canon], product=0x2213 [CanoScan],
> chip=GL841) at libusb:005:002
>
> lsusb
> Bus 005 Device 002: ID 04a9:2213 Canon, Inc. LiDE 50/LiDE 35
>
> Je ne sais pas si ça peut t'aider mais je n'ai jamais eu de souci pour
> le faire reconnaître. Aucune bidouille. Je passe, pour l'acquisition,
> par kooka. Il ne gère très bien. Voili voilou.
>
> Bon courage @+
>
> Christophe
>
>
> Le samedi 03 novembre 2007 à 03:10 +0100, GILLIG Florian a écrit :
> > Bonjour chère liste,
> >
> > Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
> > jour et toute fraiche net-installée).
> >
> > J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
> > leur site web).
> >
> > J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
> >
> > J'ai donc fait un petit :
> > sane-find-scanner
> > Qui me retourne :
> > [snip]
> > found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> > chip=LM9832/3) at libusb:001:006
> > [snip]
> >
> >
> > Tout content de moi, j'ai donc tenté de configurer Sane avec ces
> > informations :
> >
> > /etc/sane.d/canon.conf
> >
> > #canon.conf
> > /dev/scanner
> > #/proc/bus/usb/001/005
> > #/dev/sg0
> > usb 0x04a9 0x2220
> >
> > Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> > être fait un bêtise ?).
> >
> > /etc/sane.d/plustek.conf
> > [usb]
> > 0x04a9 0x2220
> > libusb:001:005
> >
> > Toutes les autres autres options de ce plustek.conf sont laissées par
> > défaut.
> >
> > Et là commencent les soucis : xsane plante au lancement (ne répond tout
> > simplement pas).
> > J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
> >
> > Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
> > suivante :
> > #export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> >
> > Puisque le retour de cette commande est particulièrement longue, je vous
> > la metterai au bout de ce mail ...
> >
> > Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
> > sous /dev/scanner.
> > Un petit
> > ls /dev/scanner
> > Me retourne ceci :
> > ls: /dev/scanner: Aucun fichier ou répertoire de ce type
> >
> > L'erreur ne proviendrait pas de là ?
> >
> >
> > Enfin, j'ai même fait un petit : tail -f /var/log/syslog
> > qui me donne :
> > Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
> > Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
> > uhci_hcd and address 6
> > Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
> > choice
> > quand je déconnecte et reconnecte le scanner ...
> >
> > Qu'en pensez vous ?
> > Comment avez vous configuré vos fichiers sane pour votre scanner
> > préféré ?
> > canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
> > pense pas, ça serait quelque part illogique, mais je suis un peu
> > perdu ...
> >
> > Merci pour vos conseils !
> >
> > Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
> > reste à tourner dans le vide ...) :
> >
> > # export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> > [sanei_debug] Setting debug level of plustek to 255.
> > [plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
> > [plustek] Retrieving all supported and conntected devices
> > [plustek] Checking for 0x07b3-0x0010
> > [plustek] Checking for 0x07b3-0x0011
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0015
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0013
> > [plustek] Checking for 0x07b3-0x0013
> > [plustek] Checking for 0x07b3-0x0011
> > [plustek] Checking for 0x07b3-0x0010
> > [plustek] Checking for 0x07b3-0x0014
> > [plustek] Checking for 0x07b3-0x0015
> > [plustek] Checking for 0x07b3-0x0014
> > [plustek] Checking for 0x07b3-0x0016
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0017
> > [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-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-0x6620
> > [plustek] Available and supported devices:
> > [plustek] Device: >libusb:001:006< - 0x04a9x0x2220
> > [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 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/usbscanner<
> > [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]<
> > [plustek] next device uses autodetection
> > [plustek] ... next device
> > [plustek] >0x04a9 0x2220<
> > [plustek] ignoring >0x04a9 0x2220<
> > [plustek] >libusb:001:006<
> > [plustek] ignoring >libusb:001:006<
> > [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] 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<
> > [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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
> > [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] Decoding option >mov<
> > [plustek] ><
> > [plustek] >#<
> > [plustek] ># and of course the device-name<
> > [plustek] >#<
> > [plustek] ># device /dev/usbscanner<
> > [plustek] >device auto<
> > [plustek] Decoding device name >auto<
> > [plustek] ><
> > [plustek] >#<
> > [plustek] ># to define a new device, start with a new section:<
> > [plustek] ># [usb]<
> > [plustek] >#<
> > [plustek] attach (auto, 0xbfc301ac, (nil))
> > [plustek] Device configuration:
> > [plustek] device name : >auto<
> > [plustek] USB-ID : ><
> > [plustek] model 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] 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(auto,) - 0x8074c18
> > [plustek] Vendor ID=0x04A9, Product ID=0x2220
> > [plustek] usbio_DetectLM983x
> > [plustek] usbio_DetectLM983x: found LM9832/3
> > [plustek] Detected vendor & product ID: 0x04A9-0x2220
> > [plustek] Device description for >0x04A9-0x2220< found.
> > [plustek] usb_initDev(43,0x04a9,-1)
> > [plustek] Device WAF : 0x00000002
> > [plustek] Transferrate: 1000000 Bytes/s
> > [plustek] Device Flags: 0x00000000
> > [plustek] Vendor adjusted to: >Canon<
> > [plustek] LAMP-STATUS: 0x00000000
> > [plustek] RESETTING REGISTERS(-1) - 0x80
> > [plustek] SETTING THE MISC I/Os
> > [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
> > [plustek] Calibration file-names set to:
> > [plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
> > [plustek] >/root/.sane/Canon-LiDE25-fine.cal<
> > [plustek] usb_SetScanParameters()
> > [plustek] * HDPI: 8.000
> > [plustek] * XDPI0, HDPI=8.000
> > [plustek] * YDPI0, MinDPIYu
> > [plustek] * DataPixelStart7, LineEnd7
> > [plustek] * DataPixelStart8, LineEnd8 (ADJ)
> > [plustek] >> End-Start=0, HDPI=8.00
> > [plustek] * Full Steps to Skip at Start = 0x0000
> > [plustek] * StepSize(Preset) = 148 (0x0094)
> > [plustek] * Scan calculations...
> > [plustek] * LineLength565, LineRateColor=3
> > [plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
> > [plustek] * DPD 0 (0x032a)
> > [plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
> > [plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
> > [plustek] usb_GetMCLKDivider()
> > [plustek] usb_GetMCLKDiv()
> > [plustek] - lower mclkdiv limit=2.500000
> > [plustek] - upper mclkdiv limit2.500000
> > [plustek] - hdpi = 8.000
> > [plustek] - pixelbits = 8
> > [plustek] - pixelsperline = 0
> > [plustek] - linelen = 10565
> > [plustek] - transferrate = 1000000
> > [plustek] - MCLK Divider = 0
> > [plustek] - Current MCLK Divider = 2
> > [plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
> > [plustek] * Setting GreenPWMDutyCycleHigh
> > [plustek] * Current MCLK Divider = 4.000000
> > [plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
> > [plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
> > [plustek] * PhyBytes = 6
> > [plustek] * PhyLines = 3217226988
> > [plustek] * TotalBytes = 2123492744
> > [plustek] * PL)5, coeffsize!6, scaler=3
> > [plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
> > [plustek] * Scansteps=0 (3217226993*1200/150)
> > [plustek] usb_SetScanParameters() done.
> > [plustek] usbDev_getCaps()
> > [plustek] Scanner information:
> > [plustek] Vendor : Canon
> > [plustek] Model : LiDE25
> > [plustek] Flags : 0x00000000
> > [plustek] drvclose()
> > [plustek] usbDev_stopScan()
> > [plustek] usbDev_ScanEnd(), start=0, park=0
> > [plustek] usbDev_close()
> > [plustek] attach: model = >LiDE25<
> > [plustek] sane_get_devices (0xbfc322f8, 0)
> >
> >
> >
> >
> >
> >
>
>
Salut,
Un petit lsusb me renevoie ceci :
# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 006: ID 04a9:2220 Canon, Inc.
Bus 001 Device 005: ID 041e:3040 Creative Technology, Ltd
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
La creative est ma carte son, qui marche au poil... le Canon,Inc. est
donc mon scanner. Etrange, il n'y a pas marqué LiDE 25 à coté ...
Tu n'as donc pas du tout touché aux fichiers de configuration ?
Hé bhé, je suis vraiment maudis ... :)
- Florian
Le samedi 03 novembre 2007 à 12:09 +0100, Christophe Gallaire a écrit :
> Bonjour Florian,
>
> Après un passage sous Etch, je suis passé sous Lenny. J'ai un scanner
> Lide35 :
>
> found USB scanner (vendor=0x04a9 [Canon], product=0x2213 [CanoScan],
> chip=GL841) at libusb:005:002
>
> lsusb
> Bus 005 Device 002: ID 04a9:2213 Canon, Inc. LiDE 50/LiDE 35
>
> Je ne sais pas si ça peut t'aider mais je n'ai jamais eu de souci pour
> le faire reconnaître. Aucune bidouille. Je passe, pour l'acquisition,
> par kooka. Il ne gère très bien. Voili voilou.
>
> Bon courage @+
>
> Christophe
>
>
> Le samedi 03 novembre 2007 à 03:10 +0100, GILLIG Florian a écrit :
> > Bonjour chère liste,
> >
> > Je tourne actuellement sous une Debian etch (2.6.18-5-686 bien mise à
> > jour et toute fraiche net-installée).
> >
> > J'ai acheté le scanner CanoScan LiDE25 (bien supporté par sane, selon
> > leur site web).
> >
> > J'ai suivi quelques explicatifs trouvés grâce à mon ami google.
> >
> > J'ai donc fait un petit :
> > sane-find-scanner
> > Qui me retourne :
> > [snip]
> > found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> > chip=LM9832/3) at libusb:001:006
> > [snip]
> >
> >
> > Tout content de moi, j'ai donc tenté de configurer Sane avec ces
> > informations :
> >
> > /etc/sane.d/canon.conf
> >
> > #canon.conf
> > /dev/scanner
> > #/proc/bus/usb/001/005
> > #/dev/sg0
> > usb 0x04a9 0x2220
> >
> > Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> > être fait un bêtise ?).
> >
> > /etc/sane.d/plustek.conf
> > [usb]
> > 0x04a9 0x2220
> > libusb:001:005
> >
> > Toutes les autres autres options de ce plustek.conf sont laissées par
> > défaut.
> >
> > Et là commencent les soucis : xsane plante au lancement (ne répond tout
> > simplement pas).
> > J'ai donc fait un petit : "scanimage -L" ... qui plante tout autant.
> >
> > Sur ce, j'ai cherché à en savoir plus, j'ai fait donc la commande
> > suivante :
> > #export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> >
> > Puisque le retour de cette commande est particulièrement longue, je vous
> > la metterai au bout de ce mail ...
> >
> > Plus haut, dans canon.conf, il y a marqué que mon scanner serait branché
> > sous /dev/scanner.
> > Un petit
> > ls /dev/scanner
> > Me retourne ceci :
> > ls: /dev/scanner: Aucun fichier ou répertoire de ce type
> >
> > L'erreur ne proviendrait pas de là ?
> >
> >
> > Enfin, j'ai même fait un petit : tail -f /var/log/syslog
> > qui me donne :
> > Nov 2 23:34:10 staff kernel: usb 1-1: USB disconnect, address 4
> > Nov 2 23:34:13 staff kernel: usb 1-1: new full speed USB device using
> > uhci_hcd and address 6
> > Nov 2 23:34:13 staff kernel: usb 1-1: configuration #1 chosen from 1
> > choice
> > quand je déconnecte et reconnecte le scanner ...
> >
> > Qu'en pensez vous ?
> > Comment avez vous configuré vos fichiers sane pour votre scanner
> > préféré ?
> > canon.conf et plustek.conf doivent tout deux être configurés ?! Je ne
> > pense pas, ça serait quelque part illogique, mais je suis un peu
> > perdu ...
> >
> > Merci pour vos conseils !
> >
> > Voici le scanimage -L en mode Debug (qui ne retourne rien d'autre... et
> > reste à tourner dans le vide ...) :
> >
> > # export SANE_DEBUG_PLUSTEK%5 ; scanimage -L
> > [sanei_debug] Setting debug level of plustek to 255.
> > [plustek] Plustek backend V0.51-12, part of sane-backends 1.0.18
> > [plustek] Retrieving all supported and conntected devices
> > [plustek] Checking for 0x07b3-0x0010
> > [plustek] Checking for 0x07b3-0x0011
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0015
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0013
> > [plustek] Checking for 0x07b3-0x0013
> > [plustek] Checking for 0x07b3-0x0011
> > [plustek] Checking for 0x07b3-0x0010
> > [plustek] Checking for 0x07b3-0x0014
> > [plustek] Checking for 0x07b3-0x0015
> > [plustek] Checking for 0x07b3-0x0014
> > [plustek] Checking for 0x07b3-0x0016
> > [plustek] Checking for 0x07b3-0x0017
> > [plustek] Checking for 0x07b3-0x0017
> > [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-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-0x6620
> > [plustek] Available and supported devices:
> > [plustek] Device: >libusb:001:006< - 0x04a9x0x2220
> > [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 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/usbscanner<
> > [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]<
> > [plustek] next device uses autodetection
> > [plustek] ... next device
> > [plustek] >0x04a9 0x2220<
> > [plustek] ignoring >0x04a9 0x2220<
> > [plustek] >libusb:001:006<
> > [plustek] ignoring >libusb:001:006<
> > [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] 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<
> > [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] ># coarse 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] ># 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 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] ># 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] Decoding option >enableTPA<
> > [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] Decoding option >mov<
> > [plustek] ><
> > [plustek] >#<
> > [plustek] ># and of course the device-name<
> > [plustek] >#<
> > [plustek] ># device /dev/usbscanner<
> > [plustek] >device auto<
> > [plustek] Decoding device name >auto<
> > [plustek] ><
> > [plustek] >#<
> > [plustek] ># to define a new device, start with a new section:<
> > [plustek] ># [usb]<
> > [plustek] >#<
> > [plustek] attach (auto, 0xbfc301ac, (nil))
> > [plustek] Device configuration:
> > [plustek] device name : >auto<
> > [plustek] USB-ID : ><
> > [plustek] model 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] 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(auto,) - 0x8074c18
> > [plustek] Vendor ID=0x04A9, Product ID=0x2220
> > [plustek] usbio_DetectLM983x
> > [plustek] usbio_DetectLM983x: found LM9832/3
> > [plustek] Detected vendor & product ID: 0x04A9-0x2220
> > [plustek] Device description for >0x04A9-0x2220< found.
> > [plustek] usb_initDev(43,0x04a9,-1)
> > [plustek] Device WAF : 0x00000002
> > [plustek] Transferrate: 1000000 Bytes/s
> > [plustek] Device Flags: 0x00000000
> > [plustek] Vendor adjusted to: >Canon<
> > [plustek] LAMP-STATUS: 0x00000000
> > [plustek] RESETTING REGISTERS(-1) - 0x80
> > [plustek] SETTING THE MISC I/Os
> > [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
> > [plustek] Calibration file-names set to:
> > [plustek] >/root/.sane/Canon-LiDE25-coarse.cal<
> > [plustek] >/root/.sane/Canon-LiDE25-fine.cal<
> > [plustek] usb_SetScanParameters()
> > [plustek] * HDPI: 8.000
> > [plustek] * XDPI0, HDPI=8.000
> > [plustek] * YDPI0, MinDPIYu
> > [plustek] * DataPixelStart7, LineEnd7
> > [plustek] * DataPixelStart8, LineEnd8 (ADJ)
> > [plustek] >> End-Start=0, HDPI=8.00
> > [plustek] * Full Steps to Skip at Start = 0x0000
> > [plustek] * StepSize(Preset) = 148 (0x0094)
> > [plustek] * Scan calculations...
> > [plustek] * LineLength565, LineRateColor=3
> > [plustek] * Stepsize = 993, 0x46=0x03 0x47=0xe1
> > [plustek] * DPD 0 (0x032a)
> > [plustek] * DPD 0885 (0x78a5), step size3, steps2rev2
> > [plustek] * llen565, lineRateColor=3, qtcnt=8, hfcnt=8
> > [plustek] usb_GetMCLKDivider()
> > [plustek] usb_GetMCLKDiv()
> > [plustek] - lower mclkdiv limit=2.500000
> > [plustek] - upper mclkdiv limit2.500000
> > [plustek] - hdpi = 8.000
> > [plustek] - pixelbits = 8
> > [plustek] - pixelsperline = 0
> > [plustek] - linelen = 10565
> > [plustek] - transferrate = 1000000
> > [plustek] - MCLK Divider = 0
> > [plustek] - Current MCLK Divider = 2
> > [plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
> > [plustek] * Setting GreenPWMDutyCycleHigh
> > [plustek] * Current MCLK Divider = 4.000000
> > [plustek] * MOTOR-Settings: PWM=0x08, PWM_DUTY=0x1f
> > [plustek] * FFStepSize = 416, [0x48] = 0x01, [0x49] = 0xa0
> > [plustek] * PhyBytes = 6
> > [plustek] * PhyLines = 3217226988
> > [plustek] * TotalBytes = 2123492744
> > [plustek] * PL)5, coeffsize!6, scaler=3
> > [plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
> > [plustek] * Scansteps=0 (3217226993*1200/150)
> > [plustek] usb_SetScanParameters() done.
> > [plustek] usbDev_getCaps()
> > [plustek] Scanner information:
> > [plustek] Vendor : Canon
> > [plustek] Model : LiDE25
> > [plustek] Flags : 0x00000000
> > [plustek] drvclose()
> > [plustek] usbDev_stopScan()
> > [plustek] usbDev_ScanEnd(), start=0, park=0
> > [plustek] usbDev_close()
> > [plustek] attach: model = >LiDE25<
> > [plustek] sane_get_devices (0xbfc322f8, 0)
> >
> >
> >
> >
> >
> >
>
>
Salut,
Le samedi 03 novembre 2007 à 13:08 +0100, GILLIG Florian a écrit :
Regarde ce tuto :
http://ubunteros.tuxfamily.org/spip.php?article91
C'est p'têt une piste.
@+
Christophe
Salut,
Le samedi 03 novembre 2007 à 13:08 +0100, GILLIG Florian a écrit :
Regarde ce tuto :
http://ubunteros.tuxfamily.org/spip.php?article91
C'est p'têt une piste.
@+
Christophe
Salut,
Le samedi 03 novembre 2007 à 13:08 +0100, GILLIG Florian a écrit :
Regarde ce tuto :
http://ubunteros.tuxfamily.org/spip.php?article91
C'est p'têt une piste.
@+
Christophe
Salut
une idée en l'air :
As-tu essayé de faire le scanimage -L en root ?
As-tu essayé de lancer xsane en tant que root ?
Tout ça pour voir s'il ne s'agirait pas d'un bête problème de droit...
Amicalement,
Olivier
Salut
une idée en l'air :
As-tu essayé de faire le scanimage -L en root ?
As-tu essayé de lancer xsane en tant que root ?
Tout ça pour voir s'il ne s'agirait pas d'un bête problème de droit...
Amicalement,
Olivier
Salut
une idée en l'air :
As-tu essayé de faire le scanimage -L en root ?
As-tu essayé de lancer xsane en tant que root ?
Tout ça pour voir s'il ne s'agirait pas d'un bête problème de droit...
Amicalement,
Olivier
sane-find-scanner
Qui me retourne :
[snip]
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
chip=LM9832/3) at libusb:001:006
Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
être fait un bêtise ?).
sane-find-scanner
Qui me retourne :
[snip]
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
chip=LM9832/3) at libusb:001:006
Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
être fait un bêtise ?).
sane-find-scanner
Qui me retourne :
[snip]
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
chip=LM9832/3) at libusb:001:006
Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
être fait un bêtise ?).
LO,
On Sat, Nov 03, 2007 at 03:10:17AM +0100, GILLIG Florian wrote:
[...]
> sane-find-scanner
> Qui me retourne :
> [snip]
> found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> chip=LM9832/3) at libusb:001:006
[...]
> Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> être fait un bêtise ?).
Non, justement :-) Ce modèle est supporté par le backend plustek.
cf. http://www.sane-project.org/man/sane-plustek.5.html
Donc, je ne toucherais pas au fichier de config du backend canon à ta
place, ça risque d'introduire de la confusion.
Pour;le configurer, la doc dit ceci :
« To use your scanner with this backend, you need at least two
entries in the configuration file /usr/local/etc/sane.d/plustek.conf
[usb] vendor-id product-id
device /dev/usbscanner »
Donc, j'essaierais ceci dans /etc/sane.d/plustek.conf (l'autre chemin
est valable lors d'une compilation, mais tu as un paquet) :
[usb] 0x04A9 0x2220
device /dev/usbscanner
(sans rien d'autre. Commentes tout le reste.)
Puis à nouveau un scanimage -L pour voir (le cas échéant en root pour
valider la config en excluant les problèmes de droits d'accès).
Bonne chance et dis-nous si c'est mieux ?
A+
--
JFS
---
Mutt 1.5.6i
Powered by GNU/Linux - SuSE 9.1
LO,
On Sat, Nov 03, 2007 at 03:10:17AM +0100, GILLIG Florian wrote:
[...]
> sane-find-scanner
> Qui me retourne :
> [snip]
> found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> chip=LM9832/3) at libusb:001:006
[...]
> Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> être fait un bêtise ?).
Non, justement :-) Ce modèle est supporté par le backend plustek.
cf. http://www.sane-project.org/man/sane-plustek.5.html
Donc, je ne toucherais pas au fichier de config du backend canon à ta
place, ça risque d'introduire de la confusion.
Pour;le configurer, la doc dit ceci :
« To use your scanner with this backend, you need at least two
entries in the configuration file /usr/local/etc/sane.d/plustek.conf
[usb] vendor-id product-id
device /dev/usbscanner »
Donc, j'essaierais ceci dans /etc/sane.d/plustek.conf (l'autre chemin
est valable lors d'une compilation, mais tu as un paquet) :
[usb] 0x04A9 0x2220
device /dev/usbscanner
(sans rien d'autre. Commentes tout le reste.)
Puis à nouveau un scanimage -L pour voir (le cas échéant en root pour
valider la config en excluant les problèmes de droits d'accès).
Bonne chance et dis-nous si c'est mieux ?
A+
--
JFS
---
Mutt 1.5.6i
Powered by GNU/Linux - SuSE 9.1
LO,
On Sat, Nov 03, 2007 at 03:10:17AM +0100, GILLIG Florian wrote:
[...]
> sane-find-scanner
> Qui me retourne :
> [snip]
> found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan],
> chip=LM9832/3) at libusb:001:006
[...]
> Et dans le doute j'ai aussi configuré Sane avec plustek.conf (j'ai peut
> être fait un bêtise ?).
Non, justement :-) Ce modèle est supporté par le backend plustek.
cf. http://www.sane-project.org/man/sane-plustek.5.html
Donc, je ne toucherais pas au fichier de config du backend canon à ta
place, ça risque d'introduire de la confusion.
Pour;le configurer, la doc dit ceci :
« To use your scanner with this backend, you need at least two
entries in the configuration file /usr/local/etc/sane.d/plustek.conf
[usb] vendor-id product-id
device /dev/usbscanner »
Donc, j'essaierais ceci dans /etc/sane.d/plustek.conf (l'autre chemin
est valable lors d'une compilation, mais tu as un paquet) :
[usb] 0x04A9 0x2220
device /dev/usbscanner
(sans rien d'autre. Commentes tout le reste.)
Puis à nouveau un scanimage -L pour voir (le cas échéant en root pour
valider la config en excluant les problèmes de droits d'accès).
Bonne chance et dis-nous si c'est mieux ?
A+
--
JFS
---
Mutt 1.5.6i
Powered by GNU/Linux - SuSE 9.1
BINGO ! CA MARCHE ! :)
En gros : je me suis compliqué la vie pour rien avec canon.conf ...
J'aurai du configurer juste plustek.conf ...
Quoiqu'il en soit, merci à toi !
BINGO ! CA MARCHE ! :)
En gros : je me suis compliqué la vie pour rien avec canon.conf ...
J'aurai du configurer juste plustek.conf ...
Quoiqu'il en soit, merci à toi !
BINGO ! CA MARCHE ! :)
En gros : je me suis compliqué la vie pour rien avec canon.conf ...
J'aurai du configurer juste plustek.conf ...
Quoiqu'il en soit, merci à toi !