1. Forum
    1. Unresolved Threads
  2. Blog
  3. About
  4. Downloads
  5. Contribute
  6. Sponsor
  7. Wiki
  8. Issues
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Forum
  • Pages
  • More Options
  1. LibreELEC Forum
  2. HELP & SUPPORT
  3. General Support

.

  • paperbackwriter
  • March 25, 2017 at 5:42 PM
  • Thread is Unresolved
  • paperbackwriter
    Beginner
    Posts 8
    • March 25, 2017 at 5:42 PM
    • #1

    .

    Edited once, last by paperbackwriter (May 22, 2024 at 3:53 AM).

  • vpeter
    Who?
    Posts 2,199
    • March 25, 2017 at 6:14 PM
    • #2

    It is safer to use

    Code
    grep -q EHC1.*disabled /proc/acpi/wakeup && echo EHC1 >/proc/acpi/wakeup
    grep -q XHC.*enabled /proc/acpi/wakeup && echo XHC >/proc/acpi/wakeup


    It enables EHC1 only if it is disabled. Same for XHC: it disable it if it is enabled.

    You should check what values are set after boot - maybe they were changed between releases.

  • paperbackwriter
    Beginner
    Posts 8
    • March 25, 2017 at 6:42 PM
    • #3

    .

    Edited 2 times, last by paperbackwriter (May 22, 2024 at 3:54 AM).

  • vpeter
    Who?
    Posts 2,199
    • March 25, 2017 at 6:57 PM
    • #4

    Maybe I don't understand what is the issue you have? Can you show all states?

    Code
    cat /proc/acpi/wakeup


    Autostart.sh is working as same as in previous versions: executed just before kodi is started.

  • paperbackwriter
    Beginner
    Posts 8
    • March 25, 2017 at 7:03 PM
    • #5

    .

    Edited 2 times, last by paperbackwriter (May 22, 2024 at 3:54 AM).

  • vitorp07
    Intermediate
    Posts 299
    • March 25, 2017 at 8:28 PM
    • #6

    It does work the same for me, did you try it like this?

    Code
    echo EHC1 > /proc/acpi/wakeup &
    echo XHC > /proc/acpi/wakeup


    or like this if sleep is needed

    Code
    sleep 5; echo EHC1 > /proc/acpi/wakeup &
    sleep 5; echo XHC > /proc/acpi/wakeup
  1. Privacy Policy
  2. Cookie Policy
  3. Contact
Powered by WoltLab Suite™