2010-01-02, 05:18
Hello, all.
This, I'm sure, has nothing to do with XBMC itself, but I'd like to see if anyone has any ideas for me as I know there are many experienced and knowledgeable folks on these forums.
I have a gyration wireless (RF) keyboard and remote. There is one USB RF receiver and the two devices. (http://www.gyration.com/index.php/us/pro...emote.html)
In linux, it shows up as three input devices:
Here is how I am starting lircd:
It is necessary to have two lircd processes in order to gain all the functionality of the remote as some of the buttons stimulate event3 and some event4. This is the only way I've found to get it to work.
The issue is that the mouse only works if lircd is NOT running. I do not understand this, because I only have lircd working with the two "event" devices, not the mouse device.
I can test by watching /dev/input/mouse1 (or mice) with hexdump. I see data from the mouse only if the two lircd processes are not running. If I just start one lircd process, the mouse still works. If I start the two processes without linking them together, the mouse works. This only happens with one is run with --listen and another with --connect.
Any ideas?
This, I'm sure, has nothing to do with XBMC itself, but I'd like to see if anyone has any ideas for me as I know there are many experienced and knowledgeable folks on these forums.
I have a gyration wireless (RF) keyboard and remote. There is one USB RF receiver and the two devices. (http://www.gyration.com/index.php/us/pro...emote.html)
In linux, it shows up as three input devices:
Code:
gsg@xbmc /dev/input/by-id
$ ls -l
total 0
lrwxrwxrwx 1 root root 9 2010-01-01 18:17 usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd -> ../event3
lrwxrwxrwx 1 root root 9 2010-01-01 18:17 usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 2010-01-01 18:17 usb-Gyration_Gyration_RF_Technology_Receiver-mouse -> ../mouse1
Here is how I am starting lircd:
Code:
/usr/sbin/lircd --driver=devinput --device=/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse --output=/dev/lircd1 --pidfile=/var/run/lircd1.pid --listen
/usr/sbin/lircd --driver=devinput --device=/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd --output=/dev/lircd --pidfile=/var/run/lircd.pid --connect=localhost:8765
It is necessary to have two lircd processes in order to gain all the functionality of the remote as some of the buttons stimulate event3 and some event4. This is the only way I've found to get it to work.
The issue is that the mouse only works if lircd is NOT running. I do not understand this, because I only have lircd working with the two "event" devices, not the mouse device.
I can test by watching /dev/input/mouse1 (or mice) with hexdump. I see data from the mouse only if the two lircd processes are not running. If I just start one lircd process, the mouse still works. If I start the two processes without linking them together, the mouse works. This only happens with one is run with --listen and another with --connect.
Any ideas?