Libreelec 9.1.501 (Generic.x86_64) wake from remote

  • Hi All,

    i'm facing issue with LibreELEC (official): 9.1.501 (Generic.x86_64) and my remote/airmouse (this one: Telecomando retroilluminato con mini tastiera wireless, Air mouse con porta USB e sensori giroscopici incorporati ideale per piattaforme Kodi e Android scatole, HTPCs, Smart TV, Apple TV, Rasberry Pi: Amazon.it: Elettronica).

    i've installed Librelelec on a fujitsu futro s920 thinclient(the same disk previouslsy was installed on gigabyte brix that has dead).

    The remote work flawesly out of the box (remote/keyboard and airmouse), but i can't wake from suspend from remote.

    here the output of dmsed when i plug the usb receiver:

    Code
    170992.176683] usb 5-1: new full-speed USB device number 4 using xhci_hcd
    [170992.348600] input: 123 COM Smart Control as /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1:1.0/0003:1915:1028.0006/input/input20
    [170992.403885] hid-generic 0003:1915:1028.0006: input,hidraw0: USB HID v1.01 Keyboard [123 COM Smart Control] on usb-0000:00:10.0-1/input0
    [170992.412924] input: 123 COM Smart Control Mouse as /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1:1.1/0003:1915:1028.0007/input/input21
    [170992.413251] input: 123 COM Smart Control Consumer Control as /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1:1.1/0003:1915:1028.0007/input/input22
    [170992.466951] input: 123 COM Smart Control System Control as /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1:1.1/0003:1915:1028.0007/input/input23
    [170992.467133] hid-generic 0003:1915:1028.0007: input,hidraw1: USB HID v1.01 Mouse [123 COM Smart Control] on usb-0000:00:10.0-1/input1

    this is the output of lsusb and lsusb -t:

    this is the output of wakeup properties in usb devices:

    Code
    omega:/sys/devices/pci0000:00/0000:00:10.0/usb5/5-2/power # grep enabled /sys/bus/usb/devices/*/power/wakeup
    /sys/bus/usb/devices/4-3/power/wakeup:enabled
    /sys/bus/usb/devices/5-1/power/wakeup:enabled
    /sys/bus/usb/devices/5-2/power/wakeup:enabled
    /sys/bus/usb/devices/usb1/power/wakeup:enabled
    /sys/bus/usb/devices/usb2/power/wakeup:enabled
    /sys/bus/usb/devices/usb3/power/wakeup:enabled
    /sys/bus/usb/devices/usb4/power/wakeup:enabled
    /sys/bus/usb/devices/usb5/power/wakeup:enabled
    /sys/bus/usb/devices/usb6/power/wakeup:enabled

    this is the output of /proc/acpi/wakeup

    if i try to run ir-keytable (kodi was runnng) i got this output:

    Code
    omega:~ # ir-keytable
    /sys/class/rc/: No such file or directory
    No devices found

    i can wake my htpc with usb keyboard (listed on previous lsusb) without problem, but i can't whit remote.

    i don't understand what i was missing to get it work!

    thanks in advice for your help!:)

  • If you look in your /etc folder do you see these entries ?

    lrwxrwxrwx 1 root root 27 Sep 2 22:04 rc_keymaps -> /storage/.config/rc_keymaps

    -rw-r--r-- 1 root root 6594 Sep 2 22:04 rc_maps.cfg

    Actually I get the same output when I run the ir-keytable command on my Intel NUC running the latest beta. It actually looks like lircd is running vs. ir-keytable. Maybe there was a change between releases ? I thought prior releases were running ir-keytable but I never looked that closely.

    Edited once, last by jbinkley60 (September 19, 2019 at 1:00 AM).

  • If you look in your /etc folder do you see these entries ?

    lrwxrwxrwx 1 root root 27 Sep 2 22:04 rc_keymaps -> /storage/.config/rc_keymaps

    -rw-r--r-- 1 root root 6594 Sep 2 22:04 rc_maps.cfg

    Actually I get the same output when I run the ir-keytable command on my Intel NUC running the latest beta. It actually looks like lircd is running vs. ir-keytable. Maybe there was a change between releases ? I thought prior releases were running ir-keytable but I never looked that closely.

    i'll check when back home!

    thanks for the tips!

    edit: here the output of ls in /etc

    Code
    drwxrwxr-x    2 root     root           678 Sep  3 03:59 eventlircd.d
    -rw-rw-r--    1 root     root          1721 Sep  3 00:53 inputrc
    drwxrwxr-x    2 root     root            58 Sep  3 02:35 lirc
    -rw-rw-r--    1 root     root            33 Sep  3 00:51 nanorc
    lrwxrwxrwx    1 root     root            27 Sep  3 04:04 rc_keymaps -> /storage/.config/rc_keymaps
    -rw-r--r--    1 root     root          6594 Sep  3 04:04 rc_maps.cfg
    -rw-r--r--    1 root     root          1437 Sep  3 04:18 slsh.rc

    Edited once, last by okaiuz (September 19, 2019 at 5:29 PM).