Skip to contentSkip to conversation

PROBLEM: linux serial rs-232 bug when open()

DISCUSSION Dominik Wilczynski 1 participant 1 message Sep 28, 2005 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

Hi,

I'm doing embedded development with rs-232 interface and I noticed a bug in serial driver. When I open ttySx device, open() function returns 0 instead of proper file descriptor. I have to perform open() twice before I get exact file descriptor.

Some guys were discussing similar bug:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0104.2/0830.html

I use kernel 2.6.11.4-20a-default on SUSE 9.3 disctribution. If you would like to have more details on this, please let me know and I 'll send you description of my configuration.

Best Regards,

Dominik Wilczynski
-----------------------------------------
Software Design Engeneer

[email protected]

Silicon & Software Systems
www.s3group.com

The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s). Please direct any additional queries to: [email protected].
Thank You.