Subject: Serial Port problem
To: None <netbsd-help@netbsd.org>
From: =?iso-8859-1?q?badi=20ibrahim?= <badi2@yahoo.com>
List: netbsd-help
Date: 07/16/2002 18:49:31
Hi,

I wrote a program which communicates with a device
through the serial port. Unfortunately, after a while
(from 2 to 7 days), it seems like the port "crashes":
I can't read anymore until I reset the port (reboot
the machine), but I can still write. I believe
everything is correctly initialized and configured
with tcgetattr and tcsetattr. I wonder if the multiple
changes I make on the parity or the rts of the device
(using tcgetattr, tcsetattr or ioctl) are not
responsible. 

Would anybody have a clue about how to fix that or
where the probleme could come from ?


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com