Linux [xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus
#1
Hi,

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:
Sleep
Wake
Teletext
Program
Windows button
Red
Blue
Green
Yellow

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:
Teletext
Windows button
Red
Blue
Green
Yellow

But for Sleep/Wake/Progam I get:
Code:
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:
Code:
Windows button:
Event: time 1338720362.553380, type 4 (Misc), code 4 (ScanCode), value 8034045d

Teletext
Event: time 1338720546.638290, type 4 (Misc), code 4 (ScanCode), value 8034042f

Red:
Event: time 1338720572.415481, type 4 (Misc), code 4 (ScanCode), value 8034046d

Green:
Event: time 1338720574.816499, type 4 (Misc), code 4 (ScanCode), value 8034046e

Yellow:
Event: time 1338720577.741352, type 4 (Misc), code 4 (ScanCode), value 8034046f

Blue:
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:

xbmc@xbmc-lounge:~$ cat /proc/bus/input/devices
Code:
I: Bus=0003 Vendor=0471 Product=20cc Version=0100
N: Name="PHILIPS MCE USB IR Receiver- Spinel plus"
P: Phys=usb-0000:00:12.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2
B: PROP=0
B: EV=120013
B: KEY=c0000 400 0 0 0 0 58000 8001f8 4000c004 e0beffdf 1cfffff ffffffff fffffffe
B: MSC=10
B: LED=1f

I: Bus=0019 Vendor=1283 Product=0000 Version=0000
N: Name="ITE8704 CIR transceiver"
P: Phys=
S: Sysfs=/devices/virtual/rc/rc0/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=100013
B: KEY=fff 0 0 200 108fc32e 2376051 0 0 0 7 158000 4192 4001 8e9680 0 0 10000000
B: MSC=10

Code:
xbmc@xbmc-lounge:~$ cat /etc/lirc/hardware.conf
# hardware.conf for eb1501
#
REMOTE="Linux input layer (/dev/input/eventX)"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/by-id/usb-PHILIPS_MCE_USB_IR_Receiver-_Spinel_plus-event-ir"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="devinput/lircd.conf.devinput"
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
REMOTE_MODULES=""
REMOTE_LIRCD_CONF="devinput/lircd.conf.devinput"

Code:
xbmc@xbmc-lounge:~$ 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
#transmitter.

#Configuration for the Linux input layer (/dev/input/eventX) remote:
include "/usr/share/lirc/remotes/devinput/lircd.conf.devinput"
[/code]
Reply


Messages In This Thread
[xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus - by bennyp - 2012-06-03, 15:41
RE: Zotac Remote - by SpiderDice - 2013-03-11, 18:35
ZOTAC remote not working... - by moonwhaler - 2013-06-04, 22:49
RE: [xbmcbuntu - by Sadistk - 2013-06-15, 02:21
Logout Mark Read Team Forum Stats Members Help
[xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus0