#
93ea83e5 |
| 27-Feb-2016 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Allow custom baud rates for FTDI serial ports
- Termios: cf{get,set}{i,o}speed can handle arbitrary speed values. - The value is stored in the appropriate fields of the termios structure in this c
Allow custom baud rates for FTDI serial ports
- Termios: cf{get,set}{i,o}speed can handle arbitrary speed values. - The value is stored in the appropriate fields of the termios structure in this case. The old constants (stored in the flags) are preserved for BeOS binary compatibility. - Adjust the FTDI FT232* driver to accept custom rates, by replacing the hardcoded regster values with a function that will compute it according to FTDI documentation (confirmed giving the same values for the existing baudrates).
show more ...
|
#
7aa661d4 |
| 19-Jan-2008 |
Michael Lotz <mmlr@mlotz.ch> |
Rework of the usb_serial driver: * Refactored everything to C++ with the different devices as subclasses * Added proper ACM detection with parsing of the ACM descriptors * Added device transfer error
Rework of the usb_serial driver: * Refactored everything to C++ with the different devices as subclasses * Added proper ACM detection with parsing of the ACM descriptors * Added device transfer error handling and fixed some concurency issues * Big cleanup to conform to our style guide
This should make at least ACM stable to use. Commiting this over my K850i with ACM compliant USB modem and UMTS data connection. Note that support for all other device classes (Prolific, FTDI and KLSI) is untested but should work the same as before. Note also that since we currently lack a TTY module this will only build/work for R5 or Dano with the proper TTY headers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23634 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|