> On Tuesday 15 May 2001 23:20, Nicolas Pitre wrote:
> > Personally, I'd really like to see /dev/ttyS0 be the first detected
> > serial port on a system, /dev/ttyS1 the second, etc.
>
> There are well-defined rules for the first four on PC's. The ttySx
> better match the labels the OEM put on the box.
Sorry, but that turns out not to be the case.
There are some rules for devices called COMx (x=1..4, ports much more than
interrupts[1]), but I haven't ever seen a box that had a "ttySx" label
from the manufacturer. And you can easily renumber those; the BIOS uses a
4-entry lookup table for the ports.
[1] COM1=3F8, COM2=2F8, COM3=3E8, COM2=2E8
MfG Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/