RE: [xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus - steffen_b - 2013-01-25
Has anyone tried http://askubuntu.com/questions/69804/how-do-i-change-the-keymap-of-a-single-device-logitech-presenter for this device.
This seems to be the only proper way to also get it upstream in future. It does not require compiling anything. All what is required is editing one udev rule and one text file (keymap).
RE: [xbmcbuntu] [SOLVED] working PHILIPS MCE USB IR Receiver-Spinel plus - Isulaiman - 2013-02-13
Anyone know if you loose these remote settings if you upgrade to the latest xbmc (12)??
Thanks
RE: Zotac Remote - SpiderDice - 2013-03-11
(2012-10-16, 19:56)fritsch Wrote: On popular request by guilmxm
Zotac AD-10 Internal remote.
Everything is no problem at all with the build in lirc:
Code: sudo apt-get install lirc
replace the following files
Code: # /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="zboxremote"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="SIR IrDA (built-in IR ports)"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
lircd.conf
Code: # /etc/lirc/lircd.conf
begin remote
name zboxremote
bits 8
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2672 851
one 457 425
zero 457 425
pre_data_bits 29
pre_data 0x37FCB7B
gap 106237
toggle_bit_mask 0x8000
rc6_mask 0x100000000
begin codes
KEY_SLEEP 0xC2
KEY_WAKEUP 0x71
KEY_RECORD 0xC8
KEY_PAUSE 0xCF
KEY_STOP 0xCE
KEY_REWIND 0xD6
KEY_PLAY 0xD3
KEY_FASTFORWARD 0xD7
KEY_PREVIOUS 0xDE
KEY_NEXT 0xDF
KEY_BACK 0x7C
KEY_INFO 0x34
KEY_HOME 0xA2
KEY_UP 0xA7
KEY_DOWN 0xA6
KEY_LEFT 0xA5
KEY_RIGHT 0xA4
KEY_OK 0xA3
KEY_VOLUMEDOWN 0xEE
KEY_VOLUMEUP 0xEF
KEY_MUTE 0xF2
KEY_CHANNELDOWN 0xE0
KEY_CHANNELUP 0xE1
KEY_1 0xFE
KEY_2 0xFD
KEY_3 0xFC
KEY_4 0xFB
KEY_5 0xFA
KEY_6 0xF9
KEY_7 0xF8
KEY_8 0xF7
KEY_9 0xF6
KEY_0 0xFF
KEY_KPASTERISK 0xCC
KEY_KPSLASH 0xCD
KEY_CLEAR 0xC5
KEY_TEXT 0xD0
KEY_EPG 0xC1
KEY_ENTER 0xCB
KEY_RED 0x92
KEY_GREEN 0x91
KEY_YELLOW 0x90
KEY_BLUE 0x8F
end codes
end remote
Some remappings for xbmc:
/home/xbmc/.xbmc/userdata/Lircmap.xml
Code: <lircmap>
<remote device="zboxremote">
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
<start>KEY_HOME</start>
<back>KEY_BACK</back>
<record>KEY_RECORD</record>
<play>KEY_PLAY</play>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
<forward>KEY_FORWARD</forward>
<reverse>KEY_REWIND</reverse>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<pageplus>KEY_CHANNELUP</pageplus>
<pageminus>KEY_CHANNELDOWN</pageminus>
<skipplus>KEY_NEXT</skipplus>
<skipminus>KEY_AGAIN</skipminus>
<mute>KEY_MUTE</mute>
<power>KEY_SLEEP</power>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<mytv>LiveTV</mytv>
<one>KEY_1</one>
<two>KEY_2</two>
<three>KEY_3</three>
<four>KEY_4</four>
<five>KEY_5</five>
<six>KEY_6</six>
<seven>KEY_7</seven>
<eight>KEY_8</eight>
<nine>KEY_9</nine>
<zero>KEY_0</zero>
<red>KEY_RED</red>
<green>KEY_GREEN</green>
<yellow>KEY_YELLOW</yellow>
<blue>KEY_BLUE</blue>
<menu>KEY_DVD</menu>
<clear>KEY_CLEAR</clear>
<enter>KEY_ENTER</enter>
<star>KEY_KPASTERISK</star>
<hash>KEY_KPSLASH</hash>
<title>KEY_WAKEUP</title>
<teletext>KEY_TEXT</teletext>
<guide>KEY_EPG</guide>
<info>KEY_INFO</info>
</remote>
</lircmap>
And some additional remaps as I like them.
/home/xbmc/.xbmc/userdata/keymaps/remap.xml
Code: <keymap>
<global>
<remote>
<power>ActivateWindow(ShutdownMenu)</power>
<info>ContextMenu</info>
<record>XBMC.ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</record>
</remote>
</global>
<fullscreenvideo>
<remote>
<info>CodecInfo</info>
<back>Back</back>
<select>OSD</select>
</remote>
</fullscreenvideo>
</keymap>
Hi-
I am just trying to map the Context Menu to one button on my Zotac remote. Do I have to go through the above steps? If successful, will this allow me to hit ContextMenu from a button? Which button?
Thanks!
some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus - digi_joe - 2013-06-03
Hi,
I am using a Zotac AD10, Ubuntu 12.04 + Kernel 3.8 (Had some issues with suspend to ram with the original kernel).
I kept to the Howto of Fritsch in Post 35. After installation I started lirc manually using
sudo /etc/init.d/lirc restart
and restarted xbmc
sudo /etc/init.d/lightdm restart.
Everything was working great (Even the color buttons).
However after reboot the internal IR receiver did not work anymore. Even restarting lirc and xbmc manually didn't solve the problem. Am I missing something.
Thanks
digi_joe
ZOTAC remote not working... - moonwhaler - 2013-06-04
Hi there,
I followed every step by using "guilmxm" Tutorial ( http://youresuchageek.blogspot.fr/2012/06/xbmc-install-and-config-howto-for-linux.html ) - in this case only the remote part (external USB), but although I didn't get any errors while compiling the sources and such, I'm not able to get any feedback when using the remote - after every single step completed.
Reverting the "/usr/share/X11/xorg.conf.d/10-evdev.conf" back to default brings back the support for my remote, but only as a keyboard. So many keys are missing any functionality.
I created a debug log and uploaded it to xbmclogs, here: http://xbmclogs.com/show.php?id=24806
I double checked the "Lircmap.xml" as well. No XML element errors there...
Thank you for your help!
RE: [xbmcbuntu - Sadistk - 2013-06-15
So how would i go about installing this driver for my zotac controller on windows 7 , because im reading alot of linux and ubuntu stuff , but i cant seem to find a way to fix my zotac for windows 7 ?
RE: [xbmcbuntu] [SOLVED] some buttons not working - Laggejteuh - 2013-07-14
Hi,
I followed the instructions on http://youresuchageek.blogspot.nl/2012/06/xbmc-install-and-config-howto-for-linux.html to install Lubuntu+XBMC on my Zotac ZBOX Nano XS AD13.
All works fine, except for a few remote buttons in XBMC (I'm using the internal iR so I took the sudo apt-get install lirc route).
The remote should be similar to the remote of the AD11, but some buttons behave different in XBMC:
- Left power button (O) opens "quick config" menu.
- Right power button (|) opens "context" menu (not sure how this menu is called, it's the same as the right-click menu in windows).
- Info button (i) also opens "context" menu.
- Context menu button (the one left of the Enter button) opens a PVR command (which I don't have so XBMC says "no PVR client has been started yet").
Rest of the buttons work fine, where should I look to fix this?
When I run the latest OpenElec from USB-drive all buttons work like they should:
- Left power button (O) puts device in sleep mode
- Right power button (|) opens shutdown menu
- Info button (i) opens information page
- Context menu button opens context menu
Thanks in advance!
RE: [xbmcbuntu] [SOLVED] some buttons not working - Laggejteuh - 2013-07-14
Ok I fixed it myself by checking the iR commands with irw and editing Lircmap.xml and remap.xml.
The context menu button I meant was actually the EPG button ;-)
For those interested, here's my current config for the ZBOX AD13:
~/.xbmc/userdata/Lircmap.xml:
Code: <lircmap>
<remote device="zboxremote">
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
<start>KEY_HOME</start>
<back>KEY_BACK</back>
<record>KEY_RECORD</record>
<play>KEY_PLAY</play>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
<forward>KEY_FASTFORWARD</forward>
<reverse>KEY_REWIND</reverse>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<pageplus>KEY_CHANNELUP</pageplus>
<pageminus>KEY_CHANNELDOWN</pageminus>
<skipplus>KEY_NEXT</skipplus>
<skipminus>KEY_PREVIOUS</skipminus>
<mute>KEY_MUTE</mute>
<power>KEY_WAKEUP</power>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<mytv>LiveTV</mytv>
<one>KEY_1</one>
<two>KEY_2</two>
<three>KEY_3</three>
<four>KEY_4</four>
<five>KEY_5</five>
<six>KEY_6</six>
<seven>KEY_7</seven>
<eight>KEY_8</eight>
<nine>KEY_9</nine>
<zero>KEY_0</zero>
<red>KEY_RED</red>
<green>KEY_GREEN</green>
<yellow>KEY_YELLOW</yellow>
<blue>KEY_BLUE</blue>
<title>KEY_EPG</title>
<menu>KEY_SLEEP</menu>
<clear>KEY_CLEAR</clear>
<enter>KEY_ENTER</enter>
<star>KEY_KPASTERISK</star>
<hash>KEY_KPSLASH</hash>
<teletext>KEY_TEXT</teletext>
<info>KEY_INFO</info>
</remote>
</lircmap>
~/.xbmc/userdata/keymaps/remap.xml:
Code: <keymap>
<global>
<remote>
<power>ActivateWindow(ShutdownMenu)</power>
<record>XBMC.ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</record>
<menu>Suspend</menu>
</remote>
</global>
<fullscreenvideo>
<remote>
<info>CodecInfo</info>
<back>Back</back>
<select>OSD</select>
</remote>
</fullscreenvideo>
</keymap>
RE: [xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus - snmp - 2013-10-29
omg plez help. ive gone through this setup a million times, and my remotes does zip zilch nodda
zotac ad06 ubuntu minimal raring/xbmc frodo
follow directions to a t
debug logs show no errors/ yes debugging is on
lirc is running, and it shows my device, but nothing
any ideas
RE: [xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus - SikeMo - 2014-04-22
Anyone have an update on this thread since Trusty was released?
RE: [xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus - FernetMenta - 2014-04-23
Nothing has changed with Trusty.
RE: [xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus - tekno - 2014-05-20
I am trying to get the Internal CIR header working in Linux. I have a Sony RM-MCE20 media center remote and a TSOP38238 connected to the CIR header. This works great in Windows 7 . The CIR chip is the same as mentioned here, the ITE 8704 .
I have tried many settings but getting through the LIRC config seems daunting.
I found a MCE remote file at http://lirc.sourceforge.net/remotes/mceusb/lircd.conf.mceusb and used only the MCEUSB part
Actually I get the same results with the remote if LIRC is not running
My hardware.conf
Code: # /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="mceusb"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="SIR IrDA (built-in IR ports)"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
RE: [xbmcbuntu] [SOLVED] some buttons not working under debian wheezy - manjur - 2014-05-25
Hi all
I've just installed debian wheezy on my HTPC and have the same problem like the topicstarter had.
I did all the intructions from post 10, new lirc successfully compiled and installed.
Only one thing, debian uses sysvinit instead of upstart in ubuntu, so my udev rule is:
Code: # uname -a
Linux MMC 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux
# cat /etc/udev/rules.d/10-local.rules
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add"
# ls -l /dev/remote
lrwxrwxrwx 1 root root 15 май 25 17:24 /dev/remote -> bus/usb/007/002
# dmesg | grep PHILIPS
[ 3.495984] usb 7-2: Manufacturer: PHILIPS
[ 3.514381] input: PHILIPS MCE USB IR Receiver- Spinel plus as /devices/pci0000:00/0000:00:13.0/usb7/7-2/7-2:1.0/0003:0471:20CC.0003/input/input4
[ 3.514575] hid-generic 0003:0471:20CC.0003: input,hiddev0,hidraw2: USB HID v1.00 Keyboard [PHILIPS MCE USB IR Receiver- Spinel plus] on usb-0000:00:13.0-2/input0
Now when I try to check remote is working. I launch lircd in one console and irw in another (both via ssh):
Code: # /usr/sbin/lircd -n -H zotac -d /dev/remote
lircd: lircd(zotac) ready, using /var/run/lirc/lircd
lircd: accepted new client on /var/run/lirc/lircd
lircd: zotac initializing '/dev/remote'
lircd: WARNING: Failed to initialize hardware
^Clircd: caught signal
lircd: closing '/dev/remote'
Help me please, what am I doing wrong?
Code: # cat /etc/lirc/hardware.conf
# hardware.conf for Zotac
#
REMOTE="Zotac MCE Remote"
REMOTE_MODULES=""
REMOTE_DRIVER="zotac"
REMOTE_DEVICE="/dev/remote"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"
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=""
DRIVER="zotac"
DEVICE="/dev/remote"
Code: # cat /etc/lirc/lircd.conf
# Please make this file available to others
# by sending it to
#
# this config file was automatically generated
# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012
#
# contributed by
#
# brand: zotac.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name zotac.conf
bits 32
eps 30
aeps 100
one 0 0
zero 0 0
gap 100123
min_repeat 9
# suppress_repeat 9
# uncomment to suppress unwanted repeats
# toggle_bit_mask 0x7004F
begin codes
KEY_SLEEP 0x00010082
KEY_WAKEUP 0x00010083
KEY_RECORD 0x000C00B2
KEY_PAUSE 0x000C00B1
KEY_STOP 0x000C00B7
KEY_REWIND 0x000C00B4
KEY_PLAY 0x000C00B0
KEY_FORWARD 0x000C00B3
KEY_LEFTSHIFT 0x000C00B6
KEY_RIGHTSHIFT 0x000C00B5
KEY_BACK 0x000C0224
KEY_INFO 0x000C0209
KEY_MENU 0xFFBC000D
KEY_UP 0x00070052
KEY_LEFT 0x00070050
KEY_RIGHT 0x0007004F
KEY_DOWN 0x00070051
KEY_OK 0x00070028
KEY_VOLUMEUP 0x000C00E9
KEY_VOLUMEDOWN 0x000C00EA
KEY_MUTE 0x000C00E2
KEY_CHANNELUP 0x000C009C
KEY_CHANNELDOWN 0x000C009D
KEY_1 0x0007001E
KEY_2 0x0007001F
KEY_3 0x00070020
KEY_4 0x00070021
KEY_5 0x00070022
KEY_6 0x00070023
KEY_7 0x00070024
KEY_8 0x00070025
KEY_9 0x00070026
KEY_0 0x00070027
KEY_NUMERIC_STAR 0x10070025
KEY_NUMERIC_POUND 0x10070020
KEY_CLEAR 0x00070029
KEY_TEXT 0xFFBC005A
KEY_TITLE 0x000C008D
KEY_ENTER 0x00070028
KEY_RED 0xFFBC005B
KEY_GREEN 0xFFBC005C
KEY_YELLOW 0xFFBC005D
KEY_BLUE 0xFFBC005E
end codes
end remote
RE: [xbmcbuntu] [SOLVED] some buttons not working PHILIPS MCE USB IR Receiver-Spinel plus - FernetMenta - 2014-05-25
newer kernels require SUBSYSTEM=="usbmisc" in udev rule
PHILIPS MCE USB IR Receiver-Spinel plus now working - manjur - 2014-05-31
Now it works like a charm:
Code: ~# irw
00000000ffbc000d 00 KEY_MENU zotac.conf
00000000ffbc000d 00 KEY_MENU zotac.conf
00000000ffbc000d 00 KEY_MENU zotac.conf
00000000ffbc000d 00 KEY_MENU zotac.conf
00000000000c0209 00 KEY_INFO zotac.conf
00000000000c0224 00 KEY_BACK zotac.conf
0000000000070028 00 KEY_OK zotac.conf
00000000ffbc000d 00 KEY_MENU zotac.conf
00000000ffbc000d 00 KEY_MENU zotac.conf
00000000000c0224 00 KEY_BACK zotac.conf
00000000000c008d 00 KEY_TITLE zotac.conf
0000000000070028 00 KEY_OK zotac.conf
Also, I changed one line in .xbmc/userdata/Lircmap.xml
Code: <display>KEY_MENU</display>
to
Code: <menu>KEY_MENU</menu>
for proper work HOME (windows flag) button.
Many thanks, FernetMenta!
|