Solved

Winnov Videum Installation on RedHat 7.3

Posted on 2002-06-25
7
485 Views
Last Modified: 2012-08-14
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.
0
Comment
Question by:Zoplax
  • 4
  • 3
7 Comments
 
LVL 1

Accepted Solution

by:
mikeyman earned 200 total points
ID: 7109489
Ok Here goes in a nutshell...
Assuming you installed everything (kernel source and devs)

su -
cd /usr/src/linux-2.4
make xconfig
  **choose multimedia devices and Video4Linux is there.
make dep
make clean
make bzImage
make modules
make modules_install
cd /usr/src/linux-2.4/arch/i386/boot
cp bzImage /boot/newkernel

edit /etc/grub.conf (or /etc/lilo.conf if you instl lilo)
and copy one of the entries changing the name of the kernel to your newkernel.

After this is done test the config by rebooting. Probably something will go wrong the first couple of tries as it is not typically a newbie thing (hell even seasoned vets will find it a bit of a thing).

Also, a good place to look for documentation info is http://www.tldp.org/HOWTO/Kernel-HOWTO.html which is part of linuxdoc.org.  Happy compiling, and dont give up.

0
 
LVL 6

Author Comment

by:Zoplax
ID: 7113619
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.
0
 
LVL 6

Author Comment

by:Zoplax
ID: 7113837
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?
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 1

Expert Comment

by:mikeyman
ID: 7114782
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!
0
 
LVL 1

Expert Comment

by:mikeyman
ID: 7114800
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.
0
 
LVL 6

Author Comment

by:Zoplax
ID: 7147071
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.  
0
 
LVL 6

Author Comment

by:Zoplax
ID: 7338779
Thanks for your help.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question