Making the Leadtek Winfast DTV-1000T Remote Work in Linux

I like this video card for several reasons:

  • It switches the computer on with the remote control
  • It has an analog input
  • Provides good quality and it is cheap compared to the Dvico cards which have essentially the same chipset.

Unfortunately it didn't have remote control support in Linux, but I created the necessary changes to the v4l drivers to make the Leadtek DTV-1000T Remote Work. I have submitted the changes to the video4linux list and they have been added to the mercurial repository.

I don't know when these changes of the mercurial repository will be merged into the stable kernel. You have two options to make the remote work: apply the patches below to your existing kernel or download the video for linux mercurial sources and install them in your existing kernel. 

Just beware that the this patch might not match your sources. In that case you can manually do it youserf by editing cx88-input.c and adding the patch lines. It is only about 5 lines of code!

diff -upr a/v4l-dvb/linux/drivers/media/video/cx88/cx88-input.c b/v4l-dvb/linux/drivers/media/video/cx88/cx88-input.c
--- a/v4l-dvb/linux/drivers/media/video/cx88/cx88-input.c 2007-05-29 20:40:19.000000000 +1000
+++ b/v4l-dvb/linux/drivers/media/video/cx88/cx88-input.c 2007-05-30 22:05:00.000000000 +1000
@@ -91,6 +91,11 @@ static void cx88_ir_handle_key(struct cx
auxgpio = cx_read(MO_GP1_IO);
/* Take out the parity part */
gpio=(gpio & 0x7fd) + (auxgpio & 0xef);
+ } else if(core->board==CX88_BOARD_WINFAST_DTV1000) {
+ gpio = (gpio & 0x6ff) | ((cx_read(MO_GP1_IO)<<8) & 0x900);
+ auxgpio = gpio;
} else
auxgpio = gpio;
@@ -245,6 +250,7 @@ int cx88_ir_init(struct cx88_core *core,
ir->polling = 50; /* ms */
+ case CX88_BOARD_WINFAST_DTV1000:
ir_codes = ir_codes_winfast;
ir->gpio_addr = MO_GP0_IO;
ir->mask_keycode = 0x8f8;

If you want to install v4l from source, you have to do a couple of things first:

  • Go to your home directory, and create a directory called v4l.
  • Then you'll need to install mercurial to be able to install v4l
  • Finally get the v4l source files

All these steps are covered in the following commands:

#yum install mercurial
$cd ~
$mkdir v4l
$cd v4l
$hg clone http://linuxtv.org/hg/v4l-dvb

If you want to know more, you can go to this page:


Once you have the v4l sources, go to the v4l-dvb directory. Then do a make and make install. Please beware that this procedure will overwrite your existing v4l modules, so in case something goes wrong, you better have a way to get your original v4l modules.

#cd v4l-dvb
#make install

Once you have the v4l modules installed, the remote control of the Leadtek DTV-1000 should work.

Next, you need to install and configure LIRC.

Continue Shoppping View Cart
Continue Shoppping View Wishlist