setting buffer sizes for the serial devices

Hello everyone,

How can I set the size of the read buffer QNX6 uses for the serial devices?
I’m running a program that receives large quantities of data over the serial
port at 115200 baud. The windows version of the software works fine, but
the QNX version is not able to handle the amount of data I’m sending. I
haven’t yet enabled any type of flow control, which may also help solve the
problem, but I’d like to know how to set the size of the read buffer.

Thanks in advance,
Jason

Create an “rc.local” file in “/etc/rc.d”. This is a shell script that is
executed when the system starts. In “rc.local”, add the command “slay
devc-ser8250” to kill the already running serial driver. Next, run
devc-ser8250 with the appropriate -I and -O options (refer to documentation)
to set the input and outbut buffer sizes. If you need different buffer
sizes for different ports, you can invoke multiple instances of devc-ser8250
using the -u option.

Please let me know how this works for you. I too am working with serial
devices (we have developed a custom wireless network controller, where we
are sending and receiving messages over the network in a full duplex fashion
at 57,600 baud). I am experiencing problems with large amounts of
bidirectional data over the serial link (devc-ser8250 seems to “hang” after
a few days). I am not sure if it is hardware handshaking related, or if
there is a defect in devc-ser8250.


Randy Aeberhardt
<raeberhardt@tantalus-systems.com>
<www.tantalus-systems.com>


“Jason Wycoff” <jason@socratec.de> wrote in message
news:a725fl$ret$1@inn.qnx.com

Hello everyone,

How can I set the size of the read buffer QNX6 uses for the serial
devices?
I’m running a program that receives large quantities of data over the
serial
port at 115200 baud. The windows version of the software works fine, but
the QNX version is not able to handle the amount of data I’m sending. I
haven’t yet enabled any type of flow control, which may also help solve
the
problem, but I’d like to know how to set the size of the read buffer.

Thanks in advance,
Jason

Thanks a bunch for the tips with the rc files. I’ve spent hours looking
through these directories trying to figure out where the system drivers are
called and whether their arguments can be modified. Your help is much
appreciated. I’ll keep you posted as to whether we experience any problems
similar to those you described.
Regards,
Jason

“Randy Aeberhardt” <raeberhardt@tantalus-systems.com> wrote in message
news:a75cic$c08$1@nntp.qnx.com

Create an “rc.local” file in “/etc/rc.d”. This is a shell script that is
executed when the system starts. In “rc.local”, add the command “slay
devc-ser8250” to kill the already running serial driver. Next, run
devc-ser8250 with the appropriate -I and -O options (refer to
documentation)
to set the input and outbut buffer sizes. If you need different buffer
sizes for different ports, you can invoke multiple instances of
devc-ser8250
using the -u option.

Please let me know how this works for you. I too am working with serial
devices (we have developed a custom wireless network controller, where we
are sending and receiving messages over the network in a full duplex
fashion
at 57,600 baud). I am experiencing problems with large amounts of
bidirectional data over the serial link (devc-ser8250 seems to “hang”
after
a few days). I am not sure if it is hardware handshaking related, or if
there is a defect in devc-ser8250.


Randy Aeberhardt
raeberhardt@tantalus-systems.com
www.tantalus-systems.com


“Jason Wycoff” <> jason@socratec.de> > wrote in message
news:a725fl$ret$> 1@inn.qnx.com> …
Hello everyone,

How can I set the size of the read buffer QNX6 uses for the serial
devices?
I’m running a program that receives large quantities of data over the
serial
port at 115200 baud. The windows version of the software works fine,
but
the QNX version is not able to handle the amount of data I’m sending. I
haven’t yet enabled any type of flow control, which may also help solve
the
problem, but I’d like to know how to set the size of the read buffer.

Thanks in advance,
Jason
\