Thanks for the info, the MCE USB receiver looks fine, I have one with the same chipset here.
I'd like you to run 3 tests, before each test do a cold boot and then stop kodi and eventlircd so they don't interfere with testing:
systemctl stop kodi
systemctl stop eventlircd
For the first test plug in the Xbox DVD remote dongle, stop kodi/eventlircd and then run the following command
Then press each of the buttons "1", "2", "3" for about 1-2 seconds, copy the output you got on the console to a text file and attach it here.
For the second test plug in only the MCE USB receiver, stop kodi/eventlircd.
Then grab the raw signals for each of the buttons "1", "2," and "3" while you press them for about 1-2 seconds. Run the following command (substituting 1.txt according to the button you'll press)
Press the button for 1-2 seconds, then press control-c in the terminal to stop recording. Attach the 3 files (1.txt, 2.txt, 3.txt).
For the third test plug in both the Xbox DVD receiver dongle and the MCE USB receiver.
After bootup (and stopping kodi/eventlircd) run ir-keytable to see which rcX and /dev/lircX device was assigned to the MCE USB receiver (either the Xbox or the MCE device could be number zero and the other number one). The output should look like this
Found /sys/class/rc/rc0/ (/dev/input/event10) with:
Name: Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)
Driver: mceusb, table: rc-rc6-mce
lirc device: /dev/lirc0
...
Found /sys/class/rc/rc1/ (/dev/input/event0) with:
Name: Xbox DVD USB Remote Control(045e,0284)
Driver: xbox_remote, table: rc-xbox-dvd
lirc device: /dev/lirc1
Note the /sys/class/rc/rc0/ and lirc device: /dev/lirc0 in the output of the "Media Center Ed. eHome Infrared Remote Transceiver" / "Driver: mceusb" block - if you got rc1 and/or /dev/lirc1 or something else substitute rc0 and /dev/lirc0 with your values.
Run the following commands:
ir-keytable -s rc0 -p lirc -c
ir-ctl -d /dev/lirc0 -t 20000
echo "nop" > /sys/kernel/debug/tracing/current_tracer
echo "rc_keydown" > /sys/kernel/debug/tracing/set_ftrace_filter
echo "ir_raw_event_store_with_filter" >> /sys/kernel/debug/tracing/set_ftrace_filter
echo "function" > /sys/kernel/debug/tracing/current_tracer
Now press the button "1" for about 2 seconds. Then run the following command to grab the kernel trace:
cat /sys/kernel/debug/tracing/trace | paste
Note the URL you got on the console and post it here together with the files you grabbed in the previous 2 tests.
With that info it should be rather easy to determine the missing parameters.
so long,
Hias