> This raises a question I've been wondering about for some time. While > the kernel and the serial driver API support arbitrary baud rates, > termios doesn't AFAICT. > > How does one use the standard POSIX serial port API to obtain an > abritrary baud rate? The POSIX API is completely broken in this respect. So the kernel provides its own interface. > The only way I can find to get arbitrary baud rates from a user > perspective is to use the ASYNC_SPD_xxxx mechanism. Which is also not POSIX Simple example app: http://www.kerneltrap.com/mailarchive/linux-usb/2008/10/2/3484644 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html