Frans Ketelaars wrote:

On Monday 14 June 2004 17:02, Tony S. Sykes wrote:


Hi All,

I am trying to install a 2 port serial card. I have been googling and
found some info but just need the steps made a bit clearer. I
understand that I need the lspci -vv (below) to get the values for
the card. I have also printed the dmesg output as well. I also read I
need to MAKEDEV but I tried this and created a dev directory with the
name of the new tty device I was trying to create. Any help, manuals
would be a great help.

Thanks,

Tony.

lspci -vv

00:0c.0 Serial controller: NetMos Technology 222N-2 I/O Card (2S+1P)
(rev 01) (prog-if 02 [16550])
Subsystem: LSI Logic / Symbios Logic: Unknown device 0002
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium


TAbort- <TAbort- <MAbort- >SERR- <PERR-


       Interrupt: pin A routed to IRQ 11
       Region 0: I/O ports at d000 [size=8]
       Region 1: I/O ports at cc00 [size=8]
       Region 2: I/O ports at c800 [size=8]
       Region 3: I/O ports at c400 [size=8]
       Region 4: I/O ports at c000 [size=8]
       Region 5: I/O ports at bc00 [size=16]

dmesg

ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS4 at I/O 0xd000 (irq = 11) is a 16550A
ttyS5 at I/O 0xcc00 (irq = 11) is a 16550A



It seems to me the kernel found the two new serial ports named ttyS4 and ttyS5?


HTH,

   -Frans



I think you are right. From the looks of things, Linux know how to handle that PCI card, and is assigning the ports to /dev/ttyS4 and /dev/ttyS5 (or /dev/tty/S4 and /dev/tty/S5) I believe the reason it is not using /dev/ttyS1 and /dev/ttyS2 is that there are addresses associated with /dev/ttyS0 through /dev/ttyS3 and they are not always detected at boot time, depending on boot parametors. (COM1 through COM4 in DOS.) So the PCI ports are assigned to the ports after them. Depending on what you are planning to use the ports for, you will probably be creating, or having the system create links to them from more descriptive names. (modem, mouse, pilot, camera, etc...)

Mikkel
--
   Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to