The current /etc/init.d/lirc does not disable in kernel IR decoding when using the in kernel remote control modules. This means that all button presses are handled twice - once as an input event by the kernel, and once by LIRC. Since LIRC 0.9.0 drops a bunch of it's own modules, and plans to phase out all of them in favor of in kernel ones, this problem will become more prevalent over time. In kernel handling can be disabled by doing this: echo 'lirc' > /sys/class/rc/rc0/protocols at the top of the init script's 'start' function. Fedora's init script seems to be do everything nicely - http://pkgs.fedoraproject.org/gitweb/?p=lirc.git;a=blob;f=lirc.init;hb=HEAD Perhaps Gentoo could adopt it (with appropriate modifications)? Reproducible: Always
+*lirc-0.9.0-r1 (17 Jul 2012) + + 17 Jul 2012; Ian Stakenvicius <axs@gentoo.org> +files/lircd-0.8.6-r1, + +lirc-0.9.0-r1.ebuild, +files/lircd.conf.3: + converted ebuild to EAPI4, made drivers build separately from tools to fix + bug 160134, fixed init script so that socket path exists (bug 414307), added + option so that init script can set 'lirc' as the kernel IR decoding protocol + on startup (bug 368489) + Please test. I've added a variable in /etc/conf.d/lircd to allow for specification of the particular devices in /sys/class/rc/ that will be set to use the lirc protocol , and defaulted it to 'rc0' as this will be the most likely default for all users.