Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)



Hi Marc,

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

http://developer.apple.com/technicalsupport

Spotlight on Innovation

Worldwide Developers Conference 2005
June 6-10 in San Francisco
http://developer.apple.com/wwdc


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.