> > Attached you'll find the source of my test application. > > This is a tty port, so you can't just open it and start writing data to > it and expect everything to be ok. You need to make sure the line > settings are set up properly first. Take a look at one of the many > serial port programming HOWTOs for examples of how to do this. > > So in short, fix the application and then see if you are still having > messed up data.
Hmm, do you really think the application is the problem? IMHO opening the port and start writing will use the default settings, won't it? As my device is using a FTDI FT245BM chip (parallel chip with a serial interface), it doesn't care about stop bits, parity or whatever. Also the data falsying is occuring before the actual data is ever sent via USB. But I'll add explicit initialization code now and post the results soon. Thanks, Thomas ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
