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: 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:

    1. 170992.176683] usb 5-1: new full-speed USB device number 4 using xhci_hcd
    2. [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
    3. [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
    4. [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
    5. [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
    6. [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
    7. [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:

    1. omega:/sys/devices/pci0000:00/0000:00:10.0/usb5/5-2/power # grep enabled /sys/bus/usb/devices/*/power/wakeup
    2. /sys/bus/usb/devices/4-3/power/wakeup:enabled
    3. /sys/bus/usb/devices/5-1/power/wakeup:enabled
    4. /sys/bus/usb/devices/5-2/power/wakeup:enabled
    5. /sys/bus/usb/devices/usb1/power/wakeup:enabled
    6. /sys/bus/usb/devices/usb2/power/wakeup:enabled
    7. /sys/bus/usb/devices/usb3/power/wakeup:enabled
    8. /sys/bus/usb/devices/usb4/power/wakeup:enabled
    9. /sys/bus/usb/devices/usb5/power/wakeup:enabled
    10. /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:

    1. omega:~ # ir-keytable
    2. /sys/class/rc/: No such file or directory
    3. 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!:)

  • awiouy

    Approved the thread.
  • 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 ().

  • i'll check when back home!

    thanks for the tips!

    edit: here the output of ls in /etc

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

    Edited once, last by okaiuz ().