1 |
On Fri, 25 Dec 2009 16:56:00 -0600 |
2 |
Dale wrote: |
3 |
|
4 |
...[snip]... |
5 |
|
6 |
> Are you sure you enabled this in the kernel? It is under Device |
7 |
> Drivers > Character devices > Serial Drivers then enable these: |
8 |
> |
9 |
> <*> 8250/16550 and compatible serial support |
10 |
> (4) Maximum number of 8250/16550 serial ports |
11 |
> (4) Number of 8250/16550 serial ports to register at runtime |
12 |
> |
13 |
> At least that works for my dial-up modem and my UPS. |
14 |
> |
15 |
> You may be able to put two instead of four but as I said, it works |
16 |
> here like this. I only have two ports tho. |
17 |
> |
18 |
> Dale |
19 |
> |
20 |
> :-) :-) |
21 |
|
22 |
Hello Dale, |
23 |
|
24 |
My 32-bit gentoo system, which is the one in question, has the |
25 |
following options set: |
26 |
|
27 |
# |
28 |
# Serial drivers |
29 |
# CONFIG_SERIAL_8250=m |
30 |
CONFIG_FIX_EARLYCON_MEM=y |
31 |
CONFIG_SERIAL_8250_PCI=m |
32 |
# CONFIG_SERIAL_8250_CS is not set |
33 |
CONFIG_SERIAL_8250_NR_UARTS=4 |
34 |
CONFIG_SERIAL_8250_RUNTIME_UARTS=4 |
35 |
# CONFIG_SERIAL_8250_EXTENDED is not set |
36 |
|
37 |
This should be sufficient to create /dev/ttyS0 thru /dev/ttyS3, though |
38 |
they are not created. |
39 |
|
40 |
(In truth NR_UARTS=2 is the proper value.) |
41 |
|
42 |
Using MAKEDEV, I can manually create ttyS0 thru ttyS3. |
43 |
|
44 |
Running "stty -f /dev/ttyS? -a" indicates that ttyS0 and ttyS1 are fine |
45 |
while ttyS2 and ttyS3" gives: |
46 |
|
47 |
stty: /dev/ttyS2: Input/output error |
48 |
stty: /dev/ttyS3: Input/output error |
49 |
|
50 |
Regards, |
51 |
|
52 |
David |