Can you point me to a good site for setting up evdev? I have a gyration wireless keyboard / mouse package and an ATI RF remote I'd like to use with myth. I rebuilt my kernel with evdev support and put your patch into myth, but I don't see anything happening. Any help appreciated.
Thanks, Tom -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Micah F. Galizia Sent: Sunday, March 13, 2005 7:11 PM To: Development of mythtv Subject: [mythtv] [Patch] Support for remote control multimedia buttons(without lirc or xmodmap) Hello again, First and formost, I appologize for this long-winded message, but please, read on. I sent off a patch adding (minimal) support for the Linux input layer earlier this week. I didn't get much of a response, so I developed it further and cleaned it up. Using this patch, mythtv listens to the Linux input layer devices listed (by name) in the ~/.mythtv/evdevrc (a sample is also attached) directly. It also allows the use of symbolic names for the multimedia buttons, such as "Play" and "FastForward" in the database (and with mythweb), which eliminates the need for lirc or xmodmap. The list of symbolic names is in eventnames.cpp. The patch requires the evdev kernel module and any device specific input layer module (keyboard, mouse, ir keyboard, ati remote, etc) must also be loaded. "Out of the box" it will work for any existing keybindings (unless you are using xmodmap), since the symbolic names used by QT and the kernel input layer are the same for regular buttons. If you are going to try the patch (please do, I think this will simplify the user's setup and maintenance of mythtv), you will need to do the following to make it work with devices on your computer: - apply the patch and recompile (rerun qmake from the top level) - add the names of the devices you want to use to the config file (cat /proc/bus/input/devices for a list). - get rid of any xmodmaps and stop lirc (I have not tested it with lirc). In the future, I would like to add input device configuration to mythfrontend, but for now, key bindings have to be set using sql or mythweb. I should also note the following "bugs": - devices cannot be removed and reattached to the system (I will add support for this). - I think that only the first key specified for each action works, I will also fix this. Thanks -- Micah Galizia [EMAIL PROTECTED] "The mark of an immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one." --W. Stekel
_______________________________________________ mythtv-dev mailing list mythtv-dev@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev