Woohooo!!! That fixed it on my test machine. I'll try in the car and let you know how it goes.
Thanks!!!!!!!!!!!!![]()
Possible Solution
I went to watch Bourn Ultimatum with some buddies and was too wired to fall asleep when I got home, so I took a stab at the hibernate issue in RR. I think I found a solution but need a few of you to test to confirm.
I slightly modified the code to completely ignore Window's hibernate and resume from hibernate events. Now, the music and skin resume automatically without pressing any buttons or moving the mouse.
I've attached the file for you guys to beta test. In your RR folder, rename your existing RoadRunner.exe to RoadRunner.exe.bak and copy the new one from the zip file.
Note, I did not have the libraries for MapPoint or Speech and couldn't locate them online for download, so these features have been disabled in my build. If someone has the mappoint ocx file and speech dll handy, I can rebuild a complete version if you send them my way.
-TJ
Smart Playlists Plugin for RoadRunner
CarPC - 05 Acura TL Navi (pics soon)
Retired CarPC - 03 Infiniti Qx4
Woohooo!!! That fixed it on my test machine. I'll try in the car and let you know how it goes.
Thanks!!!!!!!!!!!!![]()
Semperon 3200+/512MB/ Seagate SATA2 120GB
10.2" Xenarc/ Netgear USB Wireless
M2-ATX/RadioShark
BU-353 GPS Receiver
http://www.happyg.mine.nu/carpc/index.html
Yep, thanks tejesh, not sure what you did but that fixed in the car too, sooo nice not to have to touch the screen every time, thanks heaps!!! And thanks to guino too for his help answering my PM's to try to find a solution!
Cheers!
Semperon 3200+/512MB/ Seagate SATA2 120GB
10.2" Xenarc/ Netgear USB Wireless
M2-ATX/RadioShark
BU-353 GPS Receiver
http://www.happyg.mine.nu/carpc/index.html
very nice! i will be trying this out now!
I found if I hibernate from a skin (ie: select hibernate from exit skin) I dont have a problem when it resumes.
If I hibernate by pushing the power button on the PC (Set in windows to nibernate when I press the power button) it will return to RR with no sound.
Also the onresume cmd in the ExecTBL.ini does not execute until you move the mouse.
hope that helps you Guino
also i find the auto skin and gamma chnage didnt work till i moved something..
tejesh83: i tried out your version with hibernateaware=true on, and the music resumed.
but my "onresume","restart_phoco" command didnt work when i resumes the pc?
Sorry, the version I posted copletely strips out the hibernate features of RR, the "onresume" event included. Even with hibernateaware=false, RR was still doing some processing with the hibernate and resume from hibernate events. I took this all out of the version I posted.
Let me see if there is another way to get that event to fire. I got an idea, but I'm new to VB so it may take awhile to figure out. Basically, I want to use a timer that fires every seconds. If more that a second passes since my last check, I'll assume the computer was hibernating and call the neccessary resume code in RR.
-TJ
Smart Playlists Plugin for RoadRunner
CarPC - 05 Acura TL Navi (pics soon)
Retired CarPC - 03 Infiniti Qx4
New Solution
I implemented the algorithm mentioned above. I tested it out on my dev system and my carpc, and it appears to be working. I need you guys to verify as well though.
djmickyg, the "onresume" for phoco should work too with this release. Also, this build now includes the MS Mappoint and Speech features.
FYI - In my car, just today I replaced my audigy 2 ns notebook with a new creative xmod usb sound card (sounds awesome by the way), so with hibernate=true, when I tried this new build, winamp would bich when my carpc resumes from hibernate that the soundcard is not ready. Guino has already taken care of this. Just add usbsound=true to your RR.ini. This will make RR wait a few seconds before asking winamp to resume audio.
Shameless plug - If you like my work, check out my SmartPlaylists plug-in for RR as well. See my signature below for a link.
-TJ
Smart Playlists Plugin for RoadRunner
CarPC - 05 Acura TL Navi (pics soon)
Retired CarPC - 03 Infiniti Qx4
can you make the changes you made available (sources) so I can put it in the main sources ??
Thanks for looking at it!
Ride Runner RR's Myspace
"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
Bookmarks