LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 05-09-2012, 03:07 AM   #1
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 7

Rep: Reputation: 50
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.
 
Old 05-10-2012, 01:21 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Bookmarking, this might be useful in the near future. Thanks for sharing
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IR mce remote with LIRC j0eh4x Linux - Hardware 3 11-28-2011 11:47 PM
Windows Media Center Edition won't load from GRUB fatenabu Ubuntu 3 02-07-2010 07:07 AM
Problem with Windows XP Pro Media Center Edition 2005 raziel23x Linux - Software 8 11-13-2007 09:14 PM
Linux Media Center Edition Pauli Linux - General 3 03-19-2005 12:02 PM
Can/Will linux compete with the Media Center Edition PCs? Vincent_Vega General 23 03-18-2004 08:26 PM


All times are GMT -5. The time now is 03:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration