site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -- Terry On 11.09.2007, at 22:35, Thomas Hauk wrote: Does a similar software package to com0com exist for Mac OS X? Cheers, T Andreas Fink Fink Consulting GmbH Global Networks Schweiz AG BebbiCell AG _______________________________________________ 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... Yes, for certain classes of the problem, you can use the slave e course), but the code to glue them together can live in user space. The problems where this works all assume that the seral port acts like it has a null-modem cable hooking it to another serial port (i.e. all out of band signals over the wire are meaningless). The interesting driver (which has to be done in kernel space) is a device driver that looks like a serial port to a vmware client, and looks like a serial port to the host OS on the other end. That lets you do serial gdb from the host OS to your victim (Julian Elischer wrote one of these for FreeBSD at one point in time). Effectively, that gets you two machine debugging on one machine. You could use something like this on Mac OS X to debug say Linux or FreeBSD clients from a Mac OS X host. On Sep 12, 2007, at 1:06 PM, Andreas Fink wrote: This sounds like something which would have been useful in the past to me many times. Are you saying this can be done completely in userspace? I'm doing cross-platform development of a product that accesses custom hardware connected to the USB port, which acts like a serial device. On Windows I can send and receive data to the COM port associated with the device. For testing, I downloaded the open source com0com project, which creates a pair of virtual serial ports which are connected to each other; the output for one is the input for the other. This allows me to test my software against a "virtual device" program I have written. In this sense, I guess it would create a pair of psuedo-ttys that are connected to each other in the background. I read through the archives of this list and found a similar question a while back, but the question wasn't phrased clearly and it isn't the same question as I am posing above, so that's why I'm writing now. If an existing solution doesn't exist, I suppose I could write my own. Any thoughts on the complexity of such a task? This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert