Solved

Winnov Videum Installation on RedHat 7.3

Posted on 2002-06-25
7
493 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

726 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