[haiku-bugs] Re: [Haiku] #8734: SerialConnect replacement

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • Date: Fri, 12 Oct 2012 00:18:38 -0000

#8734: SerialConnect replacement
----------------------------+----------------------------
   Reporter:  pulkomandy    |      Owner:  pulkomandy
       Type:  enhancement   |     Status:  new
   Priority:  low           |  Milestone:  R1
  Component:  Applications  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by kp3ft):

 Replying to [comment:8 axeld]:
 > For this you actually do not need SerialConnect (which is more or less
 just a Terminal that connects to the serial interface), but an application
 like stty to configure the port. Then you can just do a
 >
 > {{{$ cat /dev/ports/serial/0 > my-log-file}}}.
 >
 > Something like this should also work under BeOS. However, Haiku still
 does not have a working serial driver unless you have a USB serial
 adapter.

 Hi, thanks for your help.  I'm not sure if this isn't the right venue for
 getting advice, but I've been testing out a BeOS machine so I can then
 duplicate it using a USB-Serial adaptor with Haiku.  Unfortunately not
 having any luck.   I've searched Google and BeOS documentation extensively
 for stty commands to figure it out myself first, but can't seem to get it
 to work.   I tried the following:

 Connected BeOS and Windows machines using serial ports and null modem, to
 verify successful connection.  Ran SerialConnect on serial port #1 and it
 received ASCII text fine from Windows.  Closed SerialConnect and ran in
 Terminal:
 stty 9600 -parenb -cstopb cs8 ; cat  < /dev/ports/serial1

 But, now no text received from Windows in the BeOS Terminal window.  It
 must be opening the port, because there are no error messages when I run
 it in Terminal, and I tried running it when SerialConnect is running and
 it returns an error saying the port is busy.   Is there something I'm
 doing wrong with the Terminal command?

 also tried sending ASCII out to Windows HyperTerminal from BeOS, but no
 luck:

 stty 9600 -parenb -cstopb cs8 ; cat  > /dev/ports/serial1

 Even tried rebooting and running the Terminal commands, but still no go.

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

Other related posts: