The mgetty/agetty hang in open(2) because CLOCAL is not set.
getty doesn't hang, but if login try's to reopen the serial line
in hangs.
The relevat part, was only changed in serial.c NOT in cyclades.c
or an other serial driver.
new serial.c:2758:
serial_driver.init_termios.c_lflag &=~ (ISIG | ICANON | ECHO);
serial_driver.flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_RESET_TERMIOS;
old serial.c:2758:
serial_driver.init_termios.c_cflag =
B9600 | CS8 | CREAD | HUPCL | CLOCAL;
serial_driver.flags = TTY_DRIVER_REAL_RAW;
cyclades.c:2792:
cy_serial_driver.init_termios.c_cflag =
B9600 | CS8 | CREAD | HUPCL | CLOCAL;
cy_serial_driver.flags = TTY_DRIVER_REAL_RAW;
calle
-- calle@calle.in-berlin.de