Re: scanneur perfection 1670
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, "\5\1\247\6\240&\336\0_\0\0\0\245\0\340\3\0\0\0\0\230\1"..., 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, "\n\30\2\0\212\0\340\3\31\0\v\0_\0\0\0\0\0\30\0\22\253Q"...,
252) = 252
read(5, "\22\0\250\6\212\0\340\3\212\0\340\3\0\0\0\0\0\0\0\0\0\0"...,
32) = 32
read(5, "\n\0\250\6\213\0\340\3\0\370\377\277d=\f\10\360Q\217\10"...,
32) = 32
read(5, "\n\1\250\6\212\0\340\3\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\310"...,
32) = 32
read(5, "\t\5\250\6\212\0\340\3\0\0\0\0\0\0\0\0 \307\246\10\260"..., 32)
= 32
read(5, "\10\0\250\6\243&\336\0_\0\0\0\245\0\340\3\0\0\0\0\230\1"...,
32) = 32
read(5, "\10\1\250\6\243&\336\0_\0\0\0\212\0\340\3\245\0\340\3\230"...,
32) = 32
read(5, "\22\0\252\6\245\0\340\3\245\0\340\3\0>\f\10\240}\202\10"...,
32) = 32
read(5, "\21\0\252\6\245\0\340\3\245\0\340\3\35\362\f\10\37\0\0"..., 32)
= 32
read(5, "\21u\277\6\212\0\340\3\212\0\340\3\230\370\377\277\237"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3>\1\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3\345\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3g\0\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3A\1\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3\7\1\0\0\243&\336\0\1\35\340@\0"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3\343\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3#\0\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3f\1\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3\354\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3\353\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3\356\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3\342\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3\341\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3\340\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3$\0\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3(\0\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3\337\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3C\0\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3%\0\0\0\243&\336\0\1\35\340@\0\0"...,
32) = 32
read(5, "\34\0\277\6\212\0\340\3\333\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3\'\0\0\0\243&\336\0\1\35\340@\0"..., 32)
= 32
read(5, "\34\0\277\6\212\0\340\3\332\0\0\0\243&\336\0\1\35\340@"..., 32)
= 32
read(5, "\1\1\302\6\0\0\0\0\20\0\0\20\0\0\0\0\0\0\20\0\0\0\0\0\0"...,
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
Reply to: