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
    1. MUTV-1:~ # cat /dev/input/event0 | hexdump
    2. 0000000 0d9b 5c32 589a 0000 0004 0004 bf08 0000
    3. 0000010 0d9b 5c32 589a 0000 0000 0000 0000 0000
    4. 0000020 0d9b 5c32 26ff 0001 0004 0004 bf08 0000
    5. 0000030 0d9b 5c32 26ff 0001 0000 0000 0000 0000
    6. 0000040 0d9b 5c32 f8b2 0005 0004 0004 bf0a 0000
    7. 0000050 0d9b 5c32 f8b2 0005 0000 0000 0000 0000
    8. 0000060 0d9b 5c32 c6d4 0006 0004 0004 bf0a 0000
    9. 0000070 0d9b 5c32 c6d4 0006 0000 0000 0000 0000
    10. .......

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

    But the irrecord team does not accept this device:

    Code
    1. irrecord -d /dev/input/event0
    2. Warning: Running as root.
    3. Using driver default on device /dev/input/event0
    4. 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
    1. MUTV-1:~ # killall lircd
    2. killall: lircd: no process killed

    And the device is not initialized:

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

    What am I doing wrong?

    On my Orange Pi PC (with LibreELEC 9.0) I can't configure the IR remote!

    I don't have a device /dev/lirc......

    And the modules sunxi_ir_rx and gpio_sunxi are not loaded:

    Code
    1. MUTV-1:~ # lsmod
    2. Module Size Used by
    3. 8021q 24576 0
    4. mali 458752 5

    How can I enable onboard IR device?

    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
    1. MUTV-1:~ # ethtool -s eth0 wol g
    2. Cannot set new wake-on-lan settings: Invalid argument
    3. 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
    1. ssh [email protected]_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
    1. LibreELEC:~# [ 308.566131] reboot: System halted

    How can I configure CEC correctly?


    Thanks for your help!