[lkml]   [2013]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: How to correctly disable LIRC-related MCE*/IR_* modules, to remove ID of RemoteControl as BOTH keyboard & remote?
Hi Jim,

On Wed, Nov 13, 2013, at 08:52 AM, Jim Bos wrote:
> Have you looked at this sysfs-file, specifically tried this:
> echo lirc > /sys/class/rc/rc0/protocols

In short, yes.

atm, I've this udev rule,

cat /etc/udev/rules.d/70-infrared.rules
ACTION=="add", SUBSYSTEM=="rc",
RUN+="/usr/bin/ir-keytable --clear --protocol=LIRC

which ensures after boot

Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Driver streamzap, table rc-streamzap
Supported protocols: LIRC
Enabled protocols: LIRC
Repeat delay = 500 ms, repeat period = 125 ms

which correlates to

cat /sys/class/rc/rc0/protocols

i.e., the same effect as the manual intervetion of

echo lirc > /sys/class/rc/rc0/protocols

nonetheless, that _alone_, does NOT 'do the trick'. if those MCE*
kernel mods are around, i.e., if I have NOT disabled them in the kernel
(re)compile, or, similarly, use the distro-provided kernel which
compiles the mods by default, then -- at boot -- the Streamzap is
recognized/assigned as an MCE keyboard/remote.


 \ /
  Last update: 2013-11-13 18:41    [W:0.046 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site