Stallion EasyIO 8-port serial PCI card

Stallion EasyIO 8-port serial PCI card

Post by jms » Wed, 06 Jul 2005 17:12:54



I am having problems getting our 8-port EasyIO PCI card working on Linux / Fedora Core 3.
I have read all the README and Documentation regarding getting EasyIO configured.

So far, using kernel 2.6.11-1.27_FC3smp, after I install the PCI card,
kudzu detected the card and lspci -vvv shows it as well:

02:0a.0 Communication controller: Stallion Technologies, Inc. EasyIO (rev 01)
        Subsystem: Stallion Technologies, Inc. EasyIO
        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 10
        Region 1: I/O ports at dc00 [size=128]
        Region 2: I/O ports at d480 [size=128]

My problem is getting the drivers to work:

1) There does not seem to be a way to compile stallion.c as a module,
despite what all the documentation says that you can either compile it as a module or
built-in to the kernel. There is only the asterisk and empty selection,
no option for M, next to the "Stallion multiport serial support" option in make menuconfig.
This is under DeviceDrivers->CharacterDevices

2) So, proceeding to option 2 ... that is, built-in to the kernel.
Documentation/stallion.txt says:

-----------------------------------
If using EasyIO or EasyConnection 8/32 ISA or MCA boards,
   In drivers/char/stallion.c:
      - find the definition of the stl_brdconf array (of structures)
        near the top of the file
      - modify this to match the boards you are going to install
        (the comments before this structure should help)
      - save and exit
-----------------------------------

I have an EasyIO PCI card. So I changed stl_brdconf in drivers/char/stallion.c from this:

static stlconf_t        stl_brdconf[] = {
/*      { BRD_EASYIO, 0x2a0, 0, 0, 10, 0 }, */

Quote:};

... to this:

static stlconf_t        stl_brdconf[] = {
        { BRD_EASYIO, 0xdc00, 0xd480, 0, 10, 0 },

Quote:};

The IO ports and IRQ from lscpi says:

02:0a.0 Communication controller: Stallion Technologies, Inc. EasyIO (rev 01)
        < ... snip ... >
        Interrupt: pin A routed to IRQ 10
        Region 1: I/O ports at dc00 [size=128]
        Region 2: I/O ports at d480 [size=128]

.. so that's what I changed.

3) Recompiled kernel and modules

4) Booted up with new kernel

My problem is that, I still dont see anything in either dmesg or /var/log/messages
saying that it detected the Stallion PCI card.
OK, lspci says it is there ( with new kernel and with original kernel ) ...
but I was presuming that I would see something in dmesg saying
it was initialised or something.

Documentation/stallion.txt says:

-----------------------------------
When the new kernel is booted, or the loadable module loaded then the
driver will emit some kernel trace messages about whether the configured
boards were detected or not. Depending on how your system logger is set
up these may come out on the console, or just be logged to
/var/adm/messages or /var/log/syslog. You should check the messages to
confirm that all is well.
-----------------------------------

Any ideas ?

 
 
 

Stallion EasyIO 8-port serial PCI card

Post by jms » Wed, 06 Jul 2005 17:17:15



> 2) So, proceeding to option 2 ... that is, built-in to the kernel.
> Documentation/stallion.txt says:

> -----------------------------------
> If using EasyIO or EasyConnection 8/32 ISA or MCA boards,
>    In drivers/char/stallion.c:
>       - find the definition of the stl_brdconf array (of structures)
>         near the top of the file
>       - modify this to match the boards you are going to install
>         (the comments before this structure should help)
>       - save and exit
> -----------------------------------

> I have an EasyIO PCI card. So I changed stl_brdconf in
> drivers/char/stallion.c from this:

> static stlconf_t        stl_brdconf[] = {
> /*      { BRD_EASYIO, 0x2a0, 0, 0, 10, 0 }, */
> };

> ... to this:

> static stlconf_t        stl_brdconf[] = {
>         { BRD_EASYIO, 0xdc00, 0xd480, 0, 10, 0 },
> };

OK. Found something here:

        http://www.stallion.com.au/html/support/kb/59943.html

So basically I booted back to the original kernel, which had stl_brdconf as
an empty structure. I still don't see anything in dmesg
or /var/log/messages

 
 
 

Stallion EasyIO 8-port serial PCI card

Post by jms » Wed, 06 Jul 2005 17:17:51



> 2) So, proceeding to option 2 ... that is, built-in to the kernel.
> Documentation/stallion.txt says:

> -----------------------------------
> If using EasyIO or EasyConnection 8/32 ISA or MCA boards,
>    In drivers/char/stallion.c:
>       - find the definition of the stl_brdconf array (of structures)
>         near the top of the file
>       - modify this to match the boards you are going to install
>         (the comments before this structure should help)
>       - save and exit
> -----------------------------------

> I have an EasyIO PCI card. So I changed stl_brdconf in
> drivers/char/stallion.c from this:

> static stlconf_t        stl_brdconf[] = {
> /*      { BRD_EASYIO, 0x2a0, 0, 0, 10, 0 }, */
> };

> ... to this:

> static stlconf_t        stl_brdconf[] = {
>         { BRD_EASYIO, 0xdc00, 0xd480, 0, 10, 0 },
> };

OK. Found something here:

        http://www.stallion.com.au/html/support/kb/59943.html

So basically I booted back to the original kernel, which had stl_brdconf as
an empty structure. I still don't see anything in dmesg
or /var/log/messages

 
 
 

Stallion EasyIO 8-port serial PCI card

Post by jms » Wed, 06 Jul 2005 17:42:33



> 1) There does not seem to be a way to compile stallion.c as a module,
> despite what all the documentation says that you can either compile it as
> a module or built-in to the kernel. There is only the asterisk and empty
> selection, no option for M, next to the "Stallion multiport serial
> support" option in make menuconfig. This is under
> DeviceDrivers->CharacterDevices

Ahh ... I know why now. The module is only selectable if you have a non-SMP
kernel. Trying that now ....
 
 
 

1. how to use stallion easyio multiport card with FreeBSD 3.4?

Hi all,

Is it possible to use stallion easyio 8 ports card with FreeBSD 3.4?
It is said to be supported.

I found the drivers code in the standard kernel and tried the
following options in kernel config ( one option for each try ):

device         stl0    at isa? port 0x1080 tty irq 10
device         stl0    at isa? tty flags 23 irq ? iosiz 0x1000
device         stl0    at isa? port 0x1080 tty flags 23 irq ? iosiz 0x1000
device         stli0   at isa? port 0x2a0 tty iomem 0xcc000 flags 23 irq ? iosiz 0x1000

Kernel does not see that card, saying `stl0 not found' or
`stli0 not found'

Could anybody help please?

--
------------------------------------------------------------------------
    Sergey Mukhin                       |    
    MemoNet, Russia                     |    SM45-RIPE
------------------------------------------------------------------------
*     If you can't learn do it well learn to enjoy doing it badly.     *
------------------------------------------------------------------------

2. PDT question

3. devfs + PCI serial card = no extra serial ports (probably uns upported card)

4. set uid & gid programs

5. devfs + PCI serial card = no extra serial ports (probably unsupported card)

6. .htaccess problem

7. 8-port AST Serial Cards?

8. Help synchronising user info.

9. Intelligent 8-Port Serial Card, Where?

10. HELP: Installing 8-port serial card on SCO SYS V/386

11. Need recommendation on 8-port serial card

12. Jameco 8-port serial card?

13. Anyone who is the owner of a Turbo TC-800 8-port serial card?