[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    [SOLVED] Re: Xorg device disabled with 'Option "Ignore" "true"' still enabled by udev+Xorg.  How to
From:       ar16 <ar16 () imapmail ! org>
Date:       2013-09-10 3:54:11
Message-ID: 1378785251.26697.20016273.4D2D02F6 () webmail ! messagingengine ! com
[Download RAW message or body]

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.
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic