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: Razafragin-snickle-fifer - IPac and Pacdrive Sleep Issues  (Read 1326 times)

0 Members and 1 Guest are viewing this topic.

Necro

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:November 29, 2022, 08:22:22 pm
  • Building a 'Classic' MAME Cab
Razafragin-snickle-fifer - IPac and Pacdrive Sleep Issues
« on: September 22, 2011, 04:54:08 pm »
Having two semi-big issues now I'm not sure how to address:
1. IPac (original) isn't waking from sleep. 
2. PACDrive doesn't power down on sleep (and turn off the LEDs). 

The first one is a fairly decent issue, but I can rig something up to address it if needed.  I think the second item I can address with a script that executes when the system sleeps - but the issue is then LED Blinky will be all screwed up when it comes back on (i.e., not lighting up FE controls). 

Any thoughts/ideas? 



Things I've tried already to address #1 include:
- Went through the BIOS, set everything up so USB keyboard should be able to easily wake from sleep.
- Tried to make sure power stayed on for all usb devices when sleeping, but only one hub had any power option.  Changing it to always on did nothing. (And the USB mouse, connected to the same hub - on the MB - works fine at waking the PC).
- Keyboard plugged into the PS2 keyboard wakes the computer.

Kind of baffled at this...it's definitely something to do with the IPac and USB waking from sleep...

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: Razafragin-snickle-fifer - IPac and Pacdrive Sleep Issues
« Reply #1 on: September 23, 2011, 06:26:31 pm »
I have thought about adding wakeup to the I-PAC but decided against it. The device has to be sure that the host is asleep before issuing a wake otherwise it messes up the USB bus. So in order to determine the host is asleep it must continually poll the bus for activity and reset a timer if its active. This is a repeated overhead on the device and I am reluctant to introduce any delays.
I could produce a special firmware though when time allows.
There is no real reason why the Pacdrive cannot sleep, I should add that to the firmware and again, will do so when time permits. The Pacdrive, unlike the I-PAC does not have user-upgradeable firmware though.

Andy

Necro

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:November 29, 2022, 08:22:22 pm
  • Building a 'Classic' MAME Cab
Re: Razafragin-snickle-fifer - IPac and Pacdrive Sleep Issues
« Reply #2 on: September 25, 2011, 04:35:57 pm »
Thanks for the quick reply Andy.  Shouldn't the device be able to just send a keypress when the computer is asleep and the computer wakes it?  Or is that not actually what happens when a  mouse or keyboard wakes a PC?

Once I get my power switch wired properly, I can wake with that so that's not really an issue I guess...would be nice to be able to hit any key but it's livable.

The Pacdrive not sleeping is kind of annoying though...was hoping it would be fixable without having to get new hardware, etc.  Didn't even expect it would be an issue...