Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Gentoo This forum is for the discussion of Gentoo Linux.


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

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:, 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 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:,, and

Last edited by vik; 05-10-2012 at 10:46 AM. Reason: EDIT: changed kernel configuration.
Old 05-10-2012, 01:21 AM   #2
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

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


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 > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 02:35 PM.

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