Multiport serial ISA card Linux driver devlopment doubts

Multiport serial ISA card Linux driver devlopment doubts

Post by Manoj K » Fri, 31 Oct 2003 09:57:03



Hi,
 I am a new person in linux device driver area.
 I have insalled Redhat linux 9,and i have a custom
 ISA card(2 serial port conrollers PC16550D,uPD
 71051).Also i have with me lynxOS driver source code
 for this card.
 How can i make this card configured in Redhat linux ?
 Do i need to modify,serial.c  for recognising this
 card ?
 Any helps will be appreciated.
 Regards,
 Manoj
 
 
 

Multiport serial ISA card Linux driver devlopment doubts

Post by Leon The Peo » Fri, 31 Oct 2003 11:41:33



Quote:> Hi,
>  I am a new person in linux device driver area.
>  I have insalled Redhat linux 9,and i have a custom
>  ISA card(2 serial port conrollers PC16550D,uPD
>  71051).Also i have with me lynxOS driver source code
>  for this card.
>  How can i make this card configured in Redhat linux ?
>  Do i need to modify,serial.c  for recognising this
>  card ?

Condition A.  the 16550's are usable directly  from linux as 16550's
  Configure them with setserial.  If the shared interrupt is a problem, see
the setserial man page.

Conditiion B.
Linux needs to talk to the 71051.  Thats seriously different.
Whats the strategy ?
copy serial.c and serial.h to some other filenames,
give them a new device major number,
go through and strip out access to 8250/16450/16550 uarts, and replace with
the emulation code, as needed.

Quote:>  Any helps will be appreciated.
>  Regards,
>  Manoj


 
 
 

Multiport serial ISA card Linux driver devlopment doubts

Post by Manoj K » Sat, 01 Nov 2003 13:34:02


Hi
Thanks,this is a new information to me.

For condition A,i tried setting
setserial /dev/ttyT1 port 0x200 irq 9
I am getting message like
/dev/ttyT1 : No such device or directory

So i tried

1. cd /dev
2. ./MAKEDEV ttyT1(this has created an entry in /dev)
3. setserial /dev/ttyT1 port 0x200 irq 9
Again same message
/dev/ttyT1 : No such device or directory
Any idea why is it so?

Condition B(To support uPD71051),i got a ray of light.
I will try it after configuring, PC16550D chip in my isa card.

Thanks




> > Hi,
> >  I am a new person in linux device driver area.
> >  I have insalled Redhat linux 9,and i have a custom
> >  ISA card(2 serial port conrollers PC16550D,uPD
> >  71051).Also i have with me lynxOS driver source code
> >  for this card.
> >  How can i make this card configured in Redhat linux ?
> >  Do i need to modify,serial.c  for recognising this
> >  card ?

> Condition A.  the 16550's are usable directly  from linux as 16550's
>   Configure them with setserial.  If the shared interrupt is a problem, see
> the setserial man page.

> Conditiion B.
> Linux needs to talk to the 71051.  Thats seriously different.
> Whats the strategy ?
> copy serial.c and serial.h to some other filenames,
> give them a new device major number,
> go through and strip out access to 8250/16450/16550 uarts, and replace with
> the emulation code, as needed.

> >  Any helps will be appreciated.
> >  Regards,
> >  Manoj

 
 
 

Multiport serial ISA card Linux driver devlopment doubts

Post by Manoj K » Sat, 01 Nov 2003 15:41:10


I have one more doubt,for Condition B,the chip uPD71051& 8251 are
compatible right and 8250 is supported by serial.c.
So,do we need those steps u have mentioned for condition b?




> > Hi,
> >  I am a new person in linux device driver area.
> >  I have insalled Redhat linux 9,and i have a custom
> >  ISA card(2 serial port conrollers PC16550D,uPD
> >  71051).Also i have with me lynxOS driver source code
> >  for this card.
> >  How can i make this card configured in Redhat linux ?
> >  Do i need to modify,serial.c  for recognising this
> >  card ?

> Condition A.  the 16550's are usable directly  from linux as 16550's
>   Configure them with setserial.  If the shared interrupt is a problem, see
> the setserial man page.

> Conditiion B.
> Linux needs to talk to the 71051.  Thats seriously different.
> Whats the strategy ?
> copy serial.c and serial.h to some other filenames,
> give them a new device major number,
> go through and strip out access to 8250/16450/16550 uarts, and replace with
> the emulation code, as needed.

> >  Any helps will be appreciated.
> >  Regards,
> >  Manoj

 
 
 

Multiport serial ISA card Linux driver devlopment doubts

Post by Lawrence McMaho » Tue, 04 Nov 2003 01:48:52


Try /dev/ttyS1 rather than /dev/ttyT1

-Lawrence McMahon


> Hi
> Thanks,this is a new information to me.

> For condition A,i tried setting
> setserial /dev/ttyT1 port 0x200 irq 9
> I am getting message like
> /dev/ttyT1 : No such device or directory

> So i tried

> 1. cd /dev
> 2. ./MAKEDEV ttyT1(this has created an entry in /dev)
> 3. setserial /dev/ttyT1 port 0x200 irq 9
> Again same message
> /dev/ttyT1 : No such device or directory
> Any idea why is it so?

> Condition B(To support uPD71051),i got a ray of light.
> I will try it after configuring, PC16550D chip in my isa card.

> Thanks




>>>Hi,
>>> I am a new person in linux device driver area.
>>> I have insalled Redhat linux 9,and i have a custom
>>> ISA card(2 serial port conrollers PC16550D,uPD
>>> 71051).Also i have with me lynxOS driver source code
>>> for this card.
>>> How can i make this card configured in Redhat linux ?
>>> Do i need to modify,serial.c  for recognising this
>>> card ?

>>Condition A.  the 16550's are usable directly  from linux as 16550's
>>  Configure them with setserial.  If the shared interrupt is a problem, see
>>the setserial man page.

>>Conditiion B.
>>Linux needs to talk to the 71051.  Thats seriously different.
>>Whats the strategy ?
>>copy serial.c and serial.h to some other filenames,
>>give them a new device major number,
>>go through and strip out access to 8250/16450/16550 uarts, and replace with
>>the emulation code, as needed.

>>> Any helps will be appreciated.
>>> Regards,
>>> Manoj

 
 
 

1. Multiport serial cards VS multiport USB hubs.

    I am considering starting up a small Internet Service Provider using a
Linux/Alpha based machine that has USB support. I was considering buying an
8 port serial card to hook up the dialin modems (haven't bought the modems
as yet). But the prices for multiport serial card hardware is quite
expensive compared to another alternative, multiport USB hubs.
Has anyone here setup up an ISP using USB hubs and USB modems?

2. workman (workbone) may carsh the system

3. Device driver for the Decision PCCOM8 multiport serial card

4. Opening Telnet Ports 110 and 25

5. Equinox SST Multiport Serial Card Drivers?

6. Routing Errors

7. Driver for SIIG multiport serial/parallel card

8. nvidia using Linux for internal testing???

9. Serial driver for multiport card

10. EXSYS PCI Multiport serial card driver ???

11. linux driver for multiport boards of isa interface!

12. Multiport serial card drivers

13. how to setup a isa arnet multiport serial board uner redhat 6.1