User:Trogod/System0Setup2004

From MythTV Official Wiki
< User:Trogod
Revision as of 20:45, 21 March 2021 by Trogod (talk | contribs)

Jump to: navigation, search


LIRC


$ ir-keytable Found /sys/class/rc/rc0/ with: Name: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) Driver: mceusb 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-6 bus: 3, vendor/product: 0471:0815, version: 0x0000 Repeat delay = 500 ms, repeat period = 125 ms


lirc-setup complained that I wasn't a member of the group 'lirc'. The error message told me to do the following


$ sudo usermod -aG lirc troy [sudo] password for troy: usermod: group 'lirc' does not exist $ sudo groupadd lirc $ sudo usermod -aG lirc troy

However, I still have this problem:

$ mode2 Using driver devinput on device auto Cannot initiate device /dev/input/event3


in lirc-setup, I clicked "use default driver..." and then "Test" and was told that I need to use the group "video"


$ sudo usermod -aG video troy

Now, after the same steps, I'm told to

$ cat /sys/class/rc/rc0/protocols rc-5 nec [rc-6] jvc sony rc-5-sz sanyo sharp mce_kbd xmp imon rc-mm [lirc]

$ sudo /bin/sh -c "echo lirc > /sys/class/rc/rc0/protocols"