Link to home
Start Free TrialLog in
Avatar of Zoplax
Zoplax

asked on

Winnov Videum Installation on RedHat 7.3

This site describes some drivers created for use with Winnov Videum video capture cards, which are often used in conjunction with webcams.

http://www.thedirks.org/winnov

I've downloaded the latest drivers and prerequisite files.  I'm trying to install it on my 7.3 system, but apparently the Video4Linux software needs to first be installed.  To do this I need to "rebuild kernel and kernel modules if necessary."

http://www.thedirks.org/v4l2

As I've never had to recompile the kernel before (being the RedHat newbie that I am), I'd appreciate steps on how to do this for purposes of getting this driver up and running with my Winnov Videum AV PCI card.
ASKER CERTIFIED SOLUTION
Avatar of mikeyman
mikeyman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zoplax
Zoplax

ASKER

Thanks for your info mikeyman; so far I've finished building the new kernel and have rebooted into it, so far so good; I'll now try to get the webcam stuff compiled and installed.
Avatar of Zoplax

ASKER

Ok, I'm assuming that the video4linux components are already installed (I chose this when I rebuilt the kernel).

Now that the kernel is up and running, I'm trying to compile the videum drivers (http://www.thedirks.org/winnov).  However, when I try to do the make, I get the following errors:

grep: /usr/src/linux/include/linux/version.h: No such file or directory
make: /scripts/pathdown.sh: Command not found
/usr/share/locale/en_us.iso885915/LC_MESSAGES/make.moDIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/src/linux'
make: *** [here] Error 2

I checked the /usr/src/linux directory and there doesn't appear to be anything there, but there are /usr/src/linux-2.4 and /usr/src/linux-2.4.18-3 directories there, and they appear to contain include files and other stuff.

Should I delete the existing /usr/src/linux and try copying one of these existing directories as /usr/src/linux?  Or will this not help the problem?
NO!

Some developers look for /usr/src/linux but RedHat has chosen to make this /usr/src/linux-2.4.

To fix this (as root) you must make a symbolic link to the latest kernel source.

Stock RH7.3 Kernel was linux-2.4.18-4 and updated to 2.4.18-5

Assuming you are running stock I chose 4, you issue the following command  from within the /usr/src directory

ln -s linux-2.4.18-4 linux

This creates the symbolic link linux to the linux-2.4.18-4 directory.

Now your program will compile because it finds the source directory in /usr/src/linux.

When you upgrade the kernel, you need to delete the link and recreate it to point to the new source directory.

Good luck!
With regard to the above, you have linux-2.4.18-3, use that for creating the symlink. BTW...the linux-2.4 is a symlink to this as well.  For ease of future upgrades, you can just link linux to linux-2.4 so if you update the kernel with RPM's you dont have to do anything else.
Avatar of Zoplax

ASKER

mikeyman, in the last few days off and on I've tried to reproduce the steps at

http://www.thedirks.org/winnov/winnov-setup.html

This is an example the developer of the Linux driver for my capture card / webcam created, where he installs the videodevX and winnov (driver) onto RedHat 6.2.

I've managed to follow most of the steps.  Recompiled the kernel, booted the new kernel, etc.

However, there seem to be some problems (the following is from the /var/messages file on my system):

===

Linux video capture interface: v1.00

  (this seems to indicate that the videodev component has loaded?)

...

depmod: *** Unresolved symbols in /lib/modules/2.4.18-3custom/kernel/drivers/media/video/videodev1.o.old

rc.sysinit: Finding module dependencies:  failed

===

One aspect of the procedure which didn't correspond to my 7.3 setup appears to be the /usr/linux/src/drivers/char/Makefile file; there he's got the step to:

"Change the line "M_OBJS :=" to "M_OBJS := wnv.o wnvvid.o"."

However, I found no such line in the Makefile in that directory.

I figure something must've gone wrong with the compile or with the device loading, or both for all I know, because when I try to run the xcaptest program, I get the following:

===

No video device "/dev/video0"
called v4l2_set_fps with fps=30
time per frame is: 134593880
time per frame is: 333667
time per frame is: 0
G_STD in capture_start: Bad file descriptor
G_FMT in capture_start: Bad file descriptor
REQBUFS in capture _start: Bad file descriptor

===

Any ideas?!  Thanks.  
Avatar of Zoplax

ASKER

Thanks for your help.