The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner

Reply
 
LinkBack Thread Tools Display Modes
Old 08-03-2007, 01:14 AM   #76
Low Bitrate
 
xpluis's Avatar
 
Join Date: Sep 2006
Location: Mexico City
Posts: 109
Quote: Originally Posted by Enforcer View Post
Earlier today I had a little play and found out that moving my mouse or pressing a mouse button made no difference, however hitting a key on a keyboard did.


So touching touchscreen or pressing a key on a keyboard brings it back to life.

Here not, i have alteck wireless combo keyboard-mouse usb and if I move mouse or touch a key all back to life.
xpluis is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 08-03-2007, 02:20 PM   #77
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
Any of you with this issue have a second audio device installed ? (i.e. Bluetooth adds an audio device) -- if so, would you TRY and disable it in device manager, then test it again ?
__________________
Road 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."
guino is offline   Reply With Quote
Old 08-03-2007, 06:29 PM   #78
Low Bitrate
 
happpyg's Avatar
 
Join Date: Feb 2005
Location: Bunbury, Western Australia
Posts: 65
I have tried to get this working for hours, I have found that it is not just RR that suffers from these symptoms on my original machine and another AMD system I am building to replace it. I found a utility on the forums called reslaunch that detects when windows returns from hibernation & runs a script. That too will not execute the script until you move the mouse or press a key on the keyboard. I then tried girders "OnResumeSuspend" event and that does the same thing, wont trigger until you move the mouse or press a key on the keyboard.
Both of these I tried with a blank clean install of windows, no other running tasks, no RR, disabled sound card, com ports, lan card, unplugged all USB devices - disabled/unplugged everything I could and still it would not work. Then updated all drivers and tried again - still nothing! Both my systems are nothing flash, onboard video & sound, USB GPS mouse & PS2 keyboard and Xenarc USB touch screen.

I have found the same description of events on girder forums (link below) and similar on other forums too leading me to believe it is a windows related problem but I cannot find a solution anywhere! I have been just pressing the touch screen for 2 years now & have gotten used to doing it but a resolution would be very nice!

http://www.girder.nl/forums/showthre...nresumesuspend
__________________
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
happpyg is offline   Reply With Quote
Old 08-03-2007, 06:29 PM   #79
Maximum Bitrate
 
Join Date: Jun 2003
Location: Atlanta/Augusta, GA
Posts: 505
Quote: Originally Posted by guino View Post
Any of you with this issue have a second audio device installed ? (i.e. Bluetooth adds an audio device) -- if so, would you TRY and disable it in device manager, then test it again ?

I get the same results after disabling the secondary audio too. With hibernateaware=true in rr.ini, when RR resumes from hibernate, audio does not start playing again and the skin is not refreshing. If I move the mouse cursor, the audio starts playing and skin starts refreshing as normal.

Here's something that may help you debug. I use the FSR skin (flash), and on the audio page, at the top right, there is a widget that changes between a clock, logo, and CPU meter every few seconds. After resuming from hibernate, the skin is changing this widget as expected, but the CPU meter is frozen at whatever % it was at hibernate and does not refresh, as if RR is not updating it. The clock widget however does update (maybe it doesn't go through RR and uses a flash call to get the time?).

With hibernateaware=false, I get the same results as before disabling the secondary audio. On resuming from hibernate, the audio does start playing automatically. But, the screen/skin is still frozen with the symptom I described above. In addition, the song's progress bar, time playing, etc does not update even though the song is still playing through winamp. If I move the mouse, hit a key on the keyboard, or use the touchscreen to click on the skin, the skin/screen will refresh and work as normal with the progress bar, time playing label, etc will automatically update to the correct values and start working/refreshing as normal.

I also have my steering wheel controls mapped to control RR. Again, after resuming from hibernate, if I click next track on my steering wheel controls, RR will resume audio and start playing the track and the playlist will highlight the now playing song. However, all the other labels, such as time playing, progress bar, etc will still not refresh. As before, I have to hit a key, move the mouse, or use the touchscreen before it works as normal.

I hope some of this will help you figure it out guino! I took a few passes through the code, but I have no idea what it could be. It doesn't help that I'm a noob to VB.
__________________
-TJ
Smart Playlists Plugin for RoadRunner
CarPC - 05 Acura TL Navi (pics soon)
Retired CarPC - 03 Infiniti Qx4
tejesh83 is offline   Reply With Quote
Old 08-03-2007, 06:48 PM   #80
Maximum Bitrate
 
Join Date: Jun 2003
Location: Atlanta/Augusta, GA
Posts: 505
Quote: Originally Posted by happpyg View Post

I have found the same description of events on girder forums (link below) and similar on other forums too leading me to believe it is a windows related problem but I cannot find a solution anywhere! I have been just pressing the touch screen for 2 years now & have gotten used to doing it but a resolution would be very nice!

