site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcawMdkrF7EWOhwlEduX4QAKJ4zfig== Thread-topic: what decides allowable serial speeds? User-agent: Microsoft-Entourage/11.2.4.060510 You might want to look at the SerialFamily.kext source. There is a table in there of supported speeds. You might have to hack it to support your speed if it's not in there. Of course you'd need to update this whereever you deployed your hardware. -- Chris D. Logsdon Senior Software Engineer CharisMac Engineering, Inc. chrisl@charismac.com On 7/25/06 11:06 AM, "Sean McBride" <sean@rogue-research.com> wrote:
Hi all,
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.
Thanks,
PS: I hope this list is appropriate, sorry if not.
_______________________________________________ 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... This email sent to site_archiver@lists.apple.com