ubuntu_amateur
Member level 4
On the emulation board, there are 2 serial ports.
One is used as console connected to PC via serial cable;
I wanna use the other one, but there is no ttyS1 in /dev directory.
Under /dev, the relevant inod files are "console" and "tty".
Insmod a driver for serial port, but it doesn't return MAJOR number.
If MAJOR returns, I can create an inode by:
mknod /dev/ttyS1 c MAJOR MINOR
How can I use the 2nd serial port under embedded system?
Could somebody help me?
Thanks in advance.
One is used as console connected to PC via serial cable;
I wanna use the other one, but there is no ttyS1 in /dev directory.
Under /dev, the relevant inod files are "console" and "tty".
Insmod a driver for serial port, but it doesn't return MAJOR number.
If MAJOR returns, I can create an inode by:
mknod /dev/ttyS1 c MAJOR MINOR
How can I use the 2nd serial port under embedded system?
Could somebody help me?
Thanks in advance.