Re: How to create virtual COM port
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Feb 26, 2006, at 8:46 PM, Pavan Chebbi wrote: = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I wanted to know how do we create and register a virtual COM port. (MAC OS X). What aspects of a true serial device do you need to emulate? Is it necessary to e.g. support the setting of line speed, modem control bits and the like? If not, you may find that the pseudo-tty (pty) interface is more than adequate for your needs. Is it possible at the user level or do we have to code in the kernel. Kindly provide some inputs on this. pty's can be manipulated entirely in user space. Typically, regular ttys are only backed by real hardware, and thus they need to be implemented in the kernel. Is there any open source that I can refer to which does the same job. Without knowing what it is that you are actually trying to achieve, it is difficult to know. Perhaps you could describe your application and how you intend to use this interface so that we can offer some more suggestions? This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Smith