[haiku-bugs] Re: [Haiku] #8789: [USB serial] only performs BSerialPort::Read() in 'blocking' mode

  • From: "phoudoin" <trac@xxxxxxxxxxxx>
  • Date: Wed, 09 Jan 2013 15:11:24 -0000

#8789: [USB serial] only performs BSerialPort::Read() in 'blocking' mode
---------------------------+----------------------------
   Reporter:  dsuden       |      Owner:  mmlr
       Type:  bug          |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:  Drivers/USB  |    Version:  R1/Development
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:
Has a Patch:  0            |   Platform:  x86
---------------------------+----------------------------

Comment (by phoudoin):

 Replying to [comment:13 ttcoder]:
 > Also had to make my code more flexible for parsing lines, since the USB-
 serial driver appears to convert some \r to \n and vice-versa, for some
 reason.

 Sounds like BSerialPort object (or usb_serial driver) is not setting the
 port in canonical mode by default.
 I will look into it why.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8789#comment:16>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: