Difference between revisions of "Ubuntu lirc install"
From MythTV Official Wiki
Aussiedude (talk | contribs) m (→Install) |
m (→Install) |
||
Line 22: | Line 22: | ||
''Make sure LOAD_MODULES is =true. Also, add your module to the line that is MODULES="". | ''Make sure LOAD_MODULES is =true. Also, add your module to the line that is MODULES="". | ||
''For the mceusb2 driver, this would be lirc_mceusb2'' | ''For the mceusb2 driver, this would be lirc_mceusb2'' | ||
− | Fiesty (7.04) | + | Fiesty (7.04) may require you to change DEVICE to DEVICE="/dev/lirc/0" despite the fact that the comments said this would be adjusted automagically but I found it not necessary. |
*Remove Old Drivers and Build Lirc Modules (Don't worry about file not found errors). | *Remove Old Drivers and Build Lirc Modules (Don't worry about file not found errors). |
Revision as of 01:06, 10 August 2007
About
This Guide is the 'official' way to install Lirc remote control drivers in Ubuntu Linux
This guide is for the Windows Media Center remote control but should work with any Lirc driver
Install
- Install Lirc
sudo apt-get install lirc lirc-modules-source module-assistant
- Configure lirc-modules-source
sudo dpkg-reconfigure lirc-modules-source
A Configuration should appear Choose the OK button and press enter (tab key to move across) Make sure only the mceusb2 modules is selected, use the space bar to select, and then press enter on OK You will be given an option to build the modules. Be sure not to build the modules here You may be given an option to replace with a new version. Be sure to choose to Install the package maintainer's version
- Modify /etc/lirc/hardware.conf
sudo gedit /etc/lirc/hardware.conf
Make sure LOAD_MODULES is =true. Also, add your module to the line that is MODULES="". For the mceusb2 driver, this would be lirc_mceusb2
Fiesty (7.04) may require you to change DEVICE to DEVICE="/dev/lirc/0" despite the fact that the comments said this would be adjusted automagically but I found it not necessary.
- Remove Old Drivers and Build Lirc Modules (Don't worry about file not found errors).
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
- Create a lircd.conf
wget http://download.efficientpc.co.uk/files/lircd.conf.mceusb sudo cp lircd.conf.mceusb /etc/lirc/lircd.conf
- Load Module
sudo modprobe lirc_mceusb2
- Restart Lirc
sudo /etc/init.d/lirc restart
- Test
irw Press some keys on the remote and see if you get any response
- Copy Key mapping to home directory (Added xmms support, Thanks Elliot Taylor)
wget http://download.efficientpc.co.uk/files/lircrc cp lircrc ~/.lircrc
- Give Mythtv access to Lircrc (If you use Mythtv)
ln -s ~/.lircrc ~/.mythtv/lircrc
- Done
Guide also available at wiki.efficientpc.co.uk