Wake and Sleep via Arduino 101?

Discussion in 'UDOO X86' started by YellowGTM, Nov 9, 2017.

  1. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    It wasn't easy, but I figured out a short term solution for the sleep/wake function
    until I can find an alternate board. It's a shame that Intel dropped the Curie,
    and the code does not work on the this SBC. I've ordered five units, and planned
    to buy many more as this project is starting to take off.

    Now I'll be searching for another board and re-developing everything I just
    re-developed...:(
     
  2. Laura

    Laura UDOOer

    Joined:
    Apr 22, 2016
    Messages:
    374
    Likes Received:
    156
    The issue is related to Windows and how it handles S3 command that is initiated by the power button or onboard Curie module. The Linux operating systems can sleep and wake repeatedly without getting stuck.

    Set Windows to hibernate, instead of sleep.
     
  3. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Thanks Laura.

    There is no option for Hibernate. The drop down list only shows:
    - Do Nothing
    - Sleep
    - Turn off Display
    - Shutdown

    This is the case on both installations of the x86 units that I have.

    Is there a method to enable the Hibernate option via a setting in Windows 10?
    I'm not able to find anything online.
     
  4. Laura

    Laura UDOOer

    Joined:
    Apr 22, 2016
    Messages:
    374
    Likes Received:
    156
    Something is causing Windows 10 to stop responding to the sleep command. We are looking into a fix here at the lab.
     
  5. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Thank you Laura.

    Any breakthrough ideas yet? It's odd that it works via USB keyboard, but not the 101 interface.
     
  6. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Is it possible that the code that I've uploaded to the 101 is causing the 'hang up'?
    Does anyone have sample code that is working properly?
     
  7. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Dear Support,
    Has there been any progress on the sleep/wake issue?

    I have six boards that are pretty much useless for my project otherwise. I'd like to continue ordering throughout 2018
    (possibly 20 more units this year), however without the functional sleep code, the x86 is not a feasible solution for my
    product.

    If this cannot be resolved in a timely manner, I'd like to return 4 units, unless someone on the forum would like to purchase
    them.
    I'll load them with a licensed copy of Windows 10 PRO and sell them at regular purchase price. Two have not been opened.
    Two have been loaded with Windows 10 PRO and Arduino IDE.
    [​IMG]
     
  8. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    More info:
    This also happens with the Power Button and the Front Panel connector (Pins 6 and 8).
    If I press the power button after one cycle of sleep, nothing happens and I have to
    reboot to allow the sleep function to work again (one time).
     
  9. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Is the setting of the usb udoo device to allow the Udoo to be waked up on? If possible, I do not have W10.

    [​IMG]
     
  10. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Hello Waltervl,
    I am fairly certain that box is checked. Does this also effect the power button and Curie power management through Arduino 101 GPIO?
     
  11. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    I do not know, but since the power button is failing also it seems more a setting problem or driver issue in W10 then a hardware issue.
    Also because it seems to be related to Windows only (can you confirm that?).
     
  12. Laura

    Laura UDOOer

    Joined:
    Apr 22, 2016
    Messages:
    374
    Likes Received:
    156
    We have a team assigned to this task. It only affects Windows, and can currently be solved by setting the Windows power button mode to a different setting to Sleep, for example, Hibernate.
     
  13. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Waltervl, the box was checked so unfortunately it did not work.

    Laura, how do I get "Hibernate" to appear? The drop-down list doesn't have that option.

    I decided to install 8.1 and the sleep works fine. Now I just have to ensure it will work with my software and project hardware.
     
  14. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  15. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    That procedure doesn't work.

    When I click, "Change Settings that are currently unavailable",
    the options below become available, but there is no listing for "Hibernate".

    I also only have one column of drop down menus(the left side)

    There is no column for "plugged in" or "battery".

    I'll take a screenshot and upload it. My Windows version was dowloaded from Microsoft and fully licensed.
    .
     
  16. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  17. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    Thank you Walterlv, that allows me to see the "Hibernate" option, however the
    same problem exists.

    I can only get one cycle of "sleep" or "hibernate" to work, then there's no response.

    At the moment, the backup plan is to use Windows 8.1 which requires me to
    purchase another license for two of the x86 modules.
     
  18. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    8.1 drivers are not available from the Intel site

    Without them I cannot access the 101 GPIO.

    Is there an alternate site or does any have the update they can send by chance?

    This has really been a nightmare getting this board to work...
     
    Last edited: Jan 15, 2018
  19. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  20. YellowGTM

    YellowGTM Member

    Joined:
    Sep 21, 2017
    Messages:
    56
    Likes Received:
    3
    No, unfortunately not.

    I can download the utility, but when executing the message says, "Intel Driver Support is getting a Tune Up. Go to the Download Centre".

    When I go to the download centre, I cannot download anything, I get the error:

    "An error occurred while processing your request.
    Reference #97.35c094d1.1515941955.3856cb7"

    I've tried Google for chipset drivers, USB drivers, Curie drivers for UDOO x86 or Windows 8.1 and nothing relevant seems to appear.
     

Share This Page