Linux localhost.localdomain 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686 i686 i386 GNU/Linux
# # Serial # CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_FIX_EARLYCON_MEM=y CONFIG_SERIAL_8250_PCI=y CONFIG_SERIAL_8250_PNP=y CONFIG_SERIAL_8250_CS=m CONFIG_SERIAL_8250_NR_UARTS=32 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_MANY_PORTS=y # CONFIG_SERIAL_8250_FOURPORT is not set # CONFIG_SERIAL_8250_ACCENT is not set # CONFIG_SERIAL_8250_BOCA is not set # CONFIG_SERIAL_8250_EXAR_ST16C554 is not set # CONFIG_SERIAL_8250_HUB6 is not set CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_8250_RSA=y
8250.nr_uarts=16
[root@localhost BC3]# setserial -g /dev/ttyS* /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 /dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3 /dev/ttyS10, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS11, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS12, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS13, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS14, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS15, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4 /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3 /dev/ttyS4, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS5, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS8, UART: unknown, Port: 0x0000, IRQ: 0 /dev/ttyS9, UART: unknown, Port: 0x0000, IRQ: 0
[root@localhost BC3]# lspci -d 135E:E161 -vv 08:04.0 Bridge: Sealevel Systems Inc Device e161 (rev aa) Subsystem: Sealevel Systems Inc Device e161 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 15 Region 0: Memory at dfcffe00 (, non-prefetchable) [size=512] Region 2: I/O ports at dc80 [size=128] Region 3: Memory at dfcffdf0 (32-bit, non-prefetchable) Capabilities: [40] version 1 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [48] #00 [0000] Capabilities: [4c] Vital Product Data Unknown small resource type 0b Unknown small resource type 00 Unknown small resource type 00 Unknown small resource type 00 Unknown small resource type 00 Unknown small resource type 00 Unknown small resource type 00 Unknown small resource type 00 No end tag found
[root@localhost BC3]# setserial /dev/ttyS4 port 0xdc80 irq 15 autoconfigure baud_base 460800 Cannot set serial info: Invalid argument
[root@localhost BC3]# setserial /dev/ttyS4 port 0xdc80 irq 15 uart 16850 baud_base 460800
It sounds like the serial board piggy backs 7 ports to each uart main port. That means you just set ttyS0 and ttyS1, and the other ports are all set. You may also need/be able to set ttyS2 and ttyS3. |
setserial /dev/ttyS4 port 0xdc80 auto_irq uart 16850 baud_base 460800
文章评论(0条评论)
登录后参与讨论