ati_remote.c patch for easier use with MythTV
Got really tired of my otherwise great ATI Remote Wonder, which is connected to my MythTV system, receiving each button press multiple times, making it a fine balancing act to navigate just one item in the menus.
A lot of people on the Myth users list are running a patched version of the ati_remote module that ships with the kernel. I put the version in this thread (http://www.gossamer-threads.com/lists/mythtv/users/100939?search_string=ati%20remote%20double;#100939) on my Red Hat box running 2.6.10 and started receiving errors about the usb_unlink_urb() calls, saying its been replaced with usb_kill_urb(). So here is the file with those three calls changed: ati_remote.c. Here is also a copy of the Makefile I used. Just drop those two into a directory, run 'make,' 'make install,' then 'depmod -a' and you should be set. To unload a previous version of ati_remote, run 'rmmod ati_remote', then reload the new with 'modprobe ati_remote.'
After about 30 minutes testing, it makes a big difference and I get no errors.