[SOLVED] Re: Xorg device disabled with 'Option "Ignore" "true"' still enabled by udev+Xorg. How to fix ?

ar16 ar16 at imapmail.org
Mon Sep 9 20:54:11 PDT 2013


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.


More information about the xorg mailing list