[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cua bug?

I'm running 2.4 with pccom serial devices on an i386.  When I try to open
/dev/cua01 (test program appended below), the open hangs, apparently waiting
for DCD.  This seems to be contrary to both what the man page says and what
the linux program I'm trying to port expects.

Also, if I then interrupt the program, DTR remains asserted.  This is
completely unexpected.  Shouldn't it go back low when the program exits?

#include <stdio.h>
#include <fcntl.h>

    int fd;

    printf("about to open...\n");
    fd = open("/dev/cua01", O_RDWR);
    printf("open returns %d\n", fd);

Visit your host, monkey.org