I believe the problem is that some hardware/drivers do not implement ACPI correctly or fully. So the events, onresume, onstandby, etc are not reliable and any application that depends on them will have issues on some machines. This include apps like hibernate trigger, girder's events, RR, etc.

But if its possible to develop the application without these calls, its stands a better chance of working fine after resuming from hibernate. For example, winamp by itself, resumes fine from hibernate without any tweaking. The sound resumes as expected and the winamp skins refresh as they should.

Its a minor annoyance, but there has got to be a solution. I'm thinking maybe if the application has a timer event that triggers some IO every x seconds, it will force it to refresh. The reason I think this might work is that winamp doesn't have this problem and it may be because its always readings mp3s from disk. I've been wanting to try this out, but haven't had much time to play around with the source code and don't know much VB either. I'll take a stab at this weekend though.
__________________
-TJ
Smart Playlists Plugin for RoadRunner
CarPC - 05 Acura TL Navi (pics soon)
Retired CarPC - 03 Infiniti Qx4
tejesh83 is offline   Reply With Quote
Old 08-04-2007, 02:25 AM   #81
Maximum Bitrate
 
Join Date: Jun 2003
Location: Atlanta/Augusta, GA
Posts: 505
Possible Solution

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.
Attached Files
File Type: zip RoadRunner.HibernateTest.zip (684.7 KB, 34 views)
__________________
-TJ
Smart Playlists Plugin for RoadRunner
CarPC - 05 Acura TL Navi (pics soon)
Retired CarPC - 03 Infiniti Qx4

Last edited by tejesh83; 08-04-2007 at 08:54 AM.
tejesh83 is offline   Reply With Quote
Old 08-04-2007, 05:15 AM   #82
Low Bitrate
 
happpyg's Avatar
 
Join Date: Feb 2005
Location: Bunbury, Western Australia
Posts: 65
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
happpyg is offline   Reply With Quote
Old 08-04-2007, 10:03 PM   #83
Low Bitrate
 
happpyg's Avatar
 
Join Date: Feb 2005
Location: Bunbury, Western Australia
Posts: 65
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
happpyg is offline   Reply With Quote
Old 08-04-2007, 10:46 PM   #84
FLAC
 
treetop777's Avatar
 
Join Date: Sep 2006
Location: War-Town, GA.
Posts: 1,355
EXCELLENT! Thanks.
treetop777 is online now   Reply With Quote
Old 08-04-2007, 11:17 PM   #85
FLAC
 
djmickyg's Avatar
 
Join Date: Feb 2004
Location: Melbourne, Australia
Posts: 1,292
very nice! i will be trying this out now!
djmickyg is offline   Reply With Quote
Old 08-05-2007, 01:49 AM   #86
Newbie
 
R33vit's Avatar
 
Join Date: Mar 2005
Location: Sydney Australia
Posts: 40
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
R33vit is offline   Reply With Quote
Old 08-05-2007, 02:55 AM   #87
FLAC
 
djmickyg's Avatar
 
Join Date: Feb 2004
Location: Melbourne, Australia
Posts: 1,292
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?
djmickyg is offline   Reply With Quote
Old 08-05-2007, 06:38 PM   #88
Maximum Bitrate
 
Join Date: Jun 2003
Location: Atlanta/Augusta, GA
Posts: 505
Quote: Originally Posted by djmickyg View Post
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

Last edited by tejesh83; 08-05-2007 at 06:41 PM.
tejesh83 is offline   Reply With Quote
Old 08-05-2007, 08:32 PM   #89
Maximum Bitrate
 
Join Date: Jun 2003
Location: Atlanta/Augusta, GA
Posts: 505
New Solution

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.
Attached Files
File Type: zip RR.HibTest2.zip (715.4 KB, 31 views)
__________________
-TJ
Smart Playlists Plugin for RoadRunner
CarPC - 05 Acura TL Navi (pics soon)
Retired CarPC - 03 Infiniti Qx4

Last edited by tejesh83; 08-05-2007 at 08:39 PM.
tejesh83 is offline   Reply With Quote
Old 08-05-2007, 09:32 PM   #90
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
can you make the changes you made available (sources) so I can put it in the main sources ??

Thanks for looking at it!
__________________
Road 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."
guino is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RESUME after hibernate frodoplayer paused until user input kuo FP Bug Reports 22 08-06-2006 03:57 PM
no sound on resume from hibernate FIX temporarly xdjxklusivex FrodoPlayer 5 12-18-2005 12:23 PM
status update.... 0l33l PowerVoice 17 05-05-2005 12:22 PM
Audio crash after hibernate (USB alerts) Peoples RR Bug Tracker 11 03-10-2005 01:29 PM
No auto resume music and video? organasised Road Runner 3 02-10-2005 09:55 PM


All times are GMT -5. The time now is 04:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics