1 |
Mick wrote: |
2 |
> On Saturday 02 September 2006 20:29, d2clon wrote: |
3 |
> You need to enable some virtual (COM) ports. In your kernel configuration you |
4 |
> will need to set additional serial ports. Go to: |
5 |
|
6 |
This is how I have done: |
7 |
----------------------------------------- |
8 |
<*> 8250/16550 and compatible serial support |
9 |
|
10 |
[ ] Console on 8250/16550 and compatible serial port |
11 |
|
12 |
< > 8250/16550 PCMCIA device support |
13 |
|
14 |
[ ] 8250/16550 device discovery via ACPI namespace |
15 |
|
16 |
(4) Maximum number of 8250/16550 serial ports |
17 |
|
18 |
[*] Extended 8250/16550 serial driver options |
19 |
|
20 |
[*] Support more than 4 legacy serial ports |
21 |
|
22 |
[*] Support for sharing serial interrupts |
23 |
|
24 |
[ ] Autodetect IRQ on standard ports (unsafe) |
25 |
|
26 |
[ ] Support RSA serial ports |
27 |
|
28 |
--- Non-8250 serial port support |
29 |
|
30 |
< > Digi International NEO PCI Support |
31 |
----------------------------------------- |
32 |
|
33 |
I hope I did well. |
34 |
This is my kernel: |
35 |
----------------------------------------- |
36 |
biit linux # uname -a |
37 |
Linux biit 2.6.15-gentoo-r1 #13 SMP PREEMPT Mon Sep 4 09:49:09 CEST 2006 |
38 |
i686 Intel(R) Pentium(R) M processor 1500MHz GNU/Linux |
39 |
----------------------------------------- |
40 |
|
41 |
I reboot the system and then I continue with the sequence: |
42 |
----------------------------------------- |
43 |
biit ~ # setserial /dev/ttyS2 uart none |
44 |
----------------------------------------- |
45 |
That's ok, not errors, nothing into syslog, nothing into dmesg. |
46 |
|
47 |
----------------------------------------- |
48 |
biit ~ # /sbin/modprobe smsc_ircc2 |
49 |
FATAL: Error inserting smsc_ircc2 |
50 |
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko): |
51 |
No such device |
52 |
----------------------------------------- |
53 |
This module doesn't work, some thing appeared into syslog: |
54 |
|
55 |
----------------------------------------- |
56 |
Sep 5 11:54:13 localhost kernel: NET: Registered protocol family 23 |
57 |
----------------------------------------- |
58 |
But I don't know if some thing to be with. |
59 |
|
60 |
----------------------------------------- |
61 |
biit ~ # /sbin/modprobe smsc_ircc2 |
62 |
FATAL: Error inserting smsc_ircc2 |
63 |
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko): |
64 |
No such device |
65 |
----------------------------------------- |
66 |
Nothing into syslog, nothing into dmesg |
67 |
|
68 |
----------------------------------------- |
69 |
biit ~ # modprobe ali-ircc |
70 |
FATAL: Error inserting ali_ircc |
71 |
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/ali-ircc.ko): No |
72 |
such device |
73 |
----------------------------------------- |
74 |
Nothing into syslog, nothing into dmesg |
75 |
|
76 |
----------------------------------------- |
77 |
biit ~ # modprobe donauboe |
78 |
----------------------------------------- |
79 |
Nothing into syslog, nothing into dmesg |
80 |
|
81 |
----------------------------------------- |
82 |
biit ~ # modprobe irtty-sir |
83 |
----------------------------------------- |
84 |
Nothing into syslog, nothing into dmesg |
85 |
|
86 |
----------------------------------------- |
87 |
biit ~ # modprobe nsc-ircc |
88 |
FATAL: Error inserting nsc_ircc |
89 |
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/nsc-ircc.ko): No |
90 |
such device |
91 |
----------------------------------------- |
92 |
|
93 |
dmesg: |
94 |
------- |
95 |
nsc-ircc, Found chip at base=0x04e |
96 |
nsc-ircc, driver loaded (Dag Brattli) |
97 |
nsc_ircc_open(), can't get iobase of 0x2f8 |
98 |
|
99 |
syslog: |
100 |
------- |
101 |
Sep 5 12:00:30 localhost kernel: nsc-ircc, Found chip at base=0x04e |
102 |
Sep 5 12:00:30 localhost kernel: nsc-ircc, driver loaded (Dag Brattli) |
103 |
Sep 5 12:00:30 localhost kernel: nsc_ircc_open(), can't get iobase of 0x2f8 |
104 |
Sep 5 12:00:30 localhost kernel: nsc-ircc, Found chip at base=0x04e |
105 |
Sep 5 12:00:30 localhost kernel: nsc-ircc, driver loaded (Dag Brattli) |
106 |
Sep 5 12:00:30 localhost kernel: nsc_ircc_open(), can't get iobase of 0x2f8 |
107 |
|
108 |
----------------------------------------- |
109 |
biit ~ # modprobe sir-dev |
110 |
----------------------------------------- |
111 |
|
112 |
----------------------------------------- |
113 |
biit ~ # modprobe smsc-ircc2 |
114 |
FATAL: Error inserting smsc_ircc2 |
115 |
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/smsc-ircc2.ko): |
116 |
No such device |
117 |
----------------------------------------- |
118 |
|
119 |
----------------------------------------- |
120 |
biit ~ # modprobe stir4200 |
121 |
----------------------------------------- |
122 |
syslog: |
123 |
------- |
124 |
Sep 5 12:02:57 localhost kernel: usbcore: registered new driver stir4200 |
125 |
|
126 |
dmesg: |
127 |
------ |
128 |
usbcore: registered new driver stir4200 |
129 |
|
130 |
----------------------------------------- |
131 |
biit ~ # modprobe via-ircc |
132 |
----------------------------------------- |
133 |
|
134 |
----------------------------------------- |
135 |
biit ~ # modprobe vlsi_ir |
136 |
----------------------------------------- |
137 |
|
138 |
----------------------------------------- |
139 |
biit ~ # modprobe w83977af_ir |
140 |
FATAL: Error inserting w83977af_ir |
141 |
(/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/irda/w83977af_ir.ko): |
142 |
No such device |
143 |
----------------------------------------- |
144 |
|
145 |
|
146 |
This is my actual lsmod: |
147 |
----------------------------------------- |
148 |
biit ~ # lsmod |
149 |
Module Size Used by |
150 |
vlsi_ir 25480 0 |
151 |
via_ircc 25108 0 |
152 |
stir4200 12420 0 |
153 |
irtty_sir 6784 0 |
154 |
sir_dev 15564 1 irtty_sir |
155 |
donauboe 12032 0 |
156 |
irda 123064 5 vlsi_ir,via_ircc,stir4200,sir_dev,donauboe |
157 |
crc_ccitt 2816 3 vlsi_ir,donauboe,irda |
158 |
ieee80211_crypt_wep 5248 1 |
159 |
ipw2100 136932 0 |
160 |
ieee80211 46696 1 ipw2100 |
161 |
ieee80211_crypt 6016 2 ieee80211_crypt_wep,ieee80211 |
162 |
snd_intel8x0 30876 2 |
163 |
snd_ac97_codec 94496 1 snd_intel8x0 |
164 |
snd_ac97_bus 2944 1 snd_ac97_codec |
165 |
----------------------------------------- |
166 |
|
167 |
Now I try the irattach: |
168 |
----------------------------------------- |
169 |
biit ~ # irattach irda0 -s |
170 |
----------------------------------------- |
171 |
syslog: |
172 |
--------- |
173 |
Sep 5 12:06:40 localhost irattach: executing: '/sbin/modprobe irda0' |
174 |
Sep 5 12:06:40 localhost irattach: + FATAL: Module irda0 not found. |
175 |
Sep 5 12:06:40 localhost irattach: Trying to load module irda0 exited |
176 |
with status 1 |
177 |
Sep 5 12:06:40 localhost irattach: executing: 'echo biit > |
178 |
/proc/sys/net/irda/devname' |
179 |
Sep 5 12:06:40 localhost irattach: executing: 'echo 1 > |
180 |
/proc/sys/net/irda/discovery' |
181 |
Sep 5 12:06:40 localhost irattach: Starting device irda0 |
182 |
Sep 5 12:06:40 localhost irattach: ioctl(SIOCGIFFLAGS): No such device |
183 |
Sep 5 12:06:40 localhost irattach: Stopping device irda0 |
184 |
Sep 5 12:06:40 localhost irattach: ioctl(SIOCGIFFLAGS): No such device |
185 |
Sep 5 12:06:40 localhost irattach: exiting ... |
186 |
|
187 |
dmesg: |
188 |
----- |
189 |
(nothing) |
190 |
|
191 |
|
192 |
If I try with irda and not with irda0: |
193 |
----------------------------------------- |
194 |
biit ~ # irattach irda -s |
195 |
Could not get device name list. |
196 |
----------------------------------------- |
197 |
Nothing into syslog, nothing into dmesg. |
198 |
|
199 |
|
200 |
I'll try to start the irda service: |
201 |
----------------------------------------- |
202 |
biit ~ # /etc/init.d/irda start |
203 |
* Starting IrDA ... [ ok ] |
204 |
biit ~ # /etc/init.d/irda status |
205 |
* status: started |
206 |
----------------------------------------- |
207 |
That's fine.. but into syslog: |
208 |
----- |
209 |
Sep 5 12:09:32 localhost irattach: Stopping device /dev/ttyS2 |
210 |
Sep 5 12:09:32 localhost irattach: ioctl(SIOCGIFFLAGS): No such device |
211 |
Sep 5 12:09:32 localhost irattach: exiting ...--- |
212 |
|
213 |
|
214 |
Try to found some thing into irda: |
215 |
----------------------------------------- |
216 |
biit ~ # irdadump |
217 |
0 packets received by filter |
218 |
biit ~ # cat /proc/net/irda/irlap |
219 |
----------------------------------------- |
220 |
|
221 |
Nothing... |
222 |
|
223 |
|
224 |
This is my dmesg: http://paste.lisp.org/display/25422 |
225 |
This is my .config: http://paste.lisp.org/display/25423 |
226 |
|
227 |
What I can doing wrong? |
228 |
Thanks so much. |
229 |
|
230 |
d2clon. |
231 |
|
232 |
-- |
233 |
http://www.flickr.com/photos/d2clon/ |
234 |
http://enamsterdam.blogspot.com/ |
235 |
-- |
236 |
gentoo-user@g.o mailing list |