about serial port

hi,
When I tested the serial port ,I found a problem:
I use a gps receiver connect to my pc (certainly with qnx)
I found if i turn on my pc with the serial port connect to the gps,I can’t
receive any data from the gps.if I turn on my pc first then connect the
serial port with the cable ,i can receive the data.is this a bug or any
other ??

thanks

Johnson

Are you booting into Photon? If so, check the state of the serial port
with “stty < /dev/serX” and ensure that the speed of the port is correct
that Opens is 1.

chris

zjs <jszhou@263.net> wrote:

hi,
When I tested the serial port ,I found a problem:
I use a gps receiver connect to my pc (certainly with qnx)
I found if i turn on my pc with the serial port connect to the gps,I can’t
receive any data from the gps.if I turn on my pc first then connect the
serial port with the cable ,i can receive the data.is this a bug or any
other ??

thanks

Johnson
\


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Thanks,

I found it justnow.
I must reinit the driver devc-ser8250 with para -t1,I think the default para
is -t0 that no interrupt comes in, so I can’t receive!

Thank you,Chris!

Johnson

Chris McKillop <cdm@qnx.com> wrote in message
news:b046er$8g5$1@nntp.qnx.com

Are you booting into Photon? If so, check the state of the serial port
with “stty < /dev/serX” and ensure that the speed of the port is correct
that Opens is 1.

chris

zjs <> jszhou@263.net> > wrote:
hi,
When I tested the serial port ,I found a problem:
I use a gps receiver connect to my pc (certainly with qnx)
I found if i turn on my pc with the serial port connect to the gps,I
can’t
receive any data from the gps.if I turn on my pc first then connect the
serial port with the cable ,i can receive the data.is this a bug or any
other ??

thanks

Johnson



\

Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/