I keep meaning to document this, the installation procedure for my MCEUSB2 remote control with lirc under Ubuntu, so here we go.
-
$ sudo aptitude install lirc lirc-modules-source module-assistant debconf-utils
-
$ wget http://static.cs278.org/conf/debconf/ubuntu-704_lirc-modules-source -O- | sudo debconf-set-selections $ sudo dpkg-reconfigure lirc-modules-source
This was needed before but is now automated:
Selectmceusb2
and thenNo
, and chooseInstall the package maintainer’s version
if the option appears. -
$ sudo sed 's/MODULES=""/MODULES="lirc_mceusb2"/' /etc/lirc/hardware.conf --in-place
-
$ sudo m-a update,prepare $ sudo rm /usr/src/lirc*deb $ sudo m-a clean lirc $ sudo m-a a-i lirc $ sudo depmod -a
-
$ wget "https://help.ubuntu.com/community/Install_Lirc_Feisty?action=AttachFile&do=get&target=lircd.conf.mceusb" -O- | sudo tee /etc/lirc/lircd.conf
-
$ sudo modprobe lirc_mceusb2 $ sudo /etc/init.d/lirc start
Sources: