[Linux-bruxelles] SANE, ScanImage, etc

Aldo blinuxman at tuxfamily.org
Jeu 31 Mar 16:28:17 CEST 2005


Salut.

Enfin le temps de brancher le CanoScan LiDE20 USB sur ma Debian Testing
d'essais.

Voici ce que j'ai installé dans un apt-get_sane_etcetera.txt (sortie de
script), + la sortie de sane-finc-scanner et lsusb (tout ça ci-après):

j'ignore si je m'y prends bien mais tout est détecté, sauf que 
scanimage -L ne fais pas bouger le scanner
(en tant que root en plus, c'est moche).

Qui a déjà réussi à aller plus loin?
Aldo.



Voici la sortie de  sane-find-scanner  en tant que root:

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], chip=LM9832/3) at libusb:002:003
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

Il semble avoir détecté mon LiDE20 (usb); pour confirmer je fais un
lsusb qui me donne:

Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 002 Device 003: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 001 Device 001: ID 0000:0000  
Et si je fais un  scanimage -L  il ne se passe rien, mon prompt ne revient
pas mais il ne se passe rien.

Que fais-je de travers?

Note: en tant que user je ne sais pas faire grand chose, faut-il ajouter
aldo dans un groupe particulier pour les permissions?

Plusieurs tentatives d'installer le nécessaire pour Sane:
d'abord gocr et gocr-doc mais aussi sane et sane-utils;
vu les recommended, j'ai ajouté ce qu'on me disais et la liste s'est un peu
étendue:

labrador/dev/pts/0:~# apt-get install gocr gocr-doc sane sane-utils libjpeg-progs netpbm transfig
Reading Package Lists... 0%

Reading Package Lists... 100%

Reading Package Lists... Done


Building Dependency Tree... 0%

Building Dependency Tree... 0%

Building Dependency Tree... 50%

Building Dependency Tree... 50%

Building Dependency Tree... Done

The following extra packages will be installed:
  libexif10 libgimp2.0 libgphoto2-2 libgphoto2-port0 libieee1284-3 libnetpbm10
  libsane
Suggested packages:
  gphoto2 gtkam libsane-extras hpoj hplip gimp xfig
The following NEW packages will be installed:
  gocr gocr-doc libexif10 libgimp2.0 libgphoto2-2 libgphoto2-port0
  libieee1284-3 libjpeg-progs libnetpbm10 libsane netpbm sane sane-utils
  transfig
0 upgraded, 14 newly installed, 0 to remove and 6 not upgraded.
Need to get 6451kB of archives.
After unpacking 20.0MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Autre essai, plus complet.
labrador/dev/pts/0:~# apt-get install gocr gocr-doc sane sane-utils libjpeg-progs
s netpbm transfig gphoto2 libsane-extra hpoj hplip[1 at s

Reading Package Lists... 0%

Reading Package Lists... 100%

Reading Package Lists... Done


Building Dependency Tree... 0%

Building Dependency Tree... 0%

Building Dependency Tree... 50%

Building Dependency Tree... 50%

Building Dependency Tree... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  hplip: Conflicts: hpoj but 0.91-4 is to be installed
  hpoj: Conflicts: hplip but 0.8.7-4 is to be installed
E: Broken packages
OK, là j'ai repris en évitant d'installer les packs qui conflictent.
labrador/dev/pts/0:~# apt-get install gocr gocr-doc sane sane-utils libjpeg-progs
s netpbm transfig gphoto2 libsane-extras hpoj hplip          

Reading Package Lists... 0%

Reading Package Lists... 100%

Reading Package Lists... Done


Building Dependency Tree... 0%

Building Dependency Tree... 0%

Building Dependency Tree... 50%

Building Dependency Tree... 50%

Building Dependency Tree... Done

The following extra packages will be installed:
  libcdk4 libexif10 libgimp2.0 libgphoto2-2 libgphoto2-port0 libieee1284-3
  libnetpbm10 libsane
Suggested packages:
  gtkam gthumb hpoj hplip gimp xfig
The following NEW packages will be installed:
  gocr gocr-doc gphoto2 libcdk4 libexif10 libgimp2.0 libgphoto2-2
  libgphoto2-port0 libieee1284-3 libjpeg-progs libnetpbm10 libsane
  libsane-extras netpbm sane sane-utils transfig
0 upgraded, 17 newly installed, 0 to remove and 6 not upgraded.
Need to get 6825kB of archives.
After unpacking 21.4MB of additional disk space will be used.
Do you want to continue? [Y/n] 


0% [Working]
            
Get:1 http://ftp.belnet.be testing/main libnetpbm10 2:10.0-8 [65.0kB]

            
0% [1 libnetpbm10 1121/65.0kB 1%]
                                 
0% [Waiting for headers]
                        
Get:2 http://ftp.belnet.be testing/main gocr 0.39-4 [307kB]

                        
0% [2 gocr 1120/307kB 0%]
                         
3% [2 gocr 198028/307kB 64%]
                            
5% [Waiting for headers]
                        
Get:3 http://ftp.belnet.be testing/main gocr-doc 0.39-4 [13.6kB]

                        
5% [3 gocr-doc 1122/13.6kB 8%]
                              
5% [Waiting for headers]
                        
Get:4 http://ftp.belnet.be testing/main libcdk4 4.9.9-4 [106kB]

                        
5% [4 libcdk4 1120/106kB 1%]
                            
7% [Waiting for headers]
                        
Get:5 http://ftp.belnet.be testing/main libexif10 0.6.9-6 [81.0kB]

                        
7% [5 libexif10 1121/81.0kB 1%]
                               
8% [Waiting for headers]
                        
Get:6 http://ftp.belnet.be testing/main libgimp2.0 2.2.4-2 [514kB]

                        
8% [6 libgimp2.0 1120/514kB 0%]
                               
11% [6 libgimp2.0 205128/514kB 39%]
14% [6 libgimp2.0 414516/514kB 80%]
                                   
15% [Waiting for headers]
                         
Get:7 http://ftp.belnet.be testing/main libgphoto2-port0 2.1.5-4 [87.4kB]

                         
15% [7 libgphoto2-port0 1121/87.4kB 1%]
                                       
17% [Waiting for headers]
                         
Get:8 http://ftp.belnet.be testing/main libgphoto2-2 2.1.5-4 [838kB]

                         
17% [8 libgphoto2-2 1120/838kB 0%]
                                  
20% [8 libgphoto2-2 206548/838kB 24%]
23% [8 libgphoto2-2 415936/838kB 49%]
26% [8 libgphoto2-2 624012/838kB 74%]
29% [8 libgphoto2-2 831980/838kB 99%]
                                     
29% [Waiting for headers]
                         
Get:9 http://ftp.belnet.be testing/main libieee1284-3 0.2.9-3 [27.6kB]

                         
29% [9 libieee1284-3 1121/27.6kB 4%]
                                    
29% [Waiting for headers]
                         
Get:10 http://ftp.belnet.be testing/main libjpeg-progs 6b-9 [207kB]

                         
29% [10 libjpeg-progs 1120/207kB 0%]
                                    
32% [Waiting for headers]
                         
Get:11 http://ftp.belnet.be testing/main sane-utils 1.0.15-8 [113kB]

                         
32% [11 sane-utils 1119/113kB 0%]
                                 
34% [Waiting for headers]
                         
Get:12 http://ftp.belnet.be testing/main libsane 1.0.15-8 [2542kB]

                         
34% [12 libsane 1117/2542kB 0%]
                               
37% [12 libsane 207968/2542kB 8%]                                   406kB/s 10s
40% [12 libsane 415936/2542kB 16%]                                   406kB/s 9s
43% [12 libsane 624012/2542kB 24%]                                   406kB/s 9s
46% [12 libsane 831980/2542kB 32%]                                   406kB/s 8s
49% [12 libsane 1039948/2542kB 40%]                                  406kB/s 8s
52% [12 libsane 1249444/2542kB 49%]                                  406kB/s 7s
55% [12 libsane 1457412/2542kB 57%]                                  406kB/s 7s
58% [12 libsane 1665380/2542kB 65%]                                  406kB/s 6s
62% [12 libsane 1873456/2542kB 73%]                                  406kB/s 6s
65% [12 libsane 2082844/2542kB 81%]                                  406kB/s 5s
68% [12 libsane 2290812/2542kB 90%]                                  406kB/s 5s
71% [12 libsane 2498888/2542kB 98%]                                  406kB/s 4s
71% [Working]                                                        406kB/s 4s
                                                                               
Get:13 http://ftp.belnet.be testing/main libsane-extras 1.0.15.7 [138kB]

71% [13 libsane-extras 0/138kB 0%]                                   406kB/s 4s
73% [Working]                                                        406kB/s 4s
                                                                               
Get:14 http://ftp.belnet.be testing/main netpbm 2:10.0-8 [1199kB]

73% [14 netpbm 0/1199kB 0%]                                          406kB/s 4s
76% [14 netpbm 205128/1199kB 17%]                                    416kB/s 3s
79% [14 netpbm 413096/1199kB 34%]                                    416kB/s 3s
82% [14 netpbm 622592/1199kB 51%]                                    416kB/s 2s
86% [14 netpbm 830560/1199kB 69%]                                    416kB/s 2s
89% [14 netpbm 1038528/1199kB 86%]                                   416kB/s 1s
91% [Working]                                                        416kB/s 1s
                                                                               
Get:15 http://ftp.belnet.be testing/main sane 1.0.13-2 [104kB]

91% [15 sane 0/104kB 0%]                                             416kB/s 1s
92% [Working]                                                        416kB/s 1s
                                                                               
Get:16 http://ftp.belnet.be testing/main transfig 1:3.2.5-alpha5-2 [351kB]

92% [16 transfig 0/351kB 0%]                                         416kB/s 1s
95% [16 transfig 205128/351kB 58%]                                   416kB/s 0s
98% [Working]                                                        416kB/s 0s
                                                                               
Get:17 http://ftp.belnet.be testing/main gphoto2 2.1.5-1 [130kB]

98% [17 gphoto2 0/130kB 0%]                                          416kB/s 0s
100% [Working]                                                       416kB/s 0s
                                                                               
Fetched 6825kB in 16s (413kB/s)
Selecting previously deselected package libnetpbm10.
(Reading database ... 36028 files and directories currently installed.)
Unpacking libnetpbm10 (from .../libnetpbm10_2%3a10.0-8_i386.deb) ...
Selecting previously deselected package gocr.
Unpacking gocr (from .../archives/gocr_0.39-4_i386.deb) ...
Selecting previously deselected package gocr-doc.
Unpacking gocr-doc (from .../gocr-doc_0.39-4_all.deb) ...
Selecting previously deselected package libcdk4.
Unpacking libcdk4 (from .../libcdk4_4.9.9-4_i386.deb) ...
Selecting previously deselected package libexif10.
Unpacking libexif10 (from .../libexif10_0.6.9-6_i386.deb) ...
Selecting previously deselected package libgimp2.0.
Unpacking libgimp2.0 (from .../libgimp2.0_2.2.4-2_i386.deb) ...
Selecting previously deselected package libgphoto2-port0.
Unpacking libgphoto2-port0 (from .../libgphoto2-port0_2.1.5-4_i386.deb) ...
Selecting previously deselected package libgphoto2-2.
Unpacking libgphoto2-2 (from .../libgphoto2-2_2.1.5-4_i386.deb) ...
Selecting previously deselected package libieee1284-3.
Unpacking libieee1284-3 (from .../libieee1284-3_0.2.9-3_i386.deb) ...
Selecting previously deselected package libjpeg-progs.
Unpacking libjpeg-progs (from .../libjpeg-progs_6b-9_i386.deb) ...
Selecting previously deselected package sane-utils.
Unpacking sane-utils (from .../sane-utils_1.0.15-8_i386.deb) ...
Selecting previously deselected package libsane.
Unpacking libsane (from .../libsane_1.0.15-8_i386.deb) ...
Selecting previously deselected package libsane-extras.
Unpacking libsane-extras (from .../libsane-extras_1.0.15.7_i386.deb) ...
Selecting previously deselected package netpbm.
Unpacking netpbm (from .../netpbm_2%3a10.0-8_i386.deb) ...
Selecting previously deselected package sane.
Unpacking sane (from .../sane_1.0.13-2_i386.deb) ...
Selecting previously deselected package transfig.
Unpacking transfig (from .../transfig_1%3a3.2.5-alpha5-2_i386.deb) ...
Selecting previously deselected package gphoto2.
Unpacking gphoto2 (from .../gphoto2_2.1.5-1_i386.deb) ...
Setting up libnetpbm10 (10.0-8) ...

Setting up gocr (0.39-4) ...
Setting up gocr-doc (0.39-4) ...
Setting up libcdk4 (4.9.9-4) ...

Setting up libexif10 (0.6.9-6) ...

Setting up libgimp2.0 (2.2.4-2) ...

Setting up libieee1284-3 (0.2.9-3) ...

Setting up libjpeg-progs (6b-9) ...
Setting up netpbm (10.0-8) ...
Setting up transfig (3.2.5-alpha5-2) ...

Setting up libgphoto2-2 (2.1.5-4) ...
Adding group `camera' (103)...
Done.

Setting up libgphoto2-port0 (2.1.5-4) ...

Setting up libsane (1.0.15-8) ...
Adding scanner group...

Setting up sane-utils (1.0.15-8) ...
Adding saned group and user...

Setting up libsane-extras (1.0.15.7) ...

Setting up sane (1.0.13-2) ...

Setting up gphoto2 (2.1.5-1) ...
labrador/dev/pts/0:~# cl





Plus d'informations sur la liste de diffusion Linux-bruxelles