History log of /haiku/src/kits/device/SerialPort.cpp (Results 1 – 14 of 14)
Revision Date Author Comments
# 071ff801 09-May-2023 Augustin Cavalier <waddlesplash@gmail.com>

BSerialPort: Implement WaitForInput() using wait_for_objects.

Fixes #17867.

Change-Id: Ib59781128d5d21317c4042f250333b177a0ed91b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6432
Reviewed-by:

BSerialPort: Implement WaitForInput() using wait_for_objects.

Fixes #17867.

Change-Id: Ib59781128d5d21317c4042f250333b177a0ed91b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6432
Reviewed-by: waddlesplash <waddlesplash@gmail.com>

show more ...


# 9d06690e 12-Jul-2019 Augustin Cavalier <waddlesplash@gmail.com>

userland: Pass more sizes with ioctls where we can.

No "functional" change intended.


# d3e73d45 21-Dec-2013 Adrien Destugues <pulkomandy@pulkomandy.tk>

Use POSIX API to set serial port speed.

POSIX says CBAUD is reserved, and provides an easier way to set the
speed using a dedicated function.


# 327a88fb 12-Sep-2008 Fredrik Modeen <fredrik@modeen.se>

fixes pointed out by Axel, and style changes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27463 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ee652e3a 12-Sep-2008 Fredrik Modeen <fredrik@modeen.se>

reverted to 11769 and added (std::nothrow)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27452 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1d9a877 12-Sep-2008 Fredrik Modeen <fredrik@modeen.se>

Fixed CID 1031: removed check _fDevice for NULL as we do new BList in constructor also removed temp var count as _fDevice->CountItems() should return 0 if empty

git-svn-id: file:///srv/svn/repos/hai

Fixed CID 1031: removed check _fDevice for NULL as we do new BList in constructor also removed temp var count as _fDevice->CountItems() should return 0 if empty

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27438 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# bdd59139 10-Nov-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Small cleanup, added a comment to some obscure code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9898 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8af87c1d 16-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Ok, last time (at least for today). 0 is a valid fd number


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7222 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d60c514 16-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Last famous words... Corrected some issues pointed out by Axel


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7221 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2e90a0fc 16-Apr-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Finally BSerialPort works !!
- Fixed I/O Error issue
- switched from sprintf to snprintf where appropriate
- added O_EXCL flag to open()
- added many TODO items (mostly for further investigation, the

Finally BSerialPort works !!
- Fixed I/O Error issue
- switched from sprintf to snprintf where appropriate
- added O_EXCL flag to open()
- added many TODO items (mostly for further investigation, the class should be complete)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7220 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# d3769960 21-Jan-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added doxygen style comments. Fixed a bug in open() return value. The class still doesn't work as it should.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2526 a95241bf-73f2-0310-859d-f6bbb

Added doxygen style comments. Fixed a bug in open() return value. The class still doesn't work as it should.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2526 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# 7cf3b2f4 02-Jan-2003 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Documented the class, some small changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2348 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 27a24b9f 11-Dec-2002 beveloper <beveloper@nowhere.fake>

BSerialPort, not very much tested. Written by Jack Burton.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2225 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2e54c164 11-Aug-2002 beveloper <beveloper@nowhere.fake>

start with libdevice.so


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@694 a95241bf-73f2-0310-859d-f6bbb57e9c96