[mythtv-users] probelem with imon + kernel 2.6.35 (ubuntu maverick) + arrow keys
jarod at wilsonet.com
Tue Dec 14 20:28:23 UTC 2010
On Dec 13, 2010, at 10:34 PM, Seth Daniel wrote:
> On Sun, Dec 12, 2010 at 12:37:44PM -0800, Seth Daniel wrote:
>> I upgraded to Ubuntu Maverick from Lucid. Everything went fine except
>> that my remote stopped working. I eventually discovered that lirc had
>> been moved into the kernel, module names had changed, and, to use my
>> iMON remote I now needed to use the devinput lirc driver. So after
>> reconfiguring lirc and using the new event names in my .lircrc my remote
>> works. But I have a secondary problem: the arrow keys always emit 5
>> events. e.g. I press the down button I get 5 KEY_DOWN events (confirmed
>> using irw).
>> My first thought was that I could configure the new imon module to deal
>> with this. modinfo shows a number of options for the imon module. I
>> don't have any real idea what all the options actually do, but I tried
>> many different combinations. One thing was consistent: I had to have
>> pad_stabilize=0 or I received no arrow events at all. I tried with
>> nomouse=0 and 1 and I tried various pad_thresh settings (from 1 to 1000)
>> with no change in behavior.
>> My second thought was that I could deal with this issue in my lircrc
>> file. I played with the repeat and delay options (again with numbers
>> from 0 to 1000), but nothing I tried seemed to work. Frankly I'm not
>> certain I understand exactly what repeat and delay do. I read the doc
>> on the lirc website and I felt less sure of what they did from when I
>> I believe the old pad2keys patch for imon used to 'fix' this problem.
>> I'm probably remembering incorrectly. There have been several patches
>> over the years that I've applied to the lirc source and I don't remember
>> the reasons for the patches anymore. This is the first ubuntu release
>> where I have been able to get my remote working without patching and
>> using dkms to build a new lirc imon module...with the exception of this
>> arrow key repeat issue.
>> Does anyone know how I can fix this problem?
> I saw what appeared to be similar problems with other remotes in at
> least one other thread. The solution(s) were the same: edit the
> /etc/lirc/lircd.conf file and play with the 'gap' entry.
> I did this, but no luck. I tried values for gap from 1 to 100000 (the
> gap entry comes with a value of 132799 in the lircd.devinput.conf
> file) and my arrow keys still generate multiple events with each press.
> KEY_UP and KEY_DOWN always generate 5 events, KEY_LEFT generates six
> events, and KEY_RIGHT generates seven events. None of them are tagged
> as repeat events.
The imon driver in the Ubuntu kernel has known defects, but Canonical
won't take patches to it, as they don't meet their Stable Release
Update criteria. Run the latest bits from v4l/dvb git, and it will
most likely behave better.
jarod at wilsonet.com
More information about the mythtv-users