I've just installed XBMCBuntu onto a new Zotac ZBOX nano AD10 and everything is good, apart from a couple of buttons don't seem to work.
The box comes with a built-in IR port (identifies as: ITE8704 CIR transceiver), an MCE remote and a USB IR extender (identifies as: PHILIPS MCE USB IR Receiver- Spinel plus)
(It seems that the remote only works when using the extender, which is fine as the box is mounted on the back of the TV.)
I've been monitoring the debug log when pressing all the buttons and it seems that I need to use lirc to get more of the buttons to work.
Using Windows Media Center Transceivers/Remotes (all) doesnt seem to do anything, but Linux input layer (/dev/input/eventX) does.
Using the remote without making any changes, the following buttons do not work:
If I reconfigure lirc setting to Linux input layer (/dev/input/eventX) using the device 'usb-PHILIPS_MCE_USB_IR_Receiver-_Spinel_plus-event-ir', the following do not work:
But for Sleep/Wake/Progam I get:
14:54:21 T:3491584 DEBUG: LIRC: Update - NEW at 57848:000000008001008e 00 KEY_SLEEP devinput (KEY_SLEEP)
14:54:22 T:3491584 DEBUG: LIRC: Update - NEW at 58737:000000008001008f 00 KEY_WAKEUP devinput (KEY_WAKEUP)
14:54:24 T:3491584 DEBUG: LIRC: Update - NEW at 61438:000000008001016a 00 KEY_PROGRAM devinput (KEY_PROGRAM)
I then installed evtest, selected event2 (The phillips USB) and pressed the Windows button/Teletext/Coloured buttons, nothing happens at all.
If I then change to use event3 with evtest (The internal IR receiever), pressing the buttons above produces:
Event: time 1338720362.553380, type 4 (Misc), code 4 (ScanCode), value 8034045d
Event: time 1338720546.638290, type 4 (Misc), code 4 (ScanCode), value 8034042f
Event: time 1338720572.415481, type 4 (Misc), code 4 (ScanCode), value 8034046d
Event: time 1338720574.816499, type 4 (Misc), code 4 (ScanCode), value 8034046e
Event: time 1338720577.741352, type 4 (Misc), code 4 (ScanCode), value 8034046f
Event: time 1338720578.930124, type 4 (Misc), code 4 (ScanCode), value 80340470
So it seems that the internal IR receiver can understand the remote, but the USB extender cannot?
Is there a way to somehow use the driver from the internal with the USB so that I can map the keys?
Or even any way to get those buttons to work so they can be mapped to xbmc?
I've seen this (from this post), but that relates to openELEC. Would it be a case of doing something similar, but for XBMCbuntu?
Some relevant bits and pieces:
[email protected]:~$ cat /proc/bus/input/devices
I: Bus=0003 Vendor=0471 Product=20cc Version=0100
N: Name="PHILIPS MCE USB IR Receiver- Spinel plus"
H: Handlers=sysrq kbd event2
B: KEY=c0000 400 0 0 0 0 58000 8001f8 4000c004 e0beffdf 1cfffff ffffffff fffffffe
I: Bus=0019 Vendor=1283 Product=0000 Version=0000
N: Name="ITE8704 CIR transceiver"
H: Handlers=kbd event3
B: KEY=fff 0 0 200 108fc32e 2376051 0 0 0 7 158000 4192 4001 8e9680 0 0 10000000
[email protected]:~$ cat /etc/lirc/hardware.conf
# hardware.conf for eb1501
REMOTE="Linux input layer (/dev/input/eventX)"
[email protected]:~$ cat /etc/lirc/lircd.conf
#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#Configuration for the Linux input layer (/dev/input/eventX) remote: