Difference between revisions of "MCE Remote"

From MythTV Official Wiki
Jump to: navigation, search
(Windows Media Center Remotes (USB))
Line 5: Line 5:
 
Vendors Website: http://tinyurl.com/94q6j
 
Vendors Website: http://tinyurl.com/94q6j
  
Support Status:
+
Support Status: IR Receiver Supported. IR Transmitter - I don't think so.
  
Initial Version:Supported
+
There are two version of the MCE remote, typically referred to as the 'older' and 'newer' models. Both of these are now supported in the latest lirc, currently 0.8.0.
 
 
Newer revisions:Driver exists but is unstable
 
 
 
Driver:
 
 
 
"Original" Remotes: lirc_mceusb included with lirc package
 
 
 
Newer "Phillips eHome": http://www.blatter.com/mceusb
 
 
 
''(It may help if someone can posts photos or descriptions to describe the differences between the remotes. Anyone?)''
 
  
 
=== Description ===
 
=== Description ===
Line 24: Line 14:
  
 
=== Issues and Problems ===
 
=== Issues and Problems ===
The newer remotes are barely supported.  This should change.
+
As of lirc-0.8, both the older and newer remotes are supported.
  
 
=== Associated Software ===
 
=== Associated Software ===
Line 30: Line 20:
  
 
=== Installation guides ===
 
=== Installation guides ===
Need to write when I get time
+
 
 +
==== Older remote ====
 +
 
 +
I would ''think'' it's the same as the newer remote instructions below, but I can't verify. Only differrence is the module name is different - it will be lirc_mceusb instead of lirc_mceusb2.
 +
 
 +
==== Newer remote ====
 +
 
 +
Be sure your kernel has support for USB. Most default kernels will. You will only need the USB 1.1 driver (OHCI or UHCI) and USB 2.0 (EHCI) is not required. There is no kernel module specific for this device. Before continuing, be sure your device is recognized bby your USB host controller:
 +
 
 +
# lsusb
 +
Bus 002 Device 001: ID 0000:0000
 +
Bus 001 Device 002: ID 0471:0815 Philips
 +
Bus 001 Device 001: ID 0000:0000
 +
 
 +
Download and extract at least lirc-0.8.0. Run ./setup.sh (you must have 'dialogue' installed).
 +
 
 +
# ./setup.sh
 +
Menu Option # 1 - Select (8) USB Devices - (h) Windows Media Center Remotes (new version, Philips et al.). Save your configuration and exit.
 +
# make
 +
# make install
 +
 
 +
This will also create a /etc/lircd.conf file which should work.
 +
 
 +
Load the module
 +
 
 +
# modprobe lirc_mceusb2
 +
 
 +
Start lircd
 +
 
 +
# lircd
 +
 
 +
Test it with irw. irw will output the commands received by the IR receiver that match your lircd.conf file.  So start irw, point your remote and start pressing buttons.
 +
 
 +
# irw
 +
000000037ff07bfe 00 One mceusb
 +
000000037ff07bfd 00 Two mceusb
 +
000000037ff07bfd 01 Two mceusb
 +
000000037ff07bf2 00 Home mceusb
 +
000000037ff07bf2 01 Home mceusb
 +
 
 +
If everything works, then autoload lirc_mceusb2 when your computer loads (how to depends on your distro) and start lircd as well (also depends on your distro).
 +
 
 +
 
  
 
=== FAQs ===
 
=== FAQs ===
Phillips eHome: Follow the INSTALL guide at http://www.blatter.com/mceusb/INSTALL.  Be sure that the source you are compiling against is the recomended 0.7.0 branch.
+
Phillips eHome: These are now fully supported in latest lirc. For those that must run a pre 0.8 version, follow the INSTALL guide at http://www.blatter.com/mceusb/INSTALL.  Be sure that the source you are compiling against is the recomended 0.7.0 branch.
  
 
For my Gentoo (2.6.10) installation I had to do a few extra things.
 
For my Gentoo (2.6.10) installation I had to do a few extra things.

Revision as of 23:29, 27 January 2006

Media Center Remotes

Windows Media Center Remotes (USB)

Vendors Website: http://tinyurl.com/94q6j

Support Status: IR Receiver Supported. IR Transmitter - I don't think so.

There are two version of the MCE remote, typically referred to as the 'older' and 'newer' models. Both of these are now supported in the latest lirc, currently 0.8.0.

Description

USB Remote intended for Media Center PCs

Issues and Problems

As of lirc-0.8, both the older and newer remotes are supported.

Associated Software

Lirc: http://www.lirc.org/

Installation guides

Older remote

I would think it's the same as the newer remote instructions below, but I can't verify. Only differrence is the module name is different - it will be lirc_mceusb instead of lirc_mceusb2.

Newer remote

Be sure your kernel has support for USB. Most default kernels will. You will only need the USB 1.1 driver (OHCI or UHCI) and USB 2.0 (EHCI) is not required. There is no kernel module specific for this device. Before continuing, be sure your device is recognized bby your USB host controller:

# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0471:0815 Philips
Bus 001 Device 001: ID 0000:0000

Download and extract at least lirc-0.8.0. Run ./setup.sh (you must have 'dialogue' installed).

# ./setup.sh

Menu Option # 1 - Select (8) USB Devices - (h) Windows Media Center Remotes (new version, Philips et al.). Save your configuration and exit.

# make
# make install

This will also create a /etc/lircd.conf file which should work.

Load the module

# modprobe lirc_mceusb2

Start lircd

# lircd

Test it with irw. irw will output the commands received by the IR receiver that match your lircd.conf file. So start irw, point your remote and start pressing buttons.

# irw
000000037ff07bfe 00 One mceusb
000000037ff07bfd 00 Two mceusb
000000037ff07bfd 01 Two mceusb
000000037ff07bf2 00 Home mceusb
000000037ff07bf2 01 Home mceusb

If everything works, then autoload lirc_mceusb2 when your computer loads (how to depends on your distro) and start lircd as well (also depends on your distro).


FAQs

Phillips eHome: These are now fully supported in latest lirc. For those that must run a pre 0.8 version, follow the INSTALL guide at http://www.blatter.com/mceusb/INSTALL. Be sure that the source you are compiling against is the recomended 0.7.0 branch.

For my Gentoo (2.6.10) installation I had to do a few extra things. Before following any install documentation, remove all lirc_mceusb.ko and lirc_dev.ko modules. Mine were in /lib/modules/2.6.10/misc/ . I also had to remove /lib/dev-state/lirc* because devfs was apparently trying to restore some older (non working) lirc states.

Now follow the instructions in the INSTALL to verify proper installation (it may be helpful to load the module with "modprobe -v lirc_mceusb" to ensure you are loading the proper modules from the proper places).

I will add more to this as I understand it better, but for right now I finally have this working. Any help on Wiki Formatting would also be appreciated. This is a HardWare Template page - check back from time to time to make sure the style is consistent