Posts by dan1234

    The driver is working, the device is working!

    When I request the hexdamp and press the buttons on the remote, I see:

    Code
    MUTV-1:~ # cat /dev/input/event0 | hexdump
    0000000 0d9b 5c32 589a 0000 0004 0004 bf08 0000
    0000010 0d9b 5c32 589a 0000 0000 0000 0000 0000
    0000020 0d9b 5c32 26ff 0001 0004 0004 bf08 0000
    0000030 0d9b 5c32 26ff 0001 0000 0000 0000 0000
    0000040 0d9b 5c32 f8b2 0005 0004 0004 bf0a 0000
    0000050 0d9b 5c32 f8b2 0005 0000 0000 0000 0000
    0000060 0d9b 5c32 c6d4 0006 0004 0004 bf0a 0000
    0000070 0d9b 5c32 c6d4 0006 0000 0000 0000 0000
    .......

    It seems irrecord doesn't work.....

    And I can not write the codes of the buttons of my remote.


    Update:

    irrecord work with this string:

    Code
    irrecord -n -H devinput -d /dev/input/event0 /storage/.config/lircd.conf

    I have read the wiki several times!

    And I killed kodi and lircd before setting up the IR remote:

    The device is exactly present as /dev/input/event0:

    Code
    MUTV-1:~ # ir-keytable
    Found /sys/class/rc/rc0/ (/dev/input/event0) with:
        Name: sunxi-ir
        Driver: sunxi-ir, table: rc-empty
        Supported protocols: other rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp 
        Enabled protocols: 
        bus: 25, vendor/product: 0001:0001, version: 0x0100
        Repeat delay = 500 ms, repeat period = 125 ms

    But the irrecord team does not accept this device:

    Code
    irrecord -d /dev/input/event0
    Warning: Running as root.
    Using driver default on device /dev/input/event0
    Could not init hardware (lircd running ? --> close it, check permissions)

    lirccd not loaded!

    Hm....

    I updated LibreELEC.

    The device seems to be present:

    But the service was not started:

    Code
    MUTV-1:~ # killall lircd 
    killall: lircd: no process killed

    And the device is not initialized:

    Code
    MUTV-1:~ # irrecord -d /dev/input/event0 /storage/.config/lircd.conf
    Using driver default on device /dev/input/event0
    Could not init hardware (lircd running ? --> close it, check permissions)

    What am I doing wrong?

    Hi!

    I use Orange Pi PC with LibreELEC 9.0 (updated to 9.1).

    I need to remotely manage this OPiPC, i.e.

    1) turn-ON this device over the network (Wake-On-Lan)

    default Wake-On-Lan is disabled:

    But when I try to resolve it, I get the error:

    Code
    MUTV-1:~ # ethtool -s eth0 wol g
    Cannot set new wake-on-lan settings: Invalid argument
      not setting wol

    How can I fix this?

    2) I also need to turn-ON/OFF my TV with the device.

    Now, if I remote shutdown OPiPC:

    Code
    ssh root@ip_address shutdown -h now 

    TV turns-OFF the same, but after that, the device no longer turns-ON!

    Power button on OPiPC not working.

    If you turn-ON the TV from the remote, it turns-ON, but does not turn-ON OPiPC

    And on the TV screen I see a picture of LibreELEC with the command line:

    Code
    LibreELEC:~# [ 308.566131] reboot: System halted

    How can I configure CEC correctly?

    Thanks for your help!