After a bit of digging in/around kernel, noting,

        dmesg | grep -i stream
                ...
                [   16.510240] IR RC5 (streamzap) protocol handler
                initialized
                ...

it's the RC5 protocol that's the culprit.  loaded by,

        ir-keytable
                Found /sys/class/rc/rc0/ (/dev/input/event8) with:
                        Driver streamzap, table rc-streamzap
                        Supported protocols: NEC RC-5 RC-6 JVC SONY
                        SANYO LIRC RC-5-SZ other
                        Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO
                        LIRC RC-5-SZ other
                        Repeat delay = 500 ms, repeat period = 125 ms

a udev override does the trick,

        cat /etc/udev/rules.d/70-infrared.rules
                ACTION=="add", SUBSYSTEM=="rc",
                RUN+="/usr/bin/ir-keytable --clear"
                ACTION=="add", SUBSYSTEM=="rc",
                RUN+="/usr/bin/ir-keytable --protocol=LIRC"
        reboot
                ...
        ir-keytable
                Found /sys/class/rc/rc0/ (/dev/input/event11) with:
                        Driver streamzap, table rc-streamzap
                        Supported protocols: NEC RC-5 RC-6 JVC SONY
                        SANYO LIRC RC-5-SZ other
                        Enabled protocols: LIRC
                        Repeat delay = 500 ms, repeat period = 125 ms

Here are prehaps other ways to achieve this, but, testing, there's no
longer any capture/response -- namely system shutdown! -- on PowerOff
button press.

Good enough.
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to