Silmano n00b
Joined: 10 Mar 2012 Posts: 59
|
Posted: Wed Apr 17, 2013 8:13 am Post subject: Install Zotac MCE remote with LIRC |
|
|
For all of you out there using a Zotac MCE remote under Gentoo and trying to map all the buttons, heres a little guide based on FernetMenta's lirc fork, adapted to Gentoo.
You can find the needed patches in Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=462596
With these patches you add sources for a zotac remote and compile them into lirc, letting you select 'zotac' as LIRC_DEVICES and enabling/mapping all buttons. This has been fully tested under XBMC, but I'm sure it will work without problems also with other media center software. The patch is based on lirc-0.9.0-r2.ebuild and has two parts:
- Ebuild patch: This patch modifies the lirc ebuild, must be applied to the portage tree: /usr/portage/app-misc/lirc
- Source patch: This patch modifies the sources when emergin, must be saved as zotac.patch in the portage tree: /usr/portage/app-misc/lirc/files/zotac.patch
Once applied the patches, you can modify your make.conf with the added lirc device:
Code: | LIRC_DEVICES="zotac" |
As a final note, be sure to mask app-misc/lirc so it won't be overwritten. Since the patch is not on the main portage tree, once you sync the tree the ebuild will be overwritten, telling portage to reinstall lirc as it's a different version than the patched build.
Code: | echo "app-misc/lirc" >> /etc/portage/package.mask |
|
|