Installing the latest V4L TV tuner drivers in Debian GNU/Linux 5.0


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.

Installing the latest development V4L modules

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

6. Move into the newly created folder with

cd v4l-dvb

7. Now start the building process with:


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.


Asker, 2014/09/27 07:15

root@dm:/usr/src/v4l-dvb# make

make -C /usr/src/v4l-dvb/v4l

make[1]: Entering directory `/usr/src/v4l-dvb/v4l'

creating symbolic links…

make -C firmware prep

make[2]: Entering directory `/usr/src/v4l-dvb/v4l/firmware'

make[2]: Leaving directory `/usr/src/v4l-dvb/v4l/firmware'

make -C firmware

make[2]: Entering directory `/usr/src/v4l-dvb/v4l/firmware'

make[2]: Nothing to be done for `default'.

make[2]: Leaving directory `/usr/src/v4l-dvb/v4l/firmware'

Kernel build directory is /lib/modules/3.2.0-4-amd64/build

make -C /lib/modules/3.2.0-4-amd64/build SUBDIRS=/usr/src/v4l-dvb/v4l CFLAGS=“-I../linux/include -DKERNEL -I/include -DEXPORT_SYMTAB” modules

make[2]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'

CC [M]  /usr/src/v4l-dvb/v4l/tuner-xc2028.o

/usr/src/v4l-dvb/v4l/tuner-xc2028.c: In function 'xc2028_set_params':

/usr/src/v4l-dvb/v4l/tuner-xc2028.c:1178:5: error: 'T_DIGITAL_TV' undeclared (first use in this function)

/usr/src/v4l-dvb/v4l/tuner-xc2028.c:1178:5: note: each undeclared identifier is reported only once for each function it appears in

/usr/src/v4l-dvb/v4l/tuner-xc2028.c:1179:1: warning: control reaches end of non-void function [-Wreturn-type]

make[5]: * [/usr/src/v4l-dvb/v4l/tuner-xc2028.o] Ошибка 1

* [_module_/usr/src/v4l-dvb/v4l] Ошибка 2

make[3]: * [sub-make] Error 2

* [all] Error 2

make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'

make[1]: * [default] Ошибка 2

make[1]: Leaving directory `/usr/src/v4l-dvb/v4l'

* [all] Ошибка 2


Asker, 2014/09/27 07:16

asker@dm:~$ uname -a
Linux dm 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
asker@dm:~$ uname -r

viji, 2009/03/21 17:50

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'

CC [M]  /usr/src/v4l-dvb/v4l/hdpvr-i2c.o
CC [M]  /usr/src/v4l-dvb/v4l/hdpvr-video.o

/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
* [_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'
* [all] Error 2

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
installing_the_latest_v4l_tv_tuner_drivers_in_debian_gnu_linux_5.0.txt · Last modified: 2009/03/02 14:02 by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2013 and other authors