MythTV with multiple USB Tuners

I'm running MythTV with 3 Leadtek Dongle Gold DVB-T USB tuners. Each tuner has an IR receiver which works as a USBHID (keyboard) device in x-windows.

To get the remote control to work properly with MythTV you need to use lirc and for full support of all the buttons on the remote you need a recent Linux kernel - .38 or later.

With multiple tuners, each time you press a button on the remote you get multiple key-presses coming through to MythTV. This is because MythTV is getting the keypress through lircd and also the keypress through X-windows via each dongle. One button press on the remote results in up to 4 keypresses being received by MythTV.

The solution is to disable the keyboard handling within X-windows from the IR-receivers on the tuner dongles. You don't need this keyboard support in X-windows because MythTV gets its keypresses from lircd.

To disable the x-windows keyboard drivers for the USBHID tuner IR-receivers you need to add a config file to /usr/share/X11/xorg.conf.d. Call it something like 90-dongle-gold.conf and give it the following contents:

    Section "InputClass"
      Identifier "Ignore Dongle Gold IR Keyboard"
      MatchProduct "IR-receiver inside an USB DVB receiver"
      MatchIsKeyboard "true"
      Option "Ignore" "true"

If you're using different tuners then you will need to change the MatchProduct string to something that matches the name of your tuner IR receiver. To find the name, use the 'input.product' string for your tuner that you get when you type the lshal command. You may need to grep for it, like 'lshal | grep IR' or something like that.

For more information

Related articles:

Helmet light with ashperical lens

I started with this:

Saving weight with lighter spokes

There's two ways to go in terms of saving weight with spokes:

Saving weight with less spokes

Two approaches:

Touring with the tandem and bob trailer

Did my first offroad bike tour with the tandem and the bob trailer. Was just a quick overnighter. Tandem tows the bob trailer really well. The long wheelbase of the tandem and the extra weight of two ...

36 spoke rim and hub with 18 spokes

Did a quick build using a leftover 24" 36 hole rim and 36 hole hub, but using only 18 spokes. This is a great way to save some weight on over-built wheels for kids bikes. This wheel ...

650B / 27.5" forks with 26" wheels

Absolutely.  With good 26" forks getting hard to come by, using a new 27.5" fork makes perfect sense.