Popular Guides
View more guides at Linux Wiki Guides
Bill Giannikos
While Debian GNU/Linux 5.0 already includes a version of the V4L driver drivers, these drivers are under constant development and your TV Tuner card may require a later version than the one included in Debian. Here we will guide you in the necessary steps in installing the latest developmental V4L drivers.
We will be using 'nano' as our text editor of choice but you can use whatever you wish.
While this guide is mainly focused to laptop users there isn't any difference for desktop users.
The drivers being installed here are a developmental set and so may exhibit unexpected results. Make sure you backup your data before continuing.
You should run a full update for your installation of Debian to ensure you have all the latest packages installed.
You will need a working internet connection.
Here are the steps in installing the latest V4L drivers.
1. Load up a terminal window if you are in the graphic interface.
2. Switch to the root user by entering the command “su -” (without the quotes) and typing in your root password.
3. Type in the following commands to install gcc, mercurial and the kernel headers:
apt-get install build-essential module-assistant mercurial m-a update m-a prepare
4. Move to the /usr/src/ folder with:
cd /usr/src
5. Download the latest V4L modules with:
hg clone http://linuxtv.org/hg/v4l-dvb
6. Move into the newly created folder with
cd v4l-dvb
7. Now start the building process with:
make
This will take a while.
8. And finally we install these modules with:
make install
9. Reboot your computer and the newer V4L modules will be used.
Discussion
after i executed all these instruction ,i got these error messgae !!!!!!!!!!!
how can i resolve this ???????????
CC [M] /usr/src/v4l-dvb/v4l/hdpvr-core.o
/usr/src/v4l-dvb/v4l/hdpvr-core.c: In function 'hdpvr_probe':
/usr/src/v4l-dvb/v4l/hdpvr-core.c:318: warning: implicit declaration of function 'usb_endpoint_is_bulk_in'
/usr/src/v4l-dvb/v4l/hdpvr-video.c: In function 'hdpvr_alloc_buffers':
/usr/src/v4l-dvb/v4l/hdpvr-video.c:150: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/usr/src/v4l-dvb/v4l/hdpvr-video.c:274:49: error: macro “INIT_WORK” requires 3 arguments, but only 2 given
/usr/src/v4l-dvb/v4l/hdpvr-video.c: In function 'hdpvr_start_streaming':
/usr/src/v4l-dvb/v4l/hdpvr-video.c:274: error: 'INIT_WORK' undeclared (first use in this function)
/usr/src/v4l-dvb/v4l/hdpvr-video.c:274: error: (Each undeclared identifier is reported only once
/usr/src/v4l-dvb/v4l/hdpvr-video.c:274: error: for each function it appears in.)
make[3]: * [/usr/src/v4l-dvb/v4l/hdpvr-video.o] Error 1
make[2]: * [_module_/usr/src/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
make[1]: * [default] Error 2
make[1]: Leaving directory `/usr/src/v4l-dvb/v4l'
make: * [all] Error 2