Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

scanneur perfection 1670

12 réponses
Avatar
Mario Lachance
La réponse que je recoie presentement a la commande xsane est:

[snapscan] Cannot open firmware file /path/to/your/firmware/file.bin.
[snapscan] Edit the firmware file entry in snapscan.conf.


Pourtant, j'ai bien installé le fichier ESFW30.BIN
dans un dossier que j'ai nommé firmware dans /usr//lib/sane/firmware

J'ai édité le fichier /etc/sane.d/snapscan.conf avec la ligne:
firmware /usr/lib/sane/firmware/ESFW30.BIN ( Est ce que le nom firmware
doit être commenté de cette façon:
#firmware
/usr/lib/sane/firmware/ESFW30.BIN) où bien (firmware
/usr/lib/sane/firmware/ESFW30.BIN)
Les droits sur ce ficier sont utulisateurs groupes et autres peuvent
lire, écrire et exécuter ce fichier . L'utilisateur étant le root et le
groupe root.

Le problème serait-il sur les droits d'accès dans le dossier usr...
/usr/lib....../usr/lib/sane...... /usr/lib/sane/firmware.......

Je me demande si le fichier ESFW30.BIN que j'ai téléchargé sur le net
est bon. J'ai cherché sur mes C.D. Epson et je ne trouve pas de fichier
portant ce nom.


Un peu embêté et surtout pas programmeur informatique..

J'oubliais je suis sur une Debain Sarge et la version du kernel est
2.4.27-2-586tsc


Lorsque je fait lsusb -v j'ai ceci comme réponse:

Bus 001 Device 005: ID 04b8:011f Seiko Epson Corp. Perfection 1670
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x04b8 Seiko Epson Corp.
idProduct 0x011f Perfection 1670
bcdDevice 1.07
iManufacturer 1 EPSON
iProduct 2 EPSON Scanner
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 16
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
bNumConfigurations 1


Donc, le scanneur est reconnu.

Je me demande si le fichier ESFW30.BIN que j'ai téléchargé sur le net
est bon. J'ai cherché sur mes C.D. Epson et je ne trouve pas de fichier
portant ce nom.


Un peu embêté et surtout pas programmeur informatique..

J'oubliais je suis sur une Debain Sarge et la version du kernel est
2.4.27-2-586tsc

Toujoura passionné du libre.......

Merci Mario


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

10 réponses

1 2
Avatar
Jean-Luc Coulon (f5ibh)
--=-1c0pSbFXXJcRjY1xbZW5
Content-Type: text/plain; charset=iso-8859-1; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 27.04.2005 17:35:38, Mario Lachance a écrit :
La réponse que je recoie presentement a la commande xsane est:

[snapscan] Cannot open firmware file /path/to/your/firmware/file.bin.
[snapscan] Edit the firmware file entry in snapscan.conf.


Pourtant, j'ai bien installé le fichier ESFW30.BIN
dans un dossier que j'ai nommé firmware dans /usr//lib/sane/firmware

J'ai édité le fichier /etc/sane.d/snapscan.conf avec la ligne:
firmware /usr/lib/sane/firmware/ESFW30.BIN ( Est ce que le nom
firmware doit être commenté de cette façon:
#firmware
/usr/lib/sane/firmware/ESFW30.BIN) où bien (firmware
/usr/lib/sane/firmware/ESFW30.BIN)
Les droits sur ce ficier sont utulisateurs groupes et autres peuvent
lire, écrire et exécuter ce fichier . L'utilisateur étant le root e t
le groupe root.

Le problème serait-il sur les droits d'accès dans le dossier usr...
/usr/lib....../usr/lib/sane...... /usr/lib/sane/firmware.......

Je me demande si le fichier ESFW30.BIN que j'ai téléchargé sur le n et
est bon. J'ai cherché sur mes C.D. Epson et je ne trouve pas de
fichier portant ce nom.




Je vous propose de lancer la commande xsane avec strace :
strace xsane > trace.snapscan 2>&1
Et d'attendre d'avoie le plantage.

Vous récupérez le fichier trace.snapscan
Vous allez en fin de fichier et vous nous mettez disons les 30
dernières lignes.

Remarque : en utilisant la commande scanimage, le fichier trace sera
sans doute beaucoup moins lourd et ce sera sans doute plus facile de
faire le tri.



Merci Mario



Jean-Luc

--=-1c0pSbFXXJcRjY1xbZW5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCb7iOUdGGXzzGnNARAv1AAKCjLP8ypbjYXWSl8hORUUHsuRfJUACfUJ+M
KGA4lw80cMCppNLdxdU6qeE =jW3r
-----END PGP SIGNATURE-----

--=-1c0pSbFXXJcRjY1xbZW5--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Mario Lachance
Bonjour,

Les dernières lignes du fichier trace.snapscan lorsque je lance strace
xsane sont:


Merci encore


oll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN,
revents=POLLIN}], 2, -1) = 1
ioctl(5, FIONREAD, [64]) = 0
read(5, "512476240&336_24534032301"..., 64)
= 64
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
write(5, "n302212340331v_3022253Q"...,
252) = 252
read(5, "22250621234032123403"...,
32) = 32
read(5, "n25062133403370377277dñ0360Q21710"...,
32) = 32
read(5, "n125062123403 310"...,
32) = 32
read(5, "t525062123403 30724610260"..., 32)
= 32
read(5, "102506243&336_24534032301"...,
32) = 32
read(5, "1012506243&336_21234032453403230"...,
32) = 32
read(5, "22252624534032453403>f10240}20210"...,
32) = 32
read(5, "2125262453403245340335362f1037"..., 32)
= 32
read(5, "21u277621234032123403230370377277237"..., 32)
= 32
read(5, "3427762123403>1243&336135340@"...,
32) = 32
read(5, "3427762123403345243&336135340@"..., 32)
= 32
read(5, "3427762123403g243&336135340@"...,
32) = 32
read(5, "3427762123403A1243&336135340@"...,
32) = 32
read(5, "342776212340371243&336135340@"..., 32)
= 32
read(5, "3427762123403343243&336135340@"..., 32)
= 32
read(5, "3427762123403#243&336135340@"...,
32) = 32
read(5, "3427762123403f1243&336135340@"...,
32) = 32
read(5, "3427762123403354243&336135340@"..., 32)
= 32
read(5, "3427762123403353243&336135340@"..., 32)
= 32
read(5, "3427762123403356243&336135340@"..., 32)
= 32
read(5, "3427762123403342243&336135340@"..., 32)
= 32
read(5, "3427762123403341243&336135340@"..., 32)
= 32
read(5, "3427762123403340243&336135340@"..., 32)
= 32
read(5, "3427762123403$243&336135340@"...,
32) = 32
read(5, "3427762123403(243&336135340@"...,
32) = 32
read(5, "3427762123403337243&336135340@"..., 32)
= 32
read(5, "3427762123403C243&336135340@"...,
32) = 32
read(5, "3427762123403%243&336135340@"...,
32) = 32
read(5, "3427762123403333243&336135340@"..., 32)
= 32
read(5, "3427762123403'243&336135340@"..., 32)
= 32
read(5, "3427762123403332243&336135340@"..., 32)
= 32
read(5, "113026202020"...,
32) = 32
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0]) = 0
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
ioctl(5, FIONREAD, [0]) = 0
poll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN}], 2, 0) = 0
munmap(0x40b2a000, 130176) = 0
munmap(0x40b4a000, 52936) = 0
munmap(0x40bf8000, 93676) = 0
munmap(0x40c0f000, 97036) = 0
munmap(0x40c27000, 76388) = 0
munmap(0x40b59000, 503680) = 0
munmap(0x40bd4000, 27588) = 0
munmap(0x40bdb000, 118736) = 0
munmap(0x40c3a000, 29660) = 0
munmap(0x40c42000, 64132) = 0
munmap(0x40c52000, 161492) = 0
munmap(0x40c7a000, 108272) = 0
munmap(0x40c95000, 52384) = 0
munmap(0x40ca2000, 60672) = 0
munmap(0x40cb1000, 51584) = 0
munmap(0x40cbe000, 46800) = 0
munmap(0x40cca000, 57200) = 0
munmap(0x40cd8000, 118640) = 0
munmap(0x40cf5000, 38620) = 0
munmap(0x40cff000, 76096) = 0
munmap(0x40d12000, 51584) = 0
munmap(0x40d1f000, 43808) = 0
munmap(0x40d2a000, 51488) = 0
munmap(0x40d37000, 35996) = 0
munmap(0x40d40000, 394772) = 0
munmap(0x40da1000, 73360) = 0
munmap(0x40db3000, 1317824) = 0
munmap(0x40ef5000, 63008) = 0
munmap(0x40f05000, 191424) = 0
munmap(0x40f34000, 153356) = 0
munmap(0x40f5a000, 129360) = 0
munmap(0x40f7a000, 84288) = 0
munmap(0x40f8f000, 52064) = 0
munmap(0x40f9c000, 55392) = 0
munmap(0x40faa000, 50592) = 0
munmap(0x40fb7000, 50880) = 0
munmap(0x40fc4000, 51340) = 0
munmap(0x40fd1000, 29628) = 0
munmap(0x40fd9000, 163392) = 0
munmap(0x41001000, 141508) = 0
munmap(0x41024000, 126448) = 0
munmap(0x41043000, 108836) = 0
munmap(0x4105e000, 43296) = 0
munmap(0x41069000, 76192) = 0
munmap(0x4107c000, 77232) = 0
munmap(0x4108f000, 61312) = 0
munmap(0x4109e000, 93600) = 0
munmap(0x410b5000, 86016) = 0
munmap(0x410ca000, 26044) = 0
munmap(0x410d1000, 104784) = 0
munmap(0x410eb000, 106304) = 0
munmap(0x41105000, 117136) = 0
munmap(0x41122000, 54528) = 0
munmap(0x41130000, 50512) = 0
munmap(0x4113d000, 42144) = 0
munmap(0x41148000, 45984) = 0
exit_group(0) = ?




Jean-Luc Coulon (f5ibh) a écrit :

Le 27.04.2005 17:35:38, Mario Lachance a écrit :

La réponse que je recoie presentement a la commande xsane est:

[snapscan] Cannot open firmware file /path/to/your/firmware/file.bin.
[snapscan] Edit the firmware file entry in snapscan.conf.


Pourtant, j'ai bien installé le fichier ESFW30.BIN
dans un dossier que j'ai nommé firmware dans /usr//lib/sane/firmware

J'ai édité le fichier /etc/sane.d/snapscan.conf avec la ligne:
firmware /usr/lib/sane/firmware/ESFW30.BIN ( Est ce que le nom
firmware doit être commenté de cette façon:
#firmware
/usr/lib/sane/firmware/ESFW30.BIN) où bien (firmware
/usr/lib/sane/firmware/ESFW30.BIN)
Les droits sur ce ficier sont utulisateurs groupes et autres peuvent
lire, écrire et exécuter ce fichier . L'utilisateur étant le root et
le groupe root.

Le problème serait-il sur les droits d'accès dans le dossier usr...
/usr/lib....../usr/lib/sane...... /usr/lib/sane/firmware.......

Je me demande si le fichier ESFW30.BIN que j'ai téléchargé sur le
net est bon. J'ai cherché sur mes C.D. Epson et je ne trouve pas de
fichier portant ce nom.




Je vous propose de lancer la commande xsane avec strace :
strace xsane > trace.snapscan 2>&1
Et d'attendre d'avoie le plantage.

Vous récupérez le fichier trace.snapscan
Vous allez en fin de fichier et vous nous mettez disons les 30
dernières lignes.

Remarque : en utilisant la commande scanimage, le fichier trace sera
sans doute beaucoup moins lourd et ce sera sans doute plus facile de
faire le tri.



Merci Mario




Jean-Luc





--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Jean-Luc Coulon (f5ibh)
--=-ZU89rqAPQvQD7velXIyH
Content-Type: text/plain; charset=iso-8859-1; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 27.04.2005 18:52:54, Mario Lachance a écrit :
Bonjour,

Les dernières lignes du fichier trace.snapscan lorsque je lance
strace xsane sont:


Merci encore





oll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN,
revents=POLLIN}], 2, -1) = 1
ioctl(5, FIONREAD, [64]) = 0
read(5, "512476240&336_24534032301"...,



[ ... ]
munmap(0x4109e000, 93600) = 0
munmap(0x41122000, 54528) = 0
munmap(0x41130000, 50512) = 0
munmap(0x4113d000, 42144) = 0
munmap(0x41148000, 45984) = 0
exit_group(0) = ?



Non, il faut alors chercher un peu plus haut, on doit trouver le
message où il proteste qu'il ne trouve pas le firmware.

J-L

--=-ZU89rqAPQvQD7velXIyH
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCb8cZUdGGXzzGnNARAh8NAJ9JcvLkkmNoPnrdJS++hwQzi/W0hgCdFSdc
ulTfgp1OT/JBcPxKwLT7fMw =IasC
-----END PGP SIGNATURE-----

--=-ZU89rqAPQvQD7velXIyH--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Mario Lachance
Donc, les lignes en questions:
.
.
.
.
.

select(7, NULL, [6], NULL, {0, 1000}) = 1 (out [6], left {0, 10000})
gettimeofday({1114619532, 424161}, NULL) = 0
ioctl(6, USBDEVFS_REAPURBNDELAY, 0xbfff9ea4) = 0
semop(196608, 0x40cf2cbe, 1) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
open("/path/to/your/firmware/file.bin", O_RDONLY) = -1 ENOENT (No such
file or directory)
fstat64(2, {st_mode=S_IFREG|0644, st_size(2238, ...}) = 0
write(2, "[snapscan] ", 11[snapscan] ) = 11
write(2, "Cannot open firmware file /path/"..., 59Cannot open firmware
file /path/to/your/firmware/file.bin.
) = 59
fstat64(2, {st_mode=S_IFREG|0644, st_size(2470, ...}) = 0
write(2, "[snapscan] ", 11[snapscan] ) = 11
write(2, "Edit the firmware file entry in "..., 47Edit the firmware file
entry in snapscan.conf.
) = 47
uname({sys="Linux", node="maisondebian", ...}) = 0
getpid() = 2790
.
.
.
.
.


Merci encore et désolé de prendre de votre temps.

Mario

Jean-Luc Coulon (f5ibh) a écrit :

Le 27.04.2005 18:52:54, Mario Lachance a écrit :

Bonjour,

Les dernières lignes du fichier trace.snapscan lorsque je lance
strace xsane sont:


Merci encore





oll([{fd=3, events=POLLIN|POLLPRI}, {fd=5, events=POLLIN,
revents=POLLIN}], 2, -1) = 1
ioctl(5, FIONREAD, [64]) = 0
read(5, "512476240&336_24534032301"...,




[ ... ]

munmap(0x4109e000, 93600) = 0
munmap(0x41122000, 54528) = 0
munmap(0x41130000, 50512) = 0
munmap(0x4113d000, 42144) = 0
munmap(0x41148000, 45984) = 0
exit_group(0) = ?




Non, il faut alors chercher un peu plus haut, on doit trouver le
message où il proteste qu'il ne trouve pas le firmware.

J-L





--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Jean-Luc Coulon (f5ibh)
--=-gBLlltGrCtrKiTxEH8bq
Content-Type: text/plain; charset=iso-8859-1; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 27.04.2005 19:13:02, Mario Lachance a écrit :
Donc, les lignes en questions:
.
.
.
.
.

select(7, NULL, [6], NULL, {0, 1000}) = 1 (out [6], left {0, 10000})
gettimeofday({1114619532, 424161}, NULL) = 0
ioctl(6, USBDEVFS_REAPURBNDELAY, 0xbfff9ea4) = 0
semop(196608, 0x40cf2cbe, 1) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
open("/path/to/your/firmware/file.bin", O_RDONLY) = -1 ENOENT (No
such file or directory)



Il recherche explicitement un fichier qui s'appelle
/path/to/your/firmware/file.bin

C'est assez cocasse.

Ce qui veut dire que :
- soit vous avez un fichier de config avec cette entrée
- soit il n'utilise pas le fichier de config et prend une valeur par
défaut codée en dur dans le programme.


fstat64(2, {st_mode=S_IFREG|0644, st_size(2238, ...}) = 0
write(2, "[snapscan] ", 11[snapscan] ) = 11
write(2, "Cannot open firmware file /path/"..., 59Cannot open
firmware file /path/to/your/firmware/file.bin.
) = 59
fstat64(2, {st_mode=S_IFREG|0644, st_size(2470, ...}) = 0
write(2, "[snapscan] ", 11[snapscan] ) = 11
write(2, "Edit the firmware file entry in "..., 47Edit the firmware
file entry in snapscan.conf.
) = 47
uname({sys="Linux", node="maisondebian", ...}) = 0
getpid() = 2790




Ce qu'il faut faire amintenant, c'est remonter encore un peu dans votre
fichier trace et de chercher l'endroit où il va ouvrir le fichier
snapscan.conf.

Vous devriez trouver un open("/etc/sane.d/snapscan.conf"....
ou
open("/usr/share/sane/....

et ensuite il va dire qu'il trouve ou ne trouve pas le fichier en
question



Merci encore et désolé de prendre de votre temps.

Mario



J-L

--=-gBLlltGrCtrKiTxEH8bq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCb9XMUdGGXzzGnNARAvvNAJ4gy3JKjiFcwgIgmC/AhCLa0TELwQCePO9D
+pFCAV7vuvVB9jrpMXi+kTI =x5go
-----END PGP SIGNATURE-----

--=-gBLlltGrCtrKiTxEH8bq--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Txo
En ce mercredi 27 avril 2005 à 13:13:02 Mario Lachance
nous susurrait :

open("/path/to/your/firmware/file.bin", O_RDONLY) = -1 ENOENT (No such

file or directory)



Visiblement il existe encore un fichier de configuration où le chemin
vers le firmware est encore dans sa rédaction explicative.
firmware /path/to/my/firmware.bin
dans snapscan.conf doit être changé par le vrai chemin et le vrai non du
firmware.
Désolé si c'est déjà fait, j'ai effacé les messages précédent s.


--
-+- NON Dominique Marin http://txodom.free.fr NON -+-
Comme ils disent à Varsovie :
«Boire ou conduire ?... De toute façon, on n'a pas de voiture.»
-+- Coluche -+-
Avatar
Mario Lachance
IL n'y as aucun fichier snapscan.conf dans le fichier.


Le programme passe probablement tout les scanneurs inscrits dans le
fichier /usr/lib/sane pour ensuite vérifier leur configuration dans le
fichier /etc/sane.d/nom du scanneur pour ensuite faire le tour de la
machine pour voir si un tel scanneur est présent.

Il recommence par la suite..... pour un autre scanneur...


Il y-a-t-il un moyen d'éviter cette situation.

Excusez mon interprétation mais je ne suis pas un informaticien......

Je vous remercie et je vous laisse un exemple d'un partie du résultat de
tracesnapscan.

open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0755, st_size$576, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
getdents64(6, /* 139 entries */, 4096) = 4088
getdents64(6, /* 150 entries */, 4096) = 4080
getdents64(6, /* 132 entries */, 4096) = 4072
getdents64(6, /* 128 entries */, 4096) = 4096
getdents64(6, /* 1 entries */, 4096) = 24
getdents64(6, /* 128 entries */, 4096) = 4096
getdents64(6, /* 128 entries */, 4096) = 4096
getdents64(6, /* 133 entries */, 4096) = 4088
getdents64(6, /* 131 entries */, 4096) = 4080
getdents64(6, /* 143 entries */, 4096) = 4088
getdents64(6, /* 144 entries */, 4096) = 4024
getdents64(6, /* 78 entries */, 4096) = 2296
open("/dev/usbscanner", O_RDWR) = -1 ENODEV (No such device)
getdents64(6, /* 0 entries */, 4096) = 0
close(6) = 0
stat64("/dev/usb/", {st_mode=S_IFDIR|0755, , ...}) = 0
open("/dev/usb/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0755, , ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
getdents64(6, /* 85 entries */, 4096) = 2448
open("/dev/usb/scanner0", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner1", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner2", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner3", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner4", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner5", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner6", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner7", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner8", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner9", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner10", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner11", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner12", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner13", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner14", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner15", O_RDWR) = -1 ENODEV (No such device)
getdents64(6, /* 0 entries */, 4096) = 0
close(6) = 0
open("/usr/lib/sane/libsane-hp_rts88xx.so.1", O_RDONLY) = 6
close(6) = 0
open("/usr/lib/sane/libsane-hp_rts88xx.so.1", O_RDONLY) = 6
read(6, "177ELF111331220B"...,
512) = 512
fstat64(6, {st_mode=S_IFREG|0644, st_sizeÂ…936, ...}) = 0
old_mmap(NULL, 97036, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40c0f000
old_mmap(0x40c23000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
6, 0x13000) = 0x40c23000
old_mmap(0x40c25000, 6924, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40c25000
close(6) = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size$576, ...}) = 0
open("/dev/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0755, st_size$576, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
getdents64(6, /* 139 entries */, 4096) = 4088
getdents64(6, /* 150 entries */, 4096) = 4080
getdents64(6, /* 132 entries */, 4096) = 4072
getdents64(6, /* 128 entries */, 4096) = 4096
getdents64(6, /* 1 entries */, 4096) = 24
getdents64(6, /* 128 entries */, 4096) = 4096
getdents64(6, /* 128 entries */, 4096) = 4096
getdents64(6, /* 133 entries */, 4096) = 4088
getdents64(6, /* 131 entries */, 4096) = 4080
getdents64(6, /* 143 entries */, 4096) = 4088
getdents64(6, /* 144 entries */, 4096) = 4024
getdents64(6, /* 78 entries */, 4096) = 2296
open("/dev/usbscanner", O_RDWR) = -1 ENODEV (No such device)
getdents64(6, /* 0 entries */, 4096) = 0
close(6) = 0
stat64("/dev/usb/", {st_mode=S_IFDIR|0755, , ...}) = 0
open("/dev/usb/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0755, , ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
getdents64(6, /* 85 entries */, 4096) = 2448
open("/dev/usb/scanner0", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner1", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner2", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner3", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner4", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner5", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner6", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner7", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner8", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner9", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner10", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner11", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner12", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner13", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner14", O_RDWR) = -1 ENODEV (No such device)
open("/dev/usb/scanner15", O_RDWR) = -1 ENODEV (No such device)
getdents64(6, /* 0 entries */, 4096) = 0
close(6) = 0
open("/usr/lib/sane/libsane-hp4200.so.1", O_RDONLY) = 6
close(6) = 0
open("/usr/lib/sane/libsane-hp4200.so.1", O_RDONLY) = 6
read(6, "177ELF111331000'"...,
512) = 512
fstat64(6, {st_mode=S_IFREG|0644, st_sizeq888, ...}) = 0
old_mmap(NULL, 76388, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40c27000
old_mmap(0x40c38000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
6, 0x11000) = 0x40c38000
old_mmap(0x40c39000, 2660, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40c39000
close(6) = 0
stat64("/dev/", {st_mode=S_IFDIR|0755, st_size$576, ...}) = 0

Jean-Luc Coulon (f5ibh) a écrit :

Le 27.04.2005 19:13:02, Mario Lachance a écrit :

Donc, les lignes en questions:
.
.
.
.
.

select(7, NULL, [6], NULL, {0, 1000}) = 1 (out [6], left {0, 10000})
gettimeofday({1114619532, 424161}, NULL) = 0
ioctl(6, USBDEVFS_REAPURBNDELAY, 0xbfff9ea4) = 0
semop(196608, 0x40cf2cbe, 1) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
open("/path/to/your/firmware/file.bin", O_RDONLY) = -1 ENOENT (No
such file or directory)




Il recherche explicitement un fichier qui s'appelle
/path/to/your/firmware/file.bin

C'est assez cocasse.

Ce qui veut dire que :
- soit vous avez un fichier de config avec cette entrée
- soit il n'utilise pas le fichier de config et prend une valeur par
défaut codée en dur dans le programme.


fstat64(2, {st_mode=S_IFREG|0644, st_size(2238, ...}) = 0
write(2, "[snapscan] ", 11[snapscan] ) = 11
write(2, "Cannot open firmware file /path/"..., 59Cannot open
firmware file /path/to/your/firmware/file.bin.
) = 59
fstat64(2, {st_mode=S_IFREG|0644, st_size(2470, ...}) = 0
write(2, "[snapscan] ", 11[snapscan] ) = 11
write(2, "Edit the firmware file entry in "..., 47Edit the firmware
file entry in snapscan.conf.
) = 47
uname({sys="Linux", node="maisondebian", ...}) = 0
getpid() = 2790





Ce qu'il faut faire amintenant, c'est remonter encore un peu dans
votre fichier trace et de chercher l'endroit où il va ouvrir le
fichier snapscan.conf.

Vous devriez trouver un open("/etc/sane.d/snapscan.conf"....
ou
open("/usr/share/sane/....

et ensuite il va dire qu'il trouve ou ne trouve pas le fichier en
question



Merci encore et désolé de prendre de votre temps.

Mario




J-L





--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Jean-Luc Coulon (f5ibh)
--=-rcqX0bJcniLOq0wO9dLi
Content-Type: text/plain; charset=iso-8859-1; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 27.04.2005 20:53:37, Mario Lachance a écrit :
IL n'y as aucun fichier snapscan.conf dans le fichier.


Le programme passe probablement tout les scanneurs inscrits dans le
fichier /usr/lib/sane pour ensuite vérifier leur configuration dans
le fichier /etc/sane.d/nom du scanneur pour ensuite faire le tour de
la machine pour voir si un tel scanneur est présent.

Il recommence par la suite..... pour un autre scanneur...


Il y-a-t-il un moyen d'éviter cette situation.

Excusez mon interprétation mais je ne suis pas un informaticien......

Je vous remercie et je vous laisse un exemple d'un partie du résultat
de tracesnapscan.



Est-ce que là ne serait pas la clé de votre problème :

Il faut donc modifier le fichier /etc/sane.d/snapscan.conf pour avoir
ce qui suit :


#------------------------------ General ------------------------------
firmware /usr/lib/sane/firmware/ESFW30.BIN
#-------------------------------------------------------------------------- -
# No changes should be necessary below this line
#-------------------------------------------------------------------------- -
#on ne modifie donc pas ce qui suit, mais très important dans la partie
général on n'indique RIEN d'AUTRE que le firmware, par exemple IL NE
FAUT PAS indiquer que le scanner est en /dev/usb/scanner0 par exemple !

Voir le lien :

http://www.abul.org/article121.html
J-L

--=-rcqX0bJcniLOq0wO9dLi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCb+VDUdGGXzzGnNARAj90AJ9yxgRaJGxhVgQjxmYK3NR9Y3Zg4gCeKRIx
aNWDvnsRDYQmfaelAh0578g =+nzl
-----END PGP SIGNATURE-----

--=-rcqX0bJcniLOq0wO9dLi--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Mario Lachance
Merci à tous et particulièrement à Jean-Luc Coulon...


Le problème était que j'avais bien écrit ma ligne dans le fichier
snapscan.conf mais je n'avais pas décommenter l'exemple....

excusez-moi....

Merci encore

Mariol


Jean-Luc Coulon (f5ibh) a écrit :

Le 27.04.2005 20:53:37, Mario Lachance a écrit :

IL n'y as aucun fichier snapscan.conf dans le fichier.


Le programme passe probablement tout les scanneurs inscrits dans le
fichier /usr/lib/sane pour ensuite vérifier leur configuration dans
le fichier /etc/sane.d/nom du scanneur pour ensuite faire le tour de
la machine pour voir si un tel scanneur est présent.

Il recommence par la suite..... pour un autre scanneur...


Il y-a-t-il un moyen d'éviter cette situation.

Excusez mon interprétation mais je ne suis pas un informaticien......

Je vous remercie et je vous laisse un exemple d'un partie du
résultat de tracesnapscan.




Est-ce que là ne serait pas la clé de votre problème :

Il faut donc modifier le fichier /etc/sane.d/snapscan.conf pour avoir
ce qui suit :


#------------------------------ General ------------------------------
firmware /usr/lib/sane/firmware/ESFW30.BIN
#---------------------------------------------------------------------------

# No changes should be necessary below this line
#---------------------------------------------------------------------------

#on ne modifie donc pas ce qui suit, mais très important dans la
partie général on n'indique RIEN d'AUTRE que le firmware, par exemple
IL NE FAUT PAS indiquer que le scanner est en /dev/usb/scanner0 par
exemple !

Voir le lien :

http://www.abul.org/article121.html
J-L





--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Jean-Luc Coulon (f5ibh)
--=-LKm/LOAGoBHI2nXwwWxV
Content-Type: text/plain; charset=iso-8859-1; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 27.04.2005 21:24:50, Mario Lachance a écrit :
Merci à tous et particulièrement à Jean-Luc Coulon...


Le problème était que j'avais bien écrit ma ligne dans le fichier
snapscan.conf mais je n'avais pas décommenter l'exemple....

excusez-moi....



Ermmm ... Ça marche ?


Merci encore

Mariol



J-L

--=-LKm/LOAGoBHI2nXwwWxV
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCb+mvUdGGXzzGnNARAlfgAJ46KfA7MikMLpYN/4czT+2x4+pubACfWGaI
5ACbakMD9hUjGYuAVWwuxH8 =NOLx
-----END PGP SIGNATURE-----

--=-LKm/LOAGoBHI2nXwwWxV--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
1 2