Re: I can't read data from COM1

2001-04-14 Thread Ralf Baechle
On Mon, Apr 09, 2001 at 04:36:30PM +0800, Green wrote: I ran into a similar problem with 2.4.3 where I couldn't enter anything when running mingetty on the console. Turned out that by default the CREAD flag isn't set on a serial interface in 2.4.3 after bootup so you need to initialize this.

I can't read data from COM1

2001-04-09 Thread Green
Hi all,   I write a sample code(user mode) to test the serial driver. I can open COM1 and write string to COM1. But, when I want to read data from COM1, the program will block at read function. I trace the driver source code.   1. When the program execute write operation, it will call tty_wri