[mythtv-users] Is Lirc 0.9.0 now using key up events ?

Dan Littlejohn dan.littlejohn at gmail.com
Fri Apr 20 17:59:24 UTC 2012


On Thu, Apr 19, 2012 at 4:57 PM, Roger Siddons <dizygotheca at ntlworld.com>wrote:

> **
> I did a clean install of Mythbuntu 11.10/Myth 0.25 and got lirc working by
> setting "LOAD_MODULES=false".
>
> Everything works but I noticed a slight delay (0.1 sec) in the response to
> my remote button presses. This is particularly irritating when using Music,
> Gallery or Videos.
>
> irw now only reports events when remote buttons are released. On my old
> Mythbuntu 10.x/Myth 0.24 system irw reports events as soon as buttons are
> pressed down.
>
> I'm using the same lirc config files on both systems and have no idea how
> I could configure lirc to use key up/down events.
>
> Is this a consequence of Mythbuntu not loading the kernel modules ? Or a
> new 'feature' of Lirc ? I did see something once about a "lirc --release
> patch" (not the easiest thing to google) but no-one else seems to be
> commenting on this behaviour. Is it just me ?
>
> Thoughts or advice would be welcome...
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>


I had a really hard time getting the remote to work with the new in kernel
code.  My current understanding is that you have the in kernel code (a
couple buttons will "just work" in Myth now) and then there is a bridge to
lirc where you can make what buttons you want to a key table.  So it goes
kernel -> keytable -> lirc.  You should be able to see the key down and key
up events with ir-keytable.  My guess is the lirc keymap you are using is
not the one you want, for Gentoo you would make changes to
/etc/lirc/lircd.conf to map the hex codes ir events to the buttons

Dan

# ir-keytable -t
1305965079.604337: event MSC: scancode = 1f
1305965079.604343: event key down: KEY_PAUSECD (0x00c9)
1305965079.604344: event sync
1305965079.604357: event key up: KEY_PAUSECD (0x00c9)
1305965079.604357: event sync
1305965079.604361: event MSC: scancode = 1f
1305965079.604362: event key down: KEY_PAUSECD (0x00c9)
1305965079.604362: event sync
1305965079.604363: event key up: KEY_PAUSECD (0x00c9)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120420/0822c2b0/attachment.html>


More information about the mythtv-users mailing list