gen68360 & termios

sebastian ssmoller sebastian.ssmoller at gmx.net
Mon Nov 8 17:36:50 UTC 2004


hi,
is it correct that this bsp has no tty driver (e.g. like pc386) or did i
miss something (havnt found any tty_drv.h or s.th. like that)

is there any other possibility to access smc2/com2 ?
(using open() without CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE
results in errors)

does this bsp have full termios support? 
anytime i try to change some settings i get bogus output
code sample:

tcgetattr(0, &std_in);

std_in.c_cc[VMIN] = 1;
std_in.c_cc[VTIME] = 0;
std_in.c_lflag &= 
    ~(ICANON | ECHO | ECHONL | ECHOK | ECHOE | ECHOPRT | ECHOCTL);

tcsetattr(0, TCSANOW, &std_in);

even if i does not change anything at all (just call tcgetattr and
tcsetattr) this prob happens :(  
any ideas ?

THX
regards,
seb



More information about the users mailing list