Re: [SLE] /dev/ttyS0 and /dev/ttys0 - What's the difference?
Dylan <dylan@dylan.me.uk> writes:
On Thursday 18 December 2003 12:28 pm, Mark Gray wrote:
Egads! /dev/cua* has returned. To have your program control your telescope you should be using /dev/cua0
Well, cua1 in fact, but that's just cos I don't seem to have a physical device for the ttyS0 / cua0. Hey-ho.
(Ages ago the cua* versions of the ttyS* devices were terminated (with extreme prejudice:-) and now I see that they are back, simplifying your problem entirely.) If you need more info just let me know. (I though it odd when checking devices.txt to see the cua* devices listed and just gave it a shot -- they work just like they used to. Anybody have any idea when they returned, or if they are now a SuSE only feature?)
I sort of take it that the ttyS* are modem oriented and the cua* are raw serial oriented, yes?
No, the cua* come back from the days when there was a dialer separate from the modem. It just became conventional to have the ttyS* configured for answer mode, and the cua* for originate mode when the two functions were combined in modern modems. This came to be a kernel maintenance nightmare, so the cua* was removed (only for a while apparently.) You can still use the ttyS* for originate with only a little bit of programming, and otherwise the two are exactly the same device.
participants (1)
-
Mark Gray