Re: Serial port arbitration (UUCP device locking protocol?)
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com I couldn't find any documentation or discussion of serial port arbitration in darwin or Mac OS X. The situation is the classic one: I want my program to listen on the modem port but yield it to any other program wishing to use it. The efax man page mentions the "UUCP device locking protocol", but this appears to be useful only if all other applications adhere to it. Is Open Transport's arbitration mechanism supported under Mac OS X? If so, what does it use on the darwin level? I also wouldn't want the fact that I'm listening on the device to interfere with sleep. Do I need to listen for system power notifications and close the port when the system is requesting permission to go to sleep? As with all BSDs, you should open the call-in device (/dev/tty*). = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Programs that want to use the line to call out will open the call-out device (/dev/cu*) Typically, this means you open /dev/tty.modem, and others will open /dev/cu.modem. Having the call-in device open should not prevent the system from sleeping. This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Smith