Results 1 to 5 of 5

Thread: need help putting computer to sleep from ignition

  1. #1
    Newbie
    Join Date
    Oct 2011
    Posts
    2

    need help putting computer to sleep from ignition

    Hey all,
    Iím building my first car PC and Iím using the M2-ATX from mini-box as my power supply. Right now I have the wireless remote module and some relays hooked up to the remote wire which turns on the computer when I unlock my doors and turns of the computer when I lock the doors with only the FOB. It works perfect! What I want to do is change the PSU to shutdown 30mins after I cut the remote line and have the ignition ďoffĒ action (plus some relays and capacitors) put the computer to sleep so that if I come back within 30 mins the computer wakes up near instantly. In theory it works. I tested it already but I plugged a keyboard in and used the sleep button on the keyboard to put the computer to sleep (instead of the ignition and relays). My question is how can I put the computer to sleep without the keyboard button? Thereís no pin out on the motherboard for a sleep button. Iím guessing I would have to use the PS/2 port or a USB port driven device. Anyone know how to do this?

  2. #2
    MySQL Error soundman98's Avatar
    Join Date
    Jan 2008
    Location
    on the border of northern IL/IN
    Posts
    5,820
    the sleep option should be available in the power button options under the control panel.

  3. #3
    Newbie
    Join Date
    Oct 2011
    Posts
    2
    thanks. after much research i think i can do what i want through the software instead of hardware like you suggested.

  4. #4
    Constant Bitrate
    Join Date
    Mar 2011
    Location
    Marietta, Ohio
    Posts
    133
    Yep, there are options for "What to do when power button is pressed." Such as Standbyp, Hibernate, Shutdown...

    Here is a link for how to do it in WinXP. You didn't mention your OS...

    http://www.xptricks.net/windows/xp/2...on-is-pressed/

  5. #5
    Maximum Bitrate Mickz's Avatar
    Join Date
    Sep 2009
    Location
    Australia
    Posts
    832
    This post is a little confusing, to me at least.

    There are two questions you seem to be asking?

    “What I want to do is change the PSU to shutdown 30mins after I cut the remote line and have the ignition “off” action”

    You want to make the PSU shutdown the PC after 30 minutes IF the PC is in sleep mode.

    You want to put the PC to seep using the On/Off function of the PSU-MB combination which has been answered by the other posts above.

    You want something else?

    How do you want sleep to be killed after 30 minutes? A hard power off like the M4-PSU can do. This requires a cold boot when the PC is restarted unless you are one of the lucky ones that can get Hybrid-Sleep to work all the time (you need a keyboard at boot time if it fails).

    EDIT:
    Almost forgot, there is the option to have the PC do both. Sleep or Hibernate controlled by a hardware control interfaced to the FE or a touch screen button on the FE. You set the PC to sleep when the IGN is off and if you’re not coming back you can hibernate with the touch of a button. If sleep happens to be reset after 30 minutes by a hard-off control, the PC will just do a cold boot on power up.

    However there are differences between Win OS versions when it cpmes to Software Control of Sleep Hibernate and if you enable Hibernate then it may not sleep, just Hibernate and if Sleep is enabled it may not Hibernate but just sleep unless a bit of extra coding is carried out.
    Last edited by Mickz; 10-14-2011 at 10:35 PM. Reason: Extra ramblings
    GA-Z77N-WIFI, i5-2400S, 8GB, Intel 520 128GB SSD, M4-ATX Modified, 2 Rev Cams, 2 Web Cams
    8" 16:9 TRANSFLECTIVE, Win8-64, Dual GPS RX and Garmin PC + Odyssey Nav, FM-DAB+, BB-Rec
    T-Screen HVAC control, custom microcontrollers, code and FE. CarPC Project

Similar Threads

  1. Advice on putting a computer into a Impreza
    By Macfamous in forum Newbie
    Replies: 10
    Last Post: 01-20-2010, 11:05 AM
  2. Question on putting computer on Standy
    By gdawg in forum General MP3Car Discussion
    Replies: 3
    Last Post: 10-17-2005, 09:56 AM
  3. putting togetther a computer....150$ help
    By bginamercedes in forum General Hardware Discussion
    Replies: 8
    Last Post: 07-02-2005, 07:41 PM
  4. ignition triggered sleep/awake state
    By khemical in forum Software & Software Development
    Replies: 1
    Last Post: 06-27-2004, 04:45 AM
  5. Putting a computer in an F150
    By zorakz in forum General MP3Car Discussion
    Replies: 18
    Last Post: 06-11-2002, 08:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •