site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com It should be available on any 10.4.x system. #include <IOKit/serial/ioss.h> The ioctl is IOSSIOSPEED. It takes a single speed_t argument. Godfrey On 26/07/2006, at 4:06 AM, Sean McBride wrote: Hi all, Thanks, PS: I hope this list is appropriate, sorry if not. -- ____________________________________________________________ Sean McBride, B. Eng sean@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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/gvdl%40mac.com _______________________________________________ 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... Actually you don't have to, there is an ioctl that will allow you to ask the driver for any random speed. I notice that the highest speed termios.h defines is B230400. I have a serial device that supports higher speeds such as 921600. Is it not present in termios.h because it is unsupported? tcsetattr() returns success after setting the speed to 921600. Do the supported speeds depend exclusively on the serial hardware (USB-serial adapter these days)? Or does the OS have influence on which speeds are allowed? I ask all this because my device works at many speeds, except the highest speed it supposedly supports. I'm trying to figure out if this is the device's fault, the OS's, or the USB-Serial Adapter's. This email sent to gvdl@mac.com This email sent to site_archiver@lists.apple.com