|
From: Serge L. <se...@nn...> - 2004-09-21 12:47:27
|
Dear Sirs. I'm going to use multi serial port card (NetMos Nm9845CV) on DL 1.2. > root@test:~ # lspci | grep NetMos > 00:08.0 Serial controller: NetMos Technology PCI 9845 Multi-I/O Controller (rev 01) There are only 2 serial ports in the system > root@test:~ # ls /dev/ttyS* > /dev/ttyS0 /dev/ttyS1 I try to create and configure the parameters for ttyS2-ttyS7 > root@test:~ # more /proc/pci > PCI devices found: > Bus 0, device 8, function 0: > Serial controller: PCI device 9710:9845 (NetMos Technology) (rev 1). > IRQ 11. > Master Capable. Latency=32. > I/O at 0x9000 [0x9007]. > I/O at 0x9400 [0x9407]. > I/O at 0x9800 [0x9807]. > I/O at 0x9c00 [0x9c07]. > I/O at 0xa000 [0xa007]. > I/O at 0xa400 [0xa40f]. I do the following: >mknod -m 666 /dev/ttyS2 c 4 66 >setserial /dev/ttyS2 port 0x9000 UART 16550A irq 11 Baud_base 115200 >mknod -m 666 /dev/ttyS3 c 4 67 >setserial /dev/ttyS3 port 0x9400 UART 16550A irq 11 Baud_base 115200 > mknod -m 666 /dev/ttyS4 c 4 68 >setserial /dev/ttyS4 port 0x9800 UART 16550A irq 11 Baud_base 115200 >mknod -m 666 /dev/ttyS5 c 4 69 >setserial /dev/ttyS5 port 0x9c00 UART 16550A irq 11 Baud_base 115200 >mknod -m 666 /dev/ttyS6 c 4 70 >setserial /dev/ttyS6 port 0xa000 UART 16550A irq 11 Baud_base 115200 >mknod -m 666 /dev/ttyS7 c 4 71 >setserial /dev/ttyS7 port 0xa400 UART 16550A irq 11 Baud_base 115200 But these ports don't work. So, what do I wrong? How can I add needed devices into distributive (I think creating /dev/ttySx by every boot is not "right" idea...)? Thank you an advance. -- Best regards, Serge mailto:se...@nn... |