1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
(re)Bonjour, |
5 |
Pour rappeler la petite histoire je tente d'installer sur ma gentoo mon |
6 |
imprimante espon stylus color 740 afin d'en faire un server |
7 |
d'impression. Hier j'ai tente de le faire par l'usb mais a premiere vu |
8 |
je dois avoir un probleme avec mon cable usb ou bien mes ports usb... je |
9 |
ne sais pas trop bien mais quoiqu'il en soit j'ai un cable // donc je |
10 |
vais l'utiliser... |
11 |
|
12 |
(Howto provenant de : http://www.gentoo.org/doc/fr/printing-howto.xml ) |
13 |
|
14 |
# emerge cups |
15 |
# emerge foomatic |
16 |
|
17 |
alfred root # lsmod |
18 |
Module Size Used by |
19 |
via_rhine 17032 0 |
20 |
mii 4096 1 via_rhine |
21 |
sbp2 20232 0 |
22 |
ohci1394 28932 0 |
23 |
ieee1394 87732 2 sbp2,ohci1394 |
24 |
usb_storage 26240 0 |
25 |
ehci_hcd 25092 0 |
26 |
usbcore 94820 3 usb_storage,ehci_hcd |
27 |
|
28 |
alfred root # modprobe parport |
29 |
|
30 |
alfred root # modprobe parport_pc |
31 |
|
32 |
alfred root # lsmod |
33 |
Module Size Used by |
34 |
parport_pc 26304 0 |
35 |
parport 32840 1 parport_pc |
36 |
via_rhine 17032 0 |
37 |
mii 4096 1 via_rhine |
38 |
sbp2 20232 0 |
39 |
ohci1394 28932 0 |
40 |
ieee1394 87732 2 sbp2,ohci1394 |
41 |
usb_storage 26240 0 |
42 |
ehci_hcd 25092 0 |
43 |
usbcore 94820 3 usb_storage,ehci_hcd |
44 |
|
45 |
(Note : Si vous utilisez un autre système que sysklogd, le nom du |
46 |
fichier de journalisation du noyau sera différent. |
47 |
|
48 |
Exemple de code 2.5 : Vérification des messages du noyau |
49 |
|
50 |
# tail /var/log/messages |
51 |
Vu que j'utilise metalog je vais chercher un peu ou peuvent bien se |
52 |
ranger c'est p'tits logs.... |
53 |
tiens ca ca me plait /var/log/everything/current si c'est pas ca... |
54 |
apres tout je suis super debutant et j'y vais au filling la...) |
55 |
|
56 |
alfred root # tail /var/log/everything/current |
57 |
Aug 25 10:54:15 [kernel] Linux version 2.6.8-gentoo (root@livecd) (gcc |
58 |
version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)) |
59 |
#1 Wed Aug 18 01:02:24 CEST 2004 |
60 |
Aug 25 10:54:16 [kernel] eth0: Setting full-duplex based on MII #8 link |
61 |
partner capability of 45e1. |
62 |
Aug 25 10:54:18 [sshd] Server listening on 0.0.0.0 port 22. |
63 |
Aug 25 10:54:18 [cron] (CRON) STARTUP (fork ok)_ |
64 |
Aug 25 10:59:16 [sshd] Accepted keyboard-interactive/pam for root from |
65 |
192.168.1.2 port 42969 ssh2 |
66 |
Aug 25 10:59:16 [sshd(pam_unix)] session opened for user root by root(uid=0) |
67 |
Aug 25 11:00:00 [CRON] (root) CMD (test -x /usr/sbin/run-crons && |
68 |
/usr/sbin/run-crons )_ |
69 |
Aug 25 11:00:00 [CRON] (root) CMD (rm -f |
70 |
/var/spool/cron/lastrun/cron.hourly)_ |
71 |
Aug 25 11:06:06 [kernel] parport0: PC-style at 0x378 (0x778) |
72 |
[PCSPP,TRISTATE] |
73 |
Aug 25 11:06:06 [kernel] parport0: Printer, EPSON Stylus COLOR 740 |
74 |
|
75 |
|
76 |
ah bah c'est cool "parport0: Printer, EPSON Stylus COLOR 740" deja il |
77 |
reconnait mon imprimante a premiere vue c'est deja ca... Mais j'ai pas |
78 |
|
79 |
Exemple de code 2.6 : Fichier /var/log/messages |
80 |
|
81 |
lp0: using parport0 (polling). |
82 |
|
83 |
et quand je tente |
84 |
Exemple de code 2.7 : Test de l'imprimante en utilisant cat |
85 |
|
86 |
# touch test.txt |
87 |
# echo "Hello World" > test.txt |
88 |
# cat test.txt > /dev/usb/lp0 |
89 |
|
90 |
Une alternative pour les imprimantes sur port parallèle : |
91 |
# cat test.txt > /dev/lp0 |
92 |
|
93 |
bah j'ai rien qui porte le nom de lp0 sur mon system... et je me |
94 |
retrouve bloqué du coup :( |
95 |
Une p'tite idée ? |
96 |
|
97 |
merci beaucoup |
98 |
|
99 |
seb |
100 |
- -- |
101 |
registered Linux user #344952 |
102 |
-----BEGIN PGP SIGNATURE----- |
103 |
Version: GnuPG v1.2.2 (GNU/Linux) |
104 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
105 |
|
106 |
iD8DBQFBLD1ZC47xH1+e90ARAnqzAJ0RKZP81pFns6novzu3UxFkj7mT6QCdFx9l |
107 |
lCEz+ggVU0yRf3Vyz2Z1ZKw= |
108 |
=qhn5 |
109 |
-----END PGP SIGNATURE----- |
110 |
|
111 |
-- |
112 |
gentoo-user-fr@g.o mailing list |