New Setting Input Devices Peripherals - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136) +---- Thread: New Setting Input Devices Peripherals (/showthread.php?tid=109387) |
New Setting Input Devices Peripherals - spocky184 - 2011-09-04 Hi, in the past i always used the eventclient from http://trac.xbmc.org/raw-attachment/ticket/8827/. I had a modified Keymap.xml and everything worked like expected. In the new Opdenkamp Version 11.0-pvr+p8~git20110829.4e9f5b7-0ubuntu1~stable48~natty my Hama daoesn`t work any more. I`ve noticed that there is a new Configuration Setting in System/Setting/System/Input Devices/Peripherals. There I can see the Hama HID device with the correct Vendor and Product ID. The Hama works but not all Keys as expected. Can someone please explain how the new Configuration setting works, what files are involved and how someone can modifiy the settings. Thank you very much. spocky184 PS: if thi s is the wrong forum please move. - spocky184 - 2011-09-05 ok, found an explanation at https://github.com/xbmc/xbmc/pull/383 - spocky184 - 2011-09-13 Hi, its me again. Played around a little bit, but i cannot make the remote work with my customized Keymap.xml. Tried the following: Code: <peripheral vendor="05A4" product="9881" bus="usb" name="Hama MCE Remote" mapTo="hama"> Renamed my original modified Keymap.xml to v05a4p9881.xml and put it in ~/.xbmc/userdata/keymaps and (for testing) in /usr/share/xbmc/system/keymaps Have a usb_05A4_9881.xml file in ~/.xbmc/userdata/peripheral_data/ Code: <settings> It's a Hama MCE Remote ! The Remote works only with few of the Buttons on the remote, like Back, OK, Up/Down/Left/Right but no other Button works like expected. F.e. i configured the Start-Button on the remote to always go back to the Home-Screen. Code: <start>XBMC.ActivateWindow(Home)</start> Can someone please explain how i can configure evrything to use my modified Keymap.xml Thanx spocky184 - opdenkamp - 2011-09-14 remove your changes in /usr/share/xbmc/system/peripherals.xml, restart xbmc, go to system->system->input->peripherals, find your device and change the keymap in the settings dialog. (and for those who are wondering, no, I'm not back from holiday yet. just got to wait a bit for someone here and I got a wlan connection atm ) - spocky184 - 2011-09-14 thank you for your fast response, i will give it a try ... Happy Holiday ! - spocky184 - 2011-09-14 i removed my changes in /usr/share/xbmc/system/peripherals.xml (so xml is original), i`ve restarted xbmc, i went to system->system->input->peripherals, i find my device and changed the keymap in the settings dialog ... but to what ? Sorry for my lack in understanding what to put in there. My modified Keymap.xml file is in ~/.xbmc/userdata/keymaps. I`ve tried keymap, Keymap, Keymap.xml, renamed Keymap.xml to v05a4p9881.xml and tried the default setting v05a4p9881, i`ve tried everything with the complete path to the xml file ... sorry, but nothing worked. It looks so easy but for me it is not very intuitive, sorry. Maybe anyone can tell me the trick ? Thanx spocky184 - opdenkamp - 2011-09-15 could you plug in the device while xbmc is running and pastebin the full debug log - spocky184 - 2011-09-15 here`s the log http://pastebin.com/FxLnyWbL - opdenkamp - 2011-09-16 looks like there's no custom keymap assigned in the peripheral settings. when you go to the peripheral settings, what keymap do you see there? - spocky184 - 2011-09-16 hi, after a fresh install of the system i see the default setting v05A4p9881 in the keymap field. after playing around a while with different settings and again with activated debugging it`s always the same in xbmc.log i think the device is correctly detected Code: 21:05:40 T:140251050727360 DEBUG: GetMappingForDevice - device (05A4:9881) mapped to Generic HID device (type = hid) but there are always the same errors Code: 21:05:41 T:140251050727360 INFO: Loading special://xbmc/system/keymaps/remote.xml i`ve tried the same with another HID Remote (a Foxconn Netbox) but the Remote isn`t detected In syslog i can see the following Code: Sep 16 21:21:49 ztreambox-ad02 lircd-0.8.7[3093]: caught signal if i am using the eventclient from http://trac.xbmc.org/ticket/8827 everything works as expected. hope that helps. greetings spocky184 - opdenkamp - 2011-09-17 I'll have a look at it when I get back |