|
|
||
|
||
|
|
| Red Hat Documentation |
7. Serial Port Devices /dev/ttyS2, etc.For creating devices in the device directory see Creating Devices In the /dev directory
7.1 Serial Port Device Names & NumbersDevices in Linux have major and minor numbers. Each serial port may have 2 possible names in the /dev directory: ttyS and cua. Their drivers behave slightly differently. The cua device is deprecated and will not be used in the future. See the Modem-HOWTO section: "The cua Device". Dos/Windows use the COM name while the
Note that all distributions should come with ttyS devices (and many
distributions have the obsolete cua device). You can verify this by
typing (don't feel bad if you don't find any obsolete cua devices):
7.2 Link ttySN to /dev/modem ? On some installations, two extra devices will be created,
There has been some discussion on the merits of
7.3 Notes For Multiport BoardsFor board addresses, and IRQs, look at the
7.4 Creating Devices In the /dev directoryIf you don't have a device, you will have to create it with the
You can use the MAKEDEV script, which lives in /dev.
See the man page for it. This simplifies the making of devices. For
example, if you needed to make the devices for ttyS0 you
would type:
This handles the devices creation and should set the correct permissions.
Next Previous Contents |
|
|