On May 23, 2005, at 2:23 AM, Marc Palluat De Besset wrote:
Hi,
Sorry if i'm posting to the wrong list...
I'm trying to communicate with a USB device (enttec's OpenDMX USB
device http://www.enttec.com/opendmxusb.php). This device has a
driver that creates a device file in /dev.
The problem is that this device requires communications to be at
250 000 bauds. Mac OS X is unfortunately unable to communicate at
that speed.
On Tiger, you can now specify any arbitrary baud rate. There's a new
ioctl IOSSIOSPEED in IOKit/serial/ioss.h where you just specify the
exact speed you want. For example:
#include <IOKit/serial/ioss.h>
speed_t speed = 250000;
ret = ioctl(fd, IOSSIOSPEED, &speed);
Could someone familiar with Darwin's source code tell me how to
modify Darwin to enable serial communications at 250 000 bauds ?
Thanks a lot,
Marc
--gc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-drivers/gcummings%
40apple.com
This email sent to email@hidden
__________________________________________________________________
Garth Cummings
Apple Developer Technical Support email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden
References:
>(no subject) (From: Marc Palluat De Besset <email@hidden>)