https://bugzilla.novell.com/show_bug.cgi?id=664800

https://bugzilla.novell.com/show_bug.cgi?id=664800#c1


--- Comment #1 from Bill Chiu <[email protected]> 2011-01-16 04:12:45 
UTC ---
A possible fix is to first set the baud rate to 921600 from C#/Mono, keep the
program running a loop, meanwhile, using another C program to change the baud
rate to 921600 using the struct termios and cfsetispeed(&termiosvar, B921600),
cfsetospeed(&termiosvar, B921600), and tcsetattr(ttyFid, TCSANOW, &termiosvar)
similar to what's presented on
http://embedded.seattle.intel-research.net/wiki/index.php?title=Using_other_UARTs_in_Linux
in the "Setting Baud Rate to 921.6kbps" section.

After that, c#/mono program will talk over 921600 baud rate correctly with
devices that require this high baud rate.

It is also conceivable for C# code to Interop C code that modified termios in
the same way..

Would prefer a real fix if possible.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to