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

Microsoft MCE (1039) remote configuration
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Microsoft MCE (1039) remote configuration
22nd Feb, 2013, 05:22 PM
Post: #43
_nico Offline
Registered
Posts: 6
Joined: Feb 2013
Reputation: 0
RE: Microsoft MCE (1039) remote configuration
(22nd Feb, 2013 08:56 AM)CurlyMo Wrote:  But did you already try to create a full map yourself with irrecord?

I create a fullmap with (irrecord -a) - doesn't work - xbian ignores the conf file.

---

I found the problem.

---

I create /etc/lirc/remotes/mceusb.conf with this content.

Edit /etc/lirc/lircd.conf

Code:
#include "/etc/lirc/remotes/devinput.conf"
#include "/etc/lirc/remotes/xbox.conf"
#include "/etc/lirc/remotes/smt1000t.conf"
#include "/etc/lirc/remotes/srm7500.conf"
include "/etc/lirc/remotes/mceusb.conf"

Your /etc/lirc/hardware.conf

Code:
...
    elif [ $(dmesg | grep mceusb | wc -l) -gt 0 ]; then
        if [ $(cat /proc/bus/input/devices | grep 'Media Center Ed.' | wc -l) -gt 0 ]; then
            if [ $(cat /proc/bus/input/devices | grep -m 1 -A 4 'Media Center Ed.' | grep -o event[0-9] | sed -e 's/event//g') -eq 0 ]; then
                . /etc/lirc/hardware/mceusb_event0.conf
            elif [ $(cat /proc/bus/input/devices | grep -m 1 -A 4 'Media Center Ed.' | grep -o event[0-9] | sed -e 's/event//g') -eq 1 ]; then
                . /etc/lirc/hardware/mceusb_event1.conf
            elif [ $(cat /proc/bus/input/devices | grep -m 1 -A 4 'Media Center Ed.' | grep -o event[0-9] | sed -e 's/event//g') -eq 2 ]; then
                . /etc/lirc/hardware/mceusb_event2.conf
            else
                . /etc/lirc/hardware/mceusb.conf
            fi
        else
            . /etc/lirc/hardware/mceusb.conf
        fi
...

Code:
root@else ~ # cat /proc/bus/input/devices | grep 'Media Center Ed.' | wc -l
1
root@else ~ # cat /proc/bus/input/devices | grep -m 1 -A 4 'Media Center Ed.' | grep -o event[0-9] | sed -e 's/event//g'
0

Ok, lirc use /etc/lirc/hardware/mceusb_event0.conf
I edit following lines ...

Code:
DRIVER="devinput"
to
Code:
#DRIVER="devinput"

... , ...

Code:
DEVICE="/dev/input/event1"
to
Code:
DEVICE="/dev/lirc0"

... and it works! Cool

But, the cursor keys UP, DOWN, LEFT, RIGHT and ENTER are recognized by xbmc twice - when i stop lirc, then works only the cursor keys UP, DOWN, LEFT, RIGHT and ENTER. Rolleyes
(http://forum.xbmc.org/showthread.php?tid=90078&pid=721137#pid721137)

Happy bug fixing!

I'll stick with RaspBMC Heart - everything works out-of-the-box!
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Microsoft MCE (1039) remote configuration - degauss5 - 13th Feb, 2013, 06:57 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 13th Feb, 2013, 07:13 AM
RE: Microsoft MCE (1039) remote configuration - degauss5 - 14th Feb, 2013, 12:47 AM
RE: Microsoft MCE (1039) remote configuration - degauss5 - 14th Feb, 2013, 06:38 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 14th Feb, 2013, 06:42 AM
RE: Microsoft MCE (1039) remote configuration - degauss5 - 15th Feb, 2013, 05:37 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 15th Feb, 2013, 05:43 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 15th Feb, 2013, 06:47 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 16th Feb, 2013, 06:26 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 16th Feb, 2013, 07:06 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 16th Feb, 2013, 06:42 PM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 16th Feb, 2013, 07:11 PM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 16th Feb, 2013, 07:41 PM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 16th Feb, 2013, 08:37 PM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 12:53 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 17th Feb, 2013, 01:01 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 01:03 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 17th Feb, 2013, 01:05 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 02:22 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 17th Feb, 2013, 02:29 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 02:50 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 17th Feb, 2013, 02:55 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 03:34 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 17th Feb, 2013, 03:39 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 04:06 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 17th Feb, 2013, 04:25 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 04:28 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 17th Feb, 2013, 05:08 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 07:09 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 17th Feb, 2013, 07:27 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 17th Feb, 2013, 07:44 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 18th Feb, 2013, 01:05 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 18th Feb, 2013, 01:13 AM
RE: Microsoft MCE (1039) remote configuration - wolfylee - 18th Feb, 2013, 01:31 AM
RE: Microsoft MCE (1039) remote configuration - _nico - 22nd Feb, 2013, 08:04 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 22nd Feb, 2013, 08:09 AM
RE: Microsoft MCE (1039) remote configuration - _nico - 22nd Feb, 2013, 08:14 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 22nd Feb, 2013, 08:27 AM
RE: Microsoft MCE (1039) remote configuration - _nico - 22nd Feb, 2013, 08:32 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 22nd Feb, 2013, 08:40 AM
RE: Microsoft MCE (1039) remote configuration - _nico - 22nd Feb, 2013, 08:49 AM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 22nd Feb, 2013, 08:56 AM
RE: Microsoft MCE (1039) remote configuration - _nico - 22nd Feb, 2013 05:22 PM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 22nd Feb, 2013, 07:53 PM
RE: Microsoft MCE (1039) remote configuration - _nico - 22nd Feb, 2013, 07:58 PM
RE: Microsoft MCE (1039) remote configuration - CurlyMo - 23rd Feb, 2013, 01:37 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Microsoft MCE Remote, help needed Tekmad 6 18,517 3rd Jan, 2013 12:32 AM
Last Post: Tekmad

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

Current time: 24th May, 2025, 02:54 PM Powered By MyBB, © 2002-2025 MyBB Group.