Leadtek Dongle Gold Remote with lircd and Ubuntu/Linux Mint 10 and 11

Also applies to...

These instructions also work for Mint 10, Mint 11 and Ubuntu 11.

General observations

The remote appears as an ir input device. In lirc the correct REMOTE_DRIVER to use is "devinput".

Drivers

Firstly, you need to install the firmware for the dongle if you haven't already. You can do this using the "Additional Drivers" program once you've plugged your dongle in.

Pre-requisites

To get all of the buttons working on the remote you need kernel .38 or later. Earlier kernels only support a subset of the remotes buttons.

Install lirc with 'sudo apt-get install lircd'. Choose "custom" for the remote control. Lircd currently has no config files for the Leadtek Dongle Gold.

Relevant directories

  • lirc config files - /etc/lirc/

Configuration process

Download hardware.conf and place it in your /etc/lirc/ directory.

Download: hardware.conf ( - 1k)

Finding a non-varying (ie. static between reboots) path to the remote device from a dongle:

  • ls -la /dev/input/by-path/

Edit the hardware.conf file to update the uncommented REMOTE_DEVICE line with the relevant 'event-ir' line from the output of 'ls -la /dev/input/by-path/'

  • sudo gedit /etc/lirc/hardware.conf

Restart lircd:

  • sudo /etc/init.d/lirc restart

Test that remote is working properly by running:

  • irw

You should see remote codes appear in your terminal window when you press keys.

Download the lircd.conf config file for the Dongle Gold remote and place it in the /etc/lirc/ directory.

Download: lircd.conf ( - 1k)

At this point in time we now have lircd running, properly configured to take the output from our remote via the hardware.conf config and using lircd.conf translate our particular remote control codes into something that we can then use with other programs.

The final step is adding the config files that will translate the lircd generated key codes into the right key-presses for our target applications.

I'm using this remote with mythtv. For this purpose, download the 'mythtv' file and place it in your ~/.lirc/ directory.

Download: mythtv ( - 4k)

Your ~/.lirc/ directory should contain a .lircic file that has an include line for the mythtv config file:

  • include ~/.lirc/mythtv

Start your mythtv frontend and all should be good.

  • seeing what event a device is on - cat /proc/bus/input/devices

Related articles:

Using 10 speed rear derailleur with 11 speed shifter and cassette

Facts and figures

Installing and configuring MythTV on Mint 10

The simplest way to do this is to use the package manager to install the MythTV package. Unfortunately, with the default Mint pacakge sources, the Mint packages are often one or more versions/revisions behind the current stable ...

Randall MTS 1086 Dan Donegan signature module

Great super-tight sounding high gain module without any of the flubby bottom end or top end fizz that some of the other stock high gain modules have.  Definitely my favourite module straight out of the box.

Camelbak Omega Deluxe Reservoir with Flow Meter

This is the 3.0L / 100oz version that comes with the flow meter in the drinking tube. In the past I have used the Nalgene bladders. They are made out of a non-stretch type of clear plastic ...

Parts compatibility between 9 and 10 speed XT and XTR derailleurs

Note: this article is a work-in-progress.  It is currently by no means comprehensive.  I will be adding to it over time as I come across compatible or incompatible parts.

Anthem X lower pivot bearings - sizes and replacement

After about 6 months use the lower set of larger bearings on my Anthem X had started to wear out. You can see them in the picture - the new bearings are the ones with the orange rubber seals.