Code: Select all
$ sudo ir-keytable -t -v -p rc-5,rc-6,nec
* Universum VCR (VR-2796)
Here's an overview of "hello to the irtoy device":
Code: Select all
$ sudo ir-keytable
Here's a more verbose output:Found /sys/class/rc/rc0/ with:
Name: Infrared Toy
Driver: ir_toy
Default keymap: rc-rc6-mce
Input device: /dev/input/event3
LIRC device: /dev/lirc0
Attached BPF protocols: Operation not supported
Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon rc-mm
Enabled kernel protocols: lirc rc-5 nec rc-6
bus: 3, vendor/product: 04d8:fd08, version: 0x0002
Repeat delay = 500 ms, repeat period = 125 ms
Code: Select all
$ sudo ir-keytable -v -p nec,rc-5,rc-6
...and this is as non-root user (notice the permission denied values):Found device /sys/class/rc/rc0/
Parsing uevent /sys/class/rc/rc0/lirc0/uevent
/sys/class/rc/rc0/lirc0/uevent uevent MAJOR=236
/sys/class/rc/rc0/lirc0/uevent uevent MINOR=0
/sys/class/rc/rc0/lirc0/uevent uevent DEVNAME=lirc0
Input sysfs node is /sys/class/rc/rc0/input21/
Event sysfs node is /sys/class/rc/rc0/input21/event3/
Parsing uevent /sys/class/rc/rc0/input21/event3/uevent
/sys/class/rc/rc0/input21/event3/uevent uevent MAJOR=13
/sys/class/rc/rc0/input21/event3/uevent uevent MINOR=67
/sys/class/rc/rc0/input21/event3/uevent uevent DEVNAME=input/event3
Parsing uevent /sys/class/rc/rc0/uevent
/sys/class/rc/rc0/uevent uevent NAME=rc-rc6-mce
/sys/class/rc/rc0/uevent uevent DRV_NAME=ir_toy
/sys/class/rc/rc0/uevent uevent DEV_NAME=Infrared Toy
input device is /dev/input/event3
/sys/class/rc/rc0/protocols protocol rc-5 (enabled)
/sys/class/rc/rc0/protocols protocol nec (enabled)
/sys/class/rc/rc0/protocols protocol rc-6 (enabled)
/sys/class/rc/rc0/protocols protocol jvc (disabled)
/sys/class/rc/rc0/protocols protocol sony (disabled)
/sys/class/rc/rc0/protocols protocol rc-5-sz (disabled)
/sys/class/rc/rc0/protocols protocol sanyo (disabled)
/sys/class/rc/rc0/protocols protocol sharp (disabled)
/sys/class/rc/rc0/protocols protocol mce_kbd (disabled)
/sys/class/rc/rc0/protocols protocol xmp (disabled)
/sys/class/rc/rc0/protocols protocol imon (disabled)
/sys/class/rc/rc0/protocols protocol rc-mm (disabled)
/sys/class/rc/rc0/protocols protocol lirc (enabled)
Opening /dev/input/event3
Input Protocol version: 0x00010001
Protocols changed to rc-5 nec rc-6
Found /sys/class/rc/rc0/ with:
Name: Infrared Toy
Driver: ir_toy
Default keymap: rc-rc6-mce
Input device: /dev/input/event3
LIRC device: /dev/lirc0
Attached BPF protocols: Operation not permitted
Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon rc-mm
Enabled kernel protocols: lirc rc-5 nec rc-6
Extra capabilities: <access denied>