Changes between Initial Version and Version 1 of Ticket #8789, comment 21


Ignore:
Timestamp:
May 15, 2023, 1:49:27 AM (19 months ago)
Author:
bipolar

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8789, comment 21

    initial v1  
    11FWIW, the test case from comment:11 also blocks when opening `/dev/port/pc_serial1` (with a loop-back cable connected to it).
    22
    3 Modifying Haiku's `BSerialPort::_DeviceControl()` so it (un)sets `O_NONBKLOCK` depending on the state of BSerialPort's `fBlocking`, makes that test run as expected (for both SetBlocking() true/false values).
     3Modifying Haiku's `BSerialPort::_DeviceControl()` so it (un)sets `O_NONBLOCK` depending on the state of BSerialPort's `fBlocking`, makes that test run as expected (for both SetBlocking() true/false values).
    44
    55Guess I found one of the many reasons why my old serial_mouse driver misbehaves in Haiku, but works otherwise OK on BeOS.