lirc/51-lirc.rules

12 lines
571 B
Plaintext

#
# This is a hack since /sys info for event devices is incomplete
#
# Check if the name of the event device contains the string IR and
# create the /dev/input/ir symlink.
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{name}=="*IR*", SYMLINK+="input/ir"
# If your remote does not have 'IR' in it's name add a line like the
# following (this one is for the Cinergy T2). You can look up the
# name of the device in /proc/bus/input/devices
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{name}=="TerraTec/qanu USB2.0 Highspeed DVB-T Receiver remote control", SYMLINK+="input/ir"