| Gentoo This forum is for the discussion of Gentoo Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-09-2012, 03:07 AM
|
#1
|
|
Member
Registered: Apr 2008
Distribution: Gentoo
Posts: 198
Rep:
|
Lirc .9 with Media Center Edition (MCE) Transceiver in kernel 3.3.4 [SOLVED]
Hello, I'm writing this to help out anyone who has wasted days trying to get their MCE remote or Media Center Edition Transceiver working with a newer kernel (3.3.4) and new Lirc (.9). As you may know, mceusb was once built into lirc but now it is in the mainline kernel and there's very little documentation-wise to help us figure it out. Here are the steps to get it working in the new environment (this is for Gentoo but other distros should be similar): - Kernel configuration. Under Device Drivers->Multimedia Support->Remote Controller adapters, select Enable IR Raw decoder for the RC6 protocol, Enable IR to LIRC bridge, and Windows Media Center Ed. eHome Infrared Transceiver. The IR to LIRC bridge is what creates our /dev/lirc0 device. NOTE: compiling in Compile Remote Controller Keymap caused the buttons to repeat as mentioned here: http://www.mythtv.org/wiki/MCE_Remote, under troubleshooting. If you don't have an lircrc file defined, you open a terminal, and pressing the up arrow on the remote shows you the last command you typed: you have this module enabled.
- Install lirc. I grabbed the latest, 0.9. USE flags: transmitter (might not be needed). In etc/make.conf, add this line LIRC_DEVICES="userspace". Make sure lirc_devices_userspace use flag is set.
- The ebuild for lirc is broken for my 64 bit system. the fix is this: export LDFLAGS_amd64=""; emerge lirc.
- grab the proper lircd.conf file from lirc.sourceforge.net/remotes/mceusb/lircd.conf.mceusb and copy it to /etc/lirc/lircd.conf.
- /etc/init.d/lircd start. hopefully this works; if not take a look at /etc/conf.d/lircd and make sure you have a /dev/lirc0. If not, add a line LIRCD_OPTS="-d /dev/path_to_your_device" to the file.
- test receive. run irw and press buttons on the remote. you should see "hex code" "command" "remote". For example, if I press 2 I'll see 000000037ff07bfd 00 Two mceusb.
- test send. irsend LIST mceusb "" to see commands. Then irsend SEND_ONCE mceusb One and you should see the led light up on the transmitter.
- now create your lircrc file and get your media center going!
I originally tried the devinput driver but wasn't able to run irsend; I would get an error "send unsupported on hardware" or something like that.
Helpful links: http://www.mythtv.org/pipermail/myth...ne/316879.html, http://forums.gentoo.org/viewtopic-t...1-start-0.html, and forums.gentoo.org/viewtopic-p-6928138.html.
Last edited by vik; 05-10-2012 at 10:46 AM.
Reason: EDIT: changed kernel configuration.
|
|
|
|
05-10-2012, 01:21 AM
|
#2
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
Bookmarking, this might be useful in the near future. Thanks for sharing 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|