[LINUX] Generic HID Remote Driver for XBMC (Drivers for XBMC on Linux and XBMC Live) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: [LINUX] Generic HID Remote Driver for XBMC (Drivers for XBMC on Linux and XBMC Live) (/showthread.php?tid=88560) |
- Mindzai - 2011-05-02 I know it doesn't help you much but I also upgraded to 11.04 and have been able to use hid_mapper still, so the driver seems to be compatible. Did you try recompiling? - Arquero - 2011-05-02 I did try recompiling. I tried make clean. I deleted the whole folder, downloaded the latest tarball, un-tarred, and ran make on that, but I still get the same results. It must be something I'm missing. Probably something the upgrade disabled that I have yet to enable again. I'll look through my steps again. - Arquero - 2011-05-04 Well, after installing xbmc live (based on 10.10) and again getting everything to work but the remote, I've narrowed it down to the new version of the hid_mapper (which I decided to update at the same time as the update to 11.04). When I went to an older version, it worked again. The newer version seems to get stuck at 'Found HID device' while the older one will tell me 'Opened HID interface on /dev/hidraw3' Problem solved for me I guess. - Dizzzeh - 2011-05-05 Has anyone with a Jetway Mini-top found two identical HID devices when running the ./hid_mapper --list-devices command? Here is the output that I get: Code: Found HID device at /dev/hidraw0 - Arquero - 2011-05-05 Yes. I get 2 as well. I don't know why, but it doesn't seem to negatively effect anything. Also I'd like to point out that I haven't been able to use hid_mapper using the actual names, but rather only by ids. The high-ASCII 'e̪' character might mess it up. Code: ./hid_mapper --list-devices --lookup-id Should give you 2 instances with manufacturer of '0755' and product of '2626'. So the learn command is: Code: ./hid_mapper --lookup-id --learn --manufacturer '0755' --product '2626' That should give you the following output: Code: Found HID device The actual hidraw numbers will vary based on what devices you have connected. I have an issue with the latest beta not actually opening the HIDs, so I'm using an earlier version. - proto - 2011-05-05 I also have the JetWay nettop and compiled HID_MAPPER for it. Ubuntu maverick: Code: # uname -a I can see the devices Code: # ./hid_mapper --list-devices --lookup-id But I can't find them: Code: # ./hid_mapper --lookup-id --learn --manufacturer '0755' --product '2626' I tryed with both version I could find. (unfortunatly there is no version info the in the archives. http://www.coldsource.net/hid_mapper.tar.gz and http://www.coldsource.net/hid_mapper_beta.tar.gz Let me know if I should try another test. Proto - Dizzzeh - 2011-05-05 proto Wrote:I tryed with both version I could find. (unfortunatly there is no version info the in the archives. I'm running into the same problem Proto is. Neither of those two versions is working for me. hid_mapper with udev work well - hamigua - 2011-05-15 Here is my udev rule, I want to try to improve it. 1241:e000 is mine, the others not tested.: Code: # hid_mapper (Generic HID Remote Driver Daemon:/usr/sbin/hid_mapper) This udev rule will create a virtual input device syslink to /dev/input/hid_mapper,then I can use lircd -H devinput -d /dev/input/hid_mapper in my VDR&XBMC. Thank for your work! - WittFan - 2011-05-30 coldsource Wrote:Hi everyone, It looks like you were right, Coldsource. I was using Mythbuntu 10.10. I just did a fresh install of Mythbuntu 11.04 and the program now sees my remote and I can asign keypresses to most keys. Unfortunately a couple button/keypress combinations don't seem to work. For example, I have a remote button I want to assign an "M" keypress to. I start the hid_mapper in learning mode and press that key. The program returns: Code: 0c 00 28 00 00 00 00 00 Code: 0000500000000000:KEY_LEFT Any thoughts on what might be going on here? - Grez - 2011-06-09 Hi coldsource, hope you can help. I just upgraded the OS on my Jetway mini-top from Ubuntu 10.10 to 11.04 and the hid_mapper has stopped working I tried recompiling the version that worked previously, and also downloaded the most recent tarball you posted in this thread and compiled that but neither seems to work. The --list devices option works OK and seems to show the same results as it always did, but either trying to run the hid_mapper or to learn both come up with "Unable to find specified HID device". Strangely, the only thing that does work is the very first version you posted in this thread, hid_mapper.tar.gz -- this finds the device fine and the remote starts to work, but not all of the buttons work properly in this version which is why I had moved to the hid_mapper_beta version a long time ago. - oscargirao - 2011-06-25 Grez Wrote:Hi coldsource, hope you can help. I just upgraded the OS on my Jetway mini-top from Ubuntu 10.10 to 11.04 and the hid_mapper has stopped workingI have the same problem when I plug an external USB disk to my Jetway. If I remove the disk and start the htpc without it plugged and then plug the disk after the xbmc starts the remote works fine. Any ideas? - hamigua - 2011-06-27 This is my new udev rules.d,It works well with Yaocoo(1241:e000,the config file:/etc/hid/yaocoo) and W-King(0755:2626,the config file:/etc/hid/aureal) Code: root@cnvdr:/lib/udev/rules.d# cat 96-hid_mapper.rules Code: root@cnvdr:/etc/hid# cat yaocoo.map Code: root@cnvdr:/etc/hid# cat aureal.map - Grez - 2011-07-17 Well I think I know what's causing my problem now, but I'm no closer to fixing it. uinput just does not seem to load on my system now, sudo modprobe uinput gives no errors at all, but a lsmod | grep uinput shows no sign of uinput being loaded. I'm a bit stumped as to how to get uinput working :/ - MakGreg - 2011-07-17 Hello, Could you try the following and provide us with this command output: Code: $ sudo insmod `modinfo uinput | grep filename | cut -d: -f2` Greg. - MakGreg - 2011-07-18 Hi Thibault, I just would like to thank you for your HID Mapper which saved my geeky life I found an old remote in my Aladdin's cave which is recognized as an HID device and now thanks to you I can "play" with my brand new XBMC installed on a Giada Cube N3. I also did some researches to configure the suspend/resume feature, fully remote controlled of course . It works like a charm! Thank you again for your work. Greg. P.S. : Did you think about maintain this project and maybe include it officially in XMBC? |