Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install Zotac MCE remote with LIRC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Silmano
n00b
n00b


Joined: 10 Mar 2012
Posts: 59

PostPosted: Wed Apr 17, 2013 8:13 am    Post subject: Install Zotac MCE remote with LIRC Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum