|
 |
|
08-05-2007, 10:04 PM
|
#91
|
|
Maximum Bitrate
Join Date: Jun 2003
Location: Atlanta/Augusta, GA
Posts: 505
|
Quote: Originally Posted by guino 
can you make the changes you made available (sources)
Lets wait for the other testers to make sure its all working before adding it to the next release.
The only file I changed is frmSkin. I added a timer to the form and a variable and event handler for the logic. Search for "tejesh83" to see my code changes.
Please look it over to make sure its sane. This is my first use of VB.
By the way, since this new timer logic replaces the windows hibernate event listener in modCom, we may not need remove the call to "resumeFromHibernate" in modCom. It could cause a thread race condition in some scenarios, where resumeFromHibernate executes twice (once from my timer and simultanously from the APMRESUMESUSPEND event listener in modCom) causing havoc. If VB prevents concurrent threads from entering the same function, than this is a non-issue, but it would still be cleaner to have only one call to the resume function.
-TJ
Last edited by tejesh83; 08-05-2007 at 10:07 PM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
08-12-2007, 02:12 AM
|
#92
|
|
Low Bitrate
Join Date: Sep 2006
Location: Mexico City
Posts: 109
|
Exelent work! hours and hours in this **** problem and now you find a partial solution GREAK WORK AND THANKS!!!! my test:
When resume my carputer music back  and the clock and others indicators on screen works. but.... i still need touch one time my touchscreen for back to work normaly, for example:
Wake my carputer and music and indicators back...... but now i touch audio button and nothing happend.... , i need touch again audio button for enter in audio menu.
|
|
|
08-13-2007, 06:20 AM
|
#93
|
|
Low Bitrate
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
|
The fix worked for me 3 times and stuff went back to no music on return from hibernation.
I'll have to wipe it all out and try again later on today.
|
|
|
08-13-2007, 04:40 PM
|
#94
|
|
Low Bitrate
Join Date: Sep 2006
Location: Mexico City
Posts: 109
|
The fix stop work.....  only work the first times.
|
|
|
08-14-2007, 04:03 AM
|
#95
|
|
Low Bitrate
Join Date: Sep 2006
Location: Mexico City
Posts: 109
|
New progress:
Its works if i use the tejesh83 Roadrunner.exe and put i my ExecTL.ini:
"ONSUSPEND","CLOSEWINAMP"
"ONRESUME","STARTWINAMP"
Now when resume the music start, but again i need touch the screen one time activate the normal work of RR. When i touch the screen i can see the winamp start, and the current song restart to the beginning.
If i hibernate and i don't touch the screen at least one time, music don't work more and i need restart my computer for get music back.
Last edited by xpluis; 08-15-2007 at 05:18 PM.
|
|
|
08-17-2007, 05:18 AM
|
#96
|
|
Newbie
Join Date: Nov 2006
Posts: 6
|
Hard&Soft solution for hibernate problems
Hi, friends:
First of all, its very hard to me speak in English, so be patiente with my explanation.
I had problems with hibernation, not only with RR. I had problems with various programs coded in VB. But there are programs like SpeedFan that intercept windows messages correctly. So I think the problem is in the VB libraries, for example, but not in RR Code.
I foud a solution that runs every time with all programs.
It is based in the DTR activation service (here in the forum explayed). I use a little Autohotkey script to intercept the windows, hibernate/resume messeges, and enables/disables the DTR signal. This singal is used by a little homemade hardware that controls two relays. One of the relays powers the screen (to power it on after windows is loaded and power it off before hibernate procedures), and other generates a pulsation send to a ps2 keyboard. And now we got the pulsation that enables all our system.
You will think is very complicated for a simple bug, but it was designed first for control the screen, and i put the hibernate bug killer like an upgrade on it.
Now i'm trying to control the circuit using the ScorllLock led of the keyboard to liberate the COM port for another uses.
I hope it was understandable, and useful. More detailed information, diagrams, etc (in spanish): http://www.solocarputer.com/phpbb2/viewtopic.php?t=7731
Bye.
|
|
|
08-18-2007, 09:20 PM
|
#97
|
|
Maximum Bitrate
Join Date: Jun 2003
Location: Atlanta/Augusta, GA
Posts: 505
|
Sorry for delay, I've been out of town.
For those having issues with the latest workaround, you can try the first patch I posted:
http://www.mp3car.com/vbulletin/1101867-post81.html
ONRESUME/ONSUSPEND events won't work, so plugins like phoco may not work. Mappoint and voice were also disabled in that build.
I'll take a look at the 2nd patch when I get a chance. I think I know what the issue is, but I haven't had time to mess around with it. If anyone has some VB skills and wants to take a stab, PM me and I can point you in the right direction.
This is going to be low priority for a little while, since classes start back up Monday. Also, it looks like my touchscreen controller and steering wheel controls shorted out yesterday, so my free time will be going towards repairing that first.
Last edited by tejesh83; 08-18-2007 at 09:23 PM.
|
|
|
08-22-2007, 06:06 AM
|
#98
|
|
Low Bitrate
Join Date: Sep 2006
Location: Mexico City
Posts: 109
|
Not have car this days, the next weekend i test the fix
|
|
|
08-29-2007, 07:54 AM
|
#99
|
|
Low Bitrate
Join Date: Jan 2006
Location: Lexington, KY
Posts: 102
|
Quote: Originally Posted by Jay_1.8t 
The fix worked for me 3 times and stuff went back to no music on return from hibernation.
I'll have to wipe it all out and try again later on today.
Just had a chance to do this is and what I have found is that all I needed was a fresh install of RR. I completely removed anything RR related with CCleaner. Got a fresh copy of the installer and it took couple of tries but it finally started to work every time when coming back from hibernation.
|
|
|
10-09-2007, 10:22 PM
|
#100
|
|
Maximum Bitrate
Join Date: Nov 2005
Posts: 560
|
Any update on this one?
Is this being integrated into latest version of RR?
I did install (or rather overwrite my previous version of RR with) the new version of RR 9-30-07 + HDRadio, but it does not autoresume. Still need to press a key/touchscreen.
Thanks
Ice
|
|
|
10-09-2007, 10:36 PM
|
#101
|
|
Low Bitrate
Join Date: Sep 2006
Location: Mexico City
Posts: 109
|
i thing sell my mobo and buy other... is sad that my carpc not resume good.
|
|
|
10-10-2007, 01:40 PM
|
#102
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
|
I just got the sources from this thread, I'll look it over and hopefully add an option for next release .. it is NOT currently on the 9-30 release.
__________________
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."
|
|
|
10-10-2007, 04:13 PM
|
#103
|
|
Maximum Bitrate
Join Date: Nov 2005
Posts: 560
|
Thanks guino. 
Just checking if it was me going crazy  .
|
|
|
10-10-2007, 09:42 PM
|
#104
|
|
Maximum Bitrate
Join Date: Jun 2003
Location: Atlanta/Augusta, GA
Posts: 505
|
Updated mod for RR 9/30 release
Updated mod for 9/30 release is attached. Like before, lets consider this a beta release, so use it at your own risk. I've tested it in my carpc, and it appears to work correctly.
To install, browse to your RR install directory. For backup purposes, rename the existing RoadRunner.exe to RoadRunner.bak or whatever you prefer. Then replace this exe with the one provided in the zip file.
The basic mod is the same as I posted previously for the last RR release. This time around I had more familiarity with VB6 and the RR source, so it should be less quirky.
Basic Algorithm: The code keeps a timestamp that is updated every second. If between updates, more than 60 seconds has passed, I have assumed the system has just resumed from hibernation and call the RR resumeFromHibernate function to restore the skin, music, ports, etc. NOTE: For testing purposes, please wait at least 60 seconds while the carpc is in hibernation before powering it back on so that the mod will trigger.
Please post your results. I can't promise to work out the bugs, but I'll try as time permits. If its stable, I'll pass along the mods to Guino to incorporate into the next release.
Last edited by tejesh83; 10-10-2007 at 09:45 PM.
|
|
|
10-11-2007, 04:41 PM
|
#105
|
|
FLAC
Join Date: Sep 2006
Location: War-Town, GA.
Posts: 1,355
|
Thanks  This has been an annoying problem - clock stay frozen until mouse movement. It's not RR tho' because it do the same with other FE's I've tried.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:07 PM.
| |