Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[Howto] mceusb driver with lirc protocol instead of rc-6/devinput
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[Howto] mceusb driver with lirc protocol instead of rc-6/devinput
12th Jan, 2014, 11:25 PM
Post: #1
teekay Offline
Registered
Posts: 20
Joined: Jan 2014
Reputation: 9
[Howto] mceusb driver with lirc protocol instead of rc-6/devinput
Hi,

I'm brand new to XBian - really good work, guys. I migrated XBMC from my zaphod headed main box to a RPi (in order to get rid of the HDMI cable across the living room doorstep)

One thing that bugged me on the main box already back when I set it up was the fact that the LIRC devinput driver caused some laggyness with my mceusb receiver.

Hardware used:
- USB Formosa21 eHome Infrared Transceiver
- Logitech Harmony 650

Symptoms with devinput:
- first button press is ignored very often when the remote hasn't been used for some minutes/hours
- huge lags on key repeats every now and then

Solution:
Use mceusb driver with the lirc protocol instead of rc-6 via the input event layer.

This also fixes (see comments below):
- Microsoft MCE 1039 remote unmapped keys

These are the steps needed:

1. Edit /etc/lirc/hardware/custom.conf (this gets sourced by the main hardware.conf and takes precedence if at least one of the variables in there is uncommented and not empty)
Code:
#DRIVER="" # do _not_ set devinput here
DEVICE="/dev/lirc0"
MODULES="lirc_dev mceusb ir_lirc_codec"

echo lirc > /sys/class/rc/rc0/protocols

2. Edit /etc/lirc/lircd.conf and add at the top:
Code:
include "/etc/lirc/remotes/mceusb.conf"

3. Restart lirc and xbmc
Terminal
# service lirc restart
# service xbmc restart

Took me about an hour to find out how this needs to be set up in XBian. Dead simple, actually.
My remote feels a lot snappier now.

Hope it helps others with USB MCE receivers, too.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
[Howto] mceusb driver with lirc protocol instead of rc-6/devinput - teekay - 12th Jan, 2014 11:25 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - sievo - 22nd Jan, 2014, 08:01 AM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - teekay - 23rd Jan, 2014, 05:45 AM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - mk01 - 25th Jan, 2014, 05:33 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - teekay - 25th Jan, 2014, 06:53 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - mk01 - 26th Jan, 2014, 12:49 AM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - sievo - 28th Jan, 2014, 05:28 AM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - teekay - 28th Jan, 2014, 05:55 AM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - mk01 - 3rd Feb, 2014, 06:22 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - teekay - 3rd Feb, 2014, 08:06 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - mk01 - 4th Feb, 2014, 02:06 AM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - _JJ_ - 3rd Apr, 2014, 07:00 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - mk01 - 3rd Apr, 2014, 07:37 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - ditschi - 9th Jul, 2014, 06:38 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - Yoda - 9th Jul, 2014, 11:03 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - anagram - 3rd Aug, 2014, 06:15 PM
RE: [Howto] mceusb driver with lirc protocol instead of rc-6/devinput - mk01 - 7th Aug, 2014, 06:08 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] lirc, mceusb and generic HP USB IR receiver dharmabm 6 27,611 19th Apr, 2014 01:23 PM
Last Post: mk01

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 22nd May, 2025, 10:44 PM Powered By MyBB, © 2002-2025 MyBB Group.