The following is a bit complex for my linux skills so the thought to post it to
SLUG, seeing if anyone might be interested in suggesting how I might be able to
solve the following problem!

I have currently purchased an industrial I/O card for switching a relay module
which controls some hydraulic solenoids. The card is a ComputerBoards
CIO-DIO48H. This might sound alittle out of the ordinary for the normal SLUG
postings but if anyone is intereseting in helping out it would be VERY
appreciated.

I am running SuSE 7.0 2.2.16 kernel and the driver package for this card can be
found from      ftp://lx10.tx.ncsu.edu/pub/Linux/drivers

When installing the driver the following errors occur;
(I have listed the whole process)

make depend
/bin/cp Makefile.orig Makefile
/usr/bin/X11/makedepend dio48h.c diotest.c
In file included from diotest.c:21:
/usr/include/unistd.h:300: macro or `#include' recursion too deep
/usr/include/unistd.h:301: macro or `#include' recursion too deep
/usr/include/unistd.h:304: macro or `#include' recursion too deep
/usr/include/unistd.h:305: macro or `#include' recursion too deep
/usr/include/unistd.h:311: macro or `#include' recursion too deep
/usr/include/unistd.h:315: macro or `#include' recursion too deep
/usr/include/unistd.h:319: macro or `#include' recursion too deep
/usr/include/unistd.h:321: macro or `#include' recursion too deep
/usr/include/unistd.h:338: macro or `#include' recursion too deep
/usr/include/unistd.h:340: macro or `#include' recursion too deep
In file included from diotest.c:21:
/usr/include/unistd.h:967: macro or `#include' recursion too deep
diotest.c:51: macro or `#include' recursion too deep
Appending dependencies to Makefile

make
make: Nothing to be done for `all'.

make devices
/bin/rm -f /dev/dio48H*
/bin/mknod /dev/dio48H_1A  c 35 0
/bin/mknod /dev/dio48H_1B  c 35 1
/bin/mknod /dev/dio48H_1C  c 35 2
/bin/mknod /dev/dio48H_2A  c 35 3
/bin/mknod /dev/dio48H_2B  c 35 4
/bin/mknod /dev/dio48H_2C  c 35 5
/bin/chmod 666 /dev/dio48H*

make install
/sbin/rmmod dio48H
rmmod: module dio48H is not loaded
make: [install] Error 1 (ignored)
/sbin/insmod -f dio48H.o
dio48H.o: init_module: Device or resource busy
Hint: this error can be caused by incorrect module parameters, including invalid IO or 
IRQ parameters
make: [install] Error 1 (ignored)
/bin/cp ./dio.h /usr/local/include/dio.h
/bin/chmod 644 /usr/local/include/dio.h
install ./dio48H.o /lib/modules/`uname -r`/misc/dio48H.o

when i dmessage at the command line i get the following;
CIO-DIO48H: No Board found from address 0x200 to 0x3e0

Hope the above helps someone out if they are interested.
Much thanks to those who have read through all this!

Cheers
David
----------------------------------------
The Seismonitor Project
www.allshookup.org/research/seisindx.htm
email [EMAIL PROTECTED]
D.V.Rogers
----------------------------------------


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to