Kodi Community Forum

Full Version: Nexus Player Android x86_64 kernel with MCE support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,
I finally received my usb otg hub so I can start fiddling with my mce usb ir receiver. I was hoping it would just be plug and play, but alas for some reason google didn't include the necessary kernel drivers for this old receiver lol. So after an hour of pulling sources and digging through the make menuconfig options I think I setup the proper build. Now when I plug in the usb receiver it actually spits out some good dmesg info. I'm just not sure where to go from here. Debug kodi logs still don't register any key presses. Here is my dmesg for the NP.
Code:
<6>[  495.285263] usb 2-1.4: new full-speed USB device number 5 using dwc3-host
<6>[  495.322972] usb 2-1.4: New USB device found, idVendor=045e, idProduct=006d
<6>[  495.322992] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[  495.323004] usb 2-1.4: Product: Microsoft IR Transceiver
<6>[  495.323014] usb 2-1.4: Manufacturer: Microsoft
<6>[  495.323024] usb 2-1.4: SerialNumber: MS1PG7GQ
<6>[  495.331082] Registered IR keymap rc-rc6-mce
<6>[  495.331553] input: Media Center Ed. eHome Infrared Remote Transceiver (045e:006d) as /devices/pci0000:00/0000:00:11.0/dwc3-host.2/usb2/2-1/2-1.4/2-1.4:1.0/rc/rc2/input10
<6>[  495.331633] keychord: using input dev Media Center Ed. eHome Infrared Remote Transceiver (045e:006d) for fevent
<6>[  495.331642] rc2: Media Center Ed. eHome Infrared Remote Transceiver (045e:006d) as /devices/pci0000:00/0000:00:11.0/dwc3-host.2/usb2/2-1/2-1.4/2-1.4:1.0/rc/rc2
<6>[  495.332199] input: MCE IR Keyboard/Mouse (mceusb) as /devices/virtual/input/input11
<6>[  495.332364] keychord: using input dev MCE IR Keyboard/Mouse (mceusb) for fevent
<6>[  495.332449] rc rc2: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
<6>[  495.492417] mceusb 2-1.4:1.0: Registered Microsoft Microsoft IR Transceiver with mce emulator interface version 1
<6>[  495.492430] mceusb 2-1.4:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x0 active)
Bahh I'm running into selinux roadblocks. I guess I'll give up for now.
Code:
root@fugu:/system/usr/lirc # ./ir-keytable                                    
Found /sys/class/rc/rc0/ (/dev/input/event0) with:
    Driver rc-loopback, table rc-empty
    Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC RC-5-SZ other
    Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC RC-5-SZ other
    Name: rc-core loopback device
    bus: 6, vendor/product: 0000:0000, version: 0x0001
    Repeat delay = 0 ms, repeat period = 0 ms
Found /sys/class/rc/rc1/ (/dev/input/event4) with:
    Driver mceusb, table rc-rc6-mce
    Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC RC-5-SZ other
    Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC RC-5-SZ other
    Name: Media Center Ed. eHome Infrared
    bus: 3, vendor/product: 045e:006d, version: 0x0200
    Repeat delay = 0 ms, repeat period = 0 ms