Re: Add new ASYNC_SPD_WARP13?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux