[ECOS] problem with termios: tcgetattr

Franck MAMALET FT-R&D DIH/OCF franck.mamalet@rd.francetelecom.fr
Wed Jun 13 02:57:00 GMT 2001


Jonathan Larmour wrote:
 
It should have gone to termios_get_config in
io/serial/curent/src/common/termiostty.c
Did you enable CYGPKG_IO_SERIAL_TERMIOS_TERMIOS2 in your configuration?
 
 
I did now, and it still doesn't work when I try to open /dev/ser2, but
it does with /dev/termios2. What are the differences between them?
Besides, I read your discussion with Trenton D. Adams about " Simple
serial program" : Could you explain me why open(/dev/ser1,..)
doesn't fail when   this UART is used for GDB connection?
Thanks,
Franck.
 
-- 
& france telecom 
Mamalet Franck
FTR&D DIH/OCF
Tél  : 04 76 76 45 71   Fax : 04 76 90 34 43
franck.mamalet@rd.francetelecom.fr
 



More information about the Ecos-discuss mailing list