Re: Accessing /dev/input/eventX with Lirc to onboard IR (Nexus)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



C.Y.M wrote:
>>> Does anyone have a suggestion?  What modules am I trying to use? Are there any
>>> special things that have to be done?  Anything would be appreciated..
>> It might be easier to use inputlirc (available from Debian unstable or
>> http://svn.sliepen.eu.org/inputlirc/)
>> which doesn't need configuration.
>>
> 
> The trick was to manually load the remote keymap after loading the modules for
> the dvb card.  Once the keymap was loaded, I was able to read /dev/input/eventX. :)
> 

Has anyone noticed that when doing connecting LIRC to /dev/input/eventX and
reading the Nexus-S IR, that there is a nasty key repeat issue?  When I press a
single key, i get two responses from irw.  I saw this patch posted about a year
ago, has there been any interest in finding out whats wrong here?  The bug does
not appear to be in LIRC.


--snip--

--- v4l-dvb/linux/drivers/media/dvb/ttpci/av7110_ir.c.orig      2006-05-01
17:32:01.000000000 -0700
+++ v4l-dvb/linux/drivers/media/dvb/ttpci/av7110_ir.c   2006-05-01
17:43:16.000000000 -0700
@@ -45,10 +45,10 @@

 static void av7110_emit_keyup(unsigned long data)
 {
-       if (!data || !test_bit(data, input_dev->key))
-               return;
-
-       input_event(input_dev, EV_KEY, data, !!0);
+//     if (!data || !test_bit(data, input_dev->key))
+//             return;
+//
+//     input_event(input_dev, EV_KEY, data, !!0);
 }

--snip--




_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux