I tried to install a USB HP Windows Media Center Infrared Remote on my NUC using LIRC. Using the HP IR receiver, not much luck. In debugging I downloaded and flashed the latest bios (wy0030.bio) and a new device appeared: "Nuvoton w836x7hg Infrared Remote Transceiver". So I unplugged the old HP IR receiver and ran the following in a terminal (Uses the Novotron IR with the HP Windows Media Center Clicker):
In a terminal->
sudo pkill lircd
sudo gedit /etc/lirc/hardware.conf
And changed hardware.conf to look like this:
#Chosen Remote Control
#Chosen IR Transmitter
#Disable kernel support.
#Typically, lirc will disable in-kernel support for ir devices in order to
#handle them internally. Set to false to prevent lirc from disabling this
#Don't start lircmd even if there seems to be a good config file
#Try to load appropriate kernel modules
# 10/29/2014 next value set from true to false as experiment, didn't help, changed it back.
# Default configuration files for your hardware if any
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
sudo gedit /etc/lirc/lircd.conf
and lircd.conf looks like this:
Apparently its the key phrase ' REMOTE="Custom" ' that brings the novotron to life.
Then in your terminal:
sudo /etc/init.d/lirc restart
You can test it with
irw (press some keys on your remote, you should see the keypress on your terminal) Control-C to exit.