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 }, */
... to this:Quote:};
static stlconf_t stl_brdconf[] = {
{ BRD_EASYIO, 0xdc00, 0xd480, 0, 10, 0 },
The IO ports and IRQ from lscpi says:Quote:};
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 ?