Solved

Winnov Videum Installation on RedHat 7.3

Posted on 2002-06-25
7
460 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 1

Expert Comment

by:mikeyman
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for your help.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now