Tuesday, January 8, 2013

Using a second IR receiver in Asrock ION330 HTPC

I have added a Windows MCE USB IR receiver to replace the failing builtin receiver in the ION330. Its a cheap chinese HP-branded unit from ebay. The kernel log identifies it as a
[17299.712107] mceusb 2-6:1.0: Registered FINTEK eHome Infrared Transceiver with mce emulator interface version 2
I followed these steps to get it working:

  1. sudo dpkg-reconfigure lirc
    and choose a Windows Media Center Remote (all) as receiver. I chose None for transmitter.
  2. Manually edit /etc/lirc/hardware.conf to use /dev/lirc1, since the builtin Nuvoton receiver is on lirc0
  3. Work around this bug by this method (for Ubuntu 12.04, should be fixed for 12.10):
     sudo ln -s /lib/modules/3.2.0-23-generic-pae/kernel/drivers/staging/media/lirc /lib/modules/3.2.0-23-generic-pae/kernel/drivers/staging/lirc
    Remember to substitute your kernel version.
  4. sudo service lirc restart
  5. testing with irw now works