Centos 5.0 driver

can anyone tell me if there is a linux driver for CentOs 5.0 / RHEL 5? i can’t seem to find it on the website.

If the product is an Acceleport RAS or Acceleport Xp card, you’ll want to use the following pre-release driver:

ftp://ftp1.digi.com/support/beta/linux/dgdm/

Though CentOS currently isn’t “officially” supported, this driver will work with CentOS.

i get the following error when using the pre-release driver:


  • Unable to locate matching kernel source for the
  • linux 2.6.18-8.1.14.el5 kernel that is currently running!
  • The Digi DGDM driver requires this linux kernel source to be
  • installed as /usr/src/linux-2.6.18-8.1.14.el5 before being able to correctly
  • build the driver.
  • Please install the kernel sources which must match the running
  • linux 2.6.18-8.1.14.el5 kernel, and then try installing again.

can someone translate this into english for me?

You should install the matching “kernel-devel” package for your installed kernel.

ok…so now i get a clean ./configure, but when i do a ‘make’ i get the following error:

gcc -O2 -DLINUX -DDXB -DEPC -DMRGDRV -DHELPDIR="/etc/dgdm/dpa" -I… -I…/fep_include -I…/includes -I…/driver/include -c -o attribs.o attribs.c
attribs.c:32:20: curses.h: No such file or directory
attribs.c: In function make_attr': attribs.c:148: error: A_UNDERLINE’ undeclared (first use in this function)
attribs.c:148: error: (Each undeclared identifier is reported only once
attribs.c:148: error: for each function it appears in.)
attribs.c:160: error: A_REVERSE' undeclared (first use in this function) attribs.c:160: error: A_STANDOUT’ undeclared (first use in this function)
attribs.c:174: error: stderr' undeclared (first use in this function) make[1]: *** [attribs.o] Error 1 make[1]: Leaving directory /tmp/dgdm-1.1/dpa’
make: *** [all] Error 2

i’ve only been using linux for about a year, so i’m not a complete noob, but this is the first time i’ve had to compile a driver believe it or not =)

Here is the complete list of dependencies for the dgdm driver:

make, bash, gcc, glibc-devel, kernel-source for running kernel, ncurses-devel, tcsh, gdbm, tcl, tk, XFree86-libs

I believe in the case of the error you’re seeing, the ncurses-devel is missing.

For that error, you need to install ncurses-devel.

Scott

ok…so i got it to install cleanly, but it doesn’t show up in the /dev/tty list. i’ll keep searching the forums for answers, but if anyone can help, it’d be muchly appreciated!

Did you run /etc/init.d/dgdm start?

If so, what does “dmesg | grep dgdm” show?

well no…seems i overlooked that…duh lol

If your system has chkconfig, you’ll want to do “/chkconfig --add dgdm” to get the driver to auto-load on system init. If it doesn’t have chkconfig, link the /etc/rc.d/init.d/dgdm script as appropriate.

thank you both so much for your help! really appreciate it.