Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Wake PC with any I-PAC2 2015 button?  (Read 724 times)

0 Members and 1 Guest are viewing this topic.

CapnBry

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:March 30, 2018, 01:06:57 pm
  • Good at computers, bad at tools
    • capnbry.net
Wake PC with any I-PAC2 2015 button?
« on: April 30, 2015, 09:44:27 am »
I've got my control panel half assembled so I can play with the software side of things on my cabinet. I have Windows 7 Home Premium x64 with an I-PAC 2 2015 model. When the PC is idle for X minutes it goes to sleep. I want to be able to wake it by pressing any button on the control panel, however the only way I can get it to do that is if I make the button assignment "WAKE" in the I-PAC configuration software. Pressing any key on the keyboard wakes the PC. All the I-PAC HID devices are set to "allow this device to wake the computer".

The LED on the I-PAC stays on while the PC is sleeping, and assigning "WAKE" as a button works so I know it can bring it out of sleep. Is there any way to configure it so any button wakes the PC?

I'd hate to have to have a dedicated button taking space on my panel just for "power on".

EDIT: I also should have said that I love the I-PAC design. Screw terminals, well labeled inputs, dedicated hardware for each input? Perfect. Great software, no ghosting, well thought-out SHIFT function, no software required to use, non-volatile configuration. Just brilliant. Oddly this was the first piece of hardware I decided on for my cabinet. "Oh this I have to use, it is the best."
« Last Edit: April 30, 2015, 09:48:29 am by CapnBry »

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: Wake PC with any I-PAC2 2015 button?
« Reply #1 on: April 30, 2015, 12:54:12 pm »

The reason all buttons do not wake is that this would cause delays. A wake is done by pulling down the USB bus signals and its important that the device does not issue a wake unless the PC is actually asleep as it messes up the USB controller.

So, the check for sleep is only done when the one assigned button is pressed.

But you dont need a dedicated button as you can assign the Wake function to a shifted button eg hold Start1 and press Player 2 SW1 = Wake.

CapnBry

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:March 30, 2018, 01:06:57 pm
  • Good at computers, bad at tools
    • capnbry.net
Re: Wake PC with any I-PAC2 2015 button?
« Reply #2 on: April 30, 2015, 01:28:38 pm »
The reason all buttons do not wake is that this would cause delays. A wake is done by pulling down the USB bus signals and its important that the device does not issue a wake unless the PC is actually asleep as it messes up the USB controller.
Oh wow thanks for the technical explanation Andy. I'm a developer myself who has worked a little in hardware design and microcontroller development so I am fringely familiar with USB but I did not know that's how remote wake worked! Makes perfect sense to me that you wouldn't want to assert the wake signal every time any button is pressed. Is it not possible to detect the suspend condition from lack of USB data for a certain amount of time then do a remote wake on any button press if the bus has been quiet for a "long" duration?

You're right, I don't need to have a dedicated button for wake, I'll definitely do that. I was just thinking it would be easier to tell my friends "just press any button to turn it on", although I am making such extensive use of the awesome SHIFT functionality for admin stuff I may need a laminated cheat sheet!  :D

Thanks again for a quick technical answer directly from the source!
« Last Edit: April 30, 2015, 01:31:45 pm by CapnBry »