The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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

Reply
 
Thread Tools Display Modes
Old 09-04-2007, 09:45 PM   #16
Maximum Bitrate
midiwall's CarPC Specs
 
Join Date: May 2006
Location: Seattleish, WA
Vehicle: 1970 VW Bug
Posts: 818
My Photos: (0)
Excellent!

I'll pick here... there seems to be more people here watching for XM fixes than over on Flux and visible progress is always a good thing.


Okay, here we go!

First issue... It loads in that the display page shows, and the config objects are there, but it doesn't show any signs of talking to the receiver (Sat and Ter %'s are 0) no channels are listed and (you'll hate this) there's no log.

I'm using the CF.exe and CF.dll from 8/5. The internal Sat Radio module is gone, and I'm confident that I'm configured with the new SatRadio module. I say that 'cause I can change config params and see them change in the module's XML file.

Random points to note...
  • This is a fresh install of 1.20 (with the exception of the alternate versions of CF.exe / .dll)

  • CF is _NOT_ authorized. I can't get on the corp WiFi from the car, so I'll have to authorize when I get home.

  • I've rebooted a couple of times just to be sure.

  • This is XMDirect, running on COM1, and it's a real serial port.

  • No one else is on COM1.

  • If I bring CF 1.14 back up, XM works.

Yeup, I know, "HOW WEIRD!" but that's what you get with me as a tester.

I'm packing up and heading home now, I'll play with it more there.
__________________
:: Mark
midiwall is offline   Reply With Quote
Sponsored Links
Old 09-04-2007, 09:59 PM   #17
Variable Bitrate
smeesseman's CarPC Specs
 
smeesseman's Avatar
 
Join Date: Mar 2007
Location: Detroit, MI
Vehicle: http://www.fluxmedia.net/
Posts: 386
My Photos: (0)
Quote: Originally Posted by midiwall View Post
Excellent!

I'll pick here... there seems to be more people here watching for XM fixes than over on Flux and visible progress is always a good thing.


Okay, here we go!

First issue... It loads in that the display page shows, and the config objects are there, but it doesn't show any signs of talking to the receiver (Sat and Ter %'s are 0) no channels are listed and (you'll hate this) there's no log.

I'm using the CF.exe and CF.dll from 8/5. The internal Sat Radio module is gone, and I'm confident that I'm configured with the new SatRadio module. I say that 'cause I can change config params and see them change in the module's XML file.

Random points to note...
  • This is a fresh install of 1.20 (with the exception of the alternate versions of CF.exe / .dll)
  • CF is _NOT_ authorized. I can't get on the corp WiFi from the car, so I'll have to authorize when I get home.
  • I've rebooted a couple of times just to be sure.
  • This is XMDirect, running on COM1, and it's a real serial port.
  • No one else is on COM1.
  • If I bring CF 1.14 back up, XM works.
Yeup, I know, "HOW WEIRD!" but that's what you get with me as a tester.

I'm packing up and heading home now, I'll play with it more there.

Hmmm...

1) Check the CF Error log for anything (remember, Local Settings directory now with 1.20)...

2) Is there even a folder created c:\Documents and Settings\Local Settings\Application Data\Centrafuse\Plugins\SatRadio ? The first thing this plugin should do when it loads is to create the folder, which would not have existed before...

3) Did you give the old cfplugin.dll a different extension, not just a different name? If you leave it .dll, for example you just renamed it as oldcfplugin.dll, it is possible that this is getting loaded before the new cfplugin.dll is...

4) Make sure no other instances of cfplugin.dll are anywhere in the CF install folder on down through the entire installation directory hierarchy...

5) Try removing SatRadio.dll from the Plugins/SatRadio directory, see if you get any changed behaviour when running cf, like the XM button being missing...

I'll keep thinking about it while you can get back to me on the above...
Thanks!
__________________
http://www.fluxmedia.net/

Last edited by smeesseman : 09-04-2007 at 10:14 PM.
smeesseman is offline   Reply With Quote
Old 09-04-2007, 10:40 PM   #18
Maximum Bitrate
midiwall's CarPC Specs
 
Join Date: May 2006
Location: Seattleish, WA
Vehicle: 1970 VW Bug
Posts: 818
My Photos: (0)
Okay... You'll love this one, it'll be REAL easy to handle.

Did the Authorization, no change. Fiddled and Fuddled and...

...it came right up when I switched to "XMPCR" (I have XMDirect).

There was a similar problem like this before at one point while XM was still in CF. I got the feeling that it may be more of a state variable situation than an absolute. i.e., the UI is out of sync with the code, in that it's not really selecting "XMPCR".

No matter - I'm sure you'll figure it out, and of course the good news is that XM is running.

Now, the BETTER news is that I do believe that SingleClick is fixed. I popped around stations for 10 minutes and it hit them all first time every time. I'll know more tomorrow.

A couple of small downside things, and you may know about them...
  • The star is missing from the ALL display to show the stations that you have marked as favorites.

  • The title bar is only showing "XM 48" (or which ever channel you're selected) instead of showing the artist/title. But all of the station, artist and title info is correct within the channel list displays.

Lookin' good Scott!

WOOHOO!
__________________
:: Mark
midiwall is offline   Reply With Quote
Old 09-04-2007, 10:42 PM   #19
Maximum Bitrate
midiwall's CarPC Specs
 
Join Date: May 2006
Location: Seattleish, WA
Vehicle: 1970 VW Bug
Posts: 818
My Photos: (0)
side note...

Quote: Originally Posted by Scott
remember, Local Settings directory now with 1.20

OHHHHHHHHHHHH!!!!! whoops. I totally blew you off saying that the other three times.

I HATE directories with blanks in them so I always install stuff to my own directories. As such, I thought that you were saying "program files/cf/plugins..." when no, you were actually saying something I needed to pay attention to.

Sorry 'bout that...


And yeup, I'm a Windows coder from way back. I did make sure not to leave the DLL extension 'live".
__________________
:: Mark
midiwall is offline   Reply With Quote
Old 09-04-2007, 11:57 PM   #20
Variable Bitrate
smeesseman's CarPC Specs
 
smeesseman's Avatar
 
Join Date: Mar 2007
Location: Detroit, MI
Vehicle: http://www.fluxmedia.net/
Posts: 386
My Photos: (0)
Quote: Originally Posted by midiwall View Post
side note...



OHHHHHHHHHHHH!!!!! whoops. I totally blew you off saying that the other three times.

I HATE directories with blanks in them so I always install stuff to my own directories. As such, I thought that you were saying "program files/cf/plugins..." when no, you were actually saying something I needed to pay attention to.

Sorry 'bout that...


And yeup, I'm a Windows coder from way back. I did make sure not to leave the DLL extension 'live".

Just to make sure, the log file is being created? Also, having to select the XMPCR is pretty weird, I can't see anything here. Let's see if it still behaves like that when I put out the next release, which should be tomorrow or Thursday with Sirius support started...

EDIT:
Also, do you keep power to the XMDirect? It is possible that being set to XMPCR will work if the XMDirect had been set in PCR mode beforehand, only a poweroff to the XMDirect would reset that... Play with that a bit more if you can, see if setting it back to XMDirect in the Settings causes it to not work again...
__________________
http://www.fluxmedia.net/

Last edited by smeesseman : 09-05-2007 at 08:57 AM.
smeesseman is offline   Reply With Quote
Sponsored Links
Old 09-05-2007, 11:30 AM   #21
Constant Bitrate
jwlionking's CarPC Specs
 
jwlionking's Avatar
 
Join Date: Apr 2005
Location: Saxton, PA - Central/Western PA
Vehicle: 2002 VW Jetta TDI - Rocketchipped - 185hp 314lbft
Posts: 112
My Photos: (4)
Same issue as midiwall - no signal - verified xml had correct configs - also tried the xmpcr but did not work like it did for midiwall

I have xmdirect also

here is the error

PHP Code:
5/9/2007 11:30:37 AM
Input string was not in a correct format
.
   
at System.Number.StringToNumber(String strNumberStyles optionsNumberBuffernumberNumberFormatInfo infoBoolean parseDecimal)
   
at System.Number.ParseInt32(String sNumberStyles styleNumberFormatInfo info)
   
at centrafuse.main.loadEQ()
----------------------------------------------------------------------------------------------------------
5/9/2007 11:31:47 AM
Index was out of range
Must be non-negative and less than the size of the collection.
Parameter nameindex
   at System
.Collections.ArrayList.get_Item(Int32 index)
   
at SatRadio.satradio.tuneChannel(Int32 channel)
----------------------------------------------------------------------------------------------------------
9/5/2007 11:34:51 AM
Could not find a part of the path 
'C:\Documents and Settings\Administrator\Application Data\CFBluetoothControl\Temp'.
   
at System.IO.__Error.WinIOError(Int32 errorCodeString maybeFullPath)
   
at System.IO.Directory.InternalGetFileDirectoryNames(String pathString userPathOriginalString searchPatternBoolean includeFilesBoolean includeDirsSearchOption searchOption)
   
at System.IO.Directory.GetFiles(String pathString searchPatternSearchOption searchOption)
   
at System.IO.Directory.GetFiles(String path)
   
at CFBluetoothControl.BluetoothControl.UninitBluetooth()
----------------------------------------------------------------------------------------------------------
5/9/2007 12:02:14 PM
Could not find file 
'C:\Documents and Settings\Administrator\Local Settings\Application Data\Centrafuse\Presets\custom.xml'.
   
at System.IO.__Error.WinIOError(Int32 errorCodeString maybeFullPath)
   
at System.IO.FileStream.Init(String pathFileMode modeFileAccess accessInt32 rightsBoolean useRightsFileShare shareInt32 bufferSizeFileOptions optionsSECURITY_ATTRIBUTES secAttrsString msgPathBoolean bFromProxy)
   
at System.IO.FileStream..ctor(String pathFileMode modeFileAccess accessFileShare shareInt32 bufferSize)
   
at System.Xml.XmlDownloadManager.GetStream(Uri uriICredentials credentials)
   
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUriString roleType ofObjectToReturn)
   
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   
at System.Threading.CompressedStack.runTryCode(Object userData)
   
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode codeCleanupCode backoutCodeObject userData)
   
at System.Threading.CompressedStack.Run(CompressedStack compressedStackContextCallback callbackObject state)
   
at System.Xml.XmlTextReaderImpl.OpenUrl()
   
at System.Xml.XmlTextReaderImpl.Read()
   
at System.Xml.XmlLoader.Load(XmlDocument docXmlReader readerBoolean preserveWhitespace)
   
at System.Xml.XmlDocument.Load(XmlReader reader)
   
at System.Xml.XmlDocument.Load(String filename)
   
at centrafuse.playlistManager.loadEQPreset()
   
at centrafuse.playlistManager.loadXML()
----------------------------------------------------------------------------------------------------------
5/9/2007 12:02:25 PM
Input string was not in a correct format
.
   
at System.Number.StringToNumber(String strNumberStyles optionsNumberBuffernumberNumberFormatInfo infoBoolean parseDecimal)
   
at System.Number.ParseInt32(String sNumberStyles styleNumberFormatInfo info)
   
at centrafuse.main.loadEQ()
----------------------------------------------------------------------------------------------------------
5/9/2007 12:02:30 PM
Index was out of range
Must be non-negative and less than the size of the collection.
Parameter nameindex
   at System
.Collections.ArrayList.get_Item(Int32 index)
   
at SatRadio.satradio.tuneChannel(Int32 channel)
----------------------------------------------------------------------------------------------------------
5/9/2007 12:03:53 PM
Could not find a part of the path 
'C:\Documents and Settings\Administrator\Application Data\CFBluetoothControl\Temp'.
   
at System.IO.__Error.WinIOError(Int32 errorCodeString maybeFullPath)
   
at System.IO.Directory.InternalGetFileDirectoryNames(String pathString userPathOriginalString searchPatternBoolean includeFilesBoolean includeDirsSearchOption searchOption)
   
at System.IO.Directory.GetFiles(String pathString searchPatternSearchOption searchOption)
   
at System.IO.Directory.GetFiles(String path)
   
at CFBluetoothControl.BluetoothControl.UninitBluetooth()
----------------------------------------------------------------------------------------------------------
5/9/2007 12:04:15 PM
Could not find file 
'C:\Documents and Settings\Administrator\Local Settings\Application Data\Centrafuse\Presets\custom.xml'.
   
at System.IO.__Error.WinIOError(Int32 errorCodeString maybeFullPath)
   
at System.IO.FileStream.Init(String pathFileMode modeFileAccess accessInt32 rightsBoolean useRightsFileShare shareInt32 bufferSizeFileOptions optionsSECURITY_ATTRIBUTES secAttrsString msgPathBoolean bFromProxy)
   
at System.IO.FileStream..ctor(String pathFileMode modeFileAccess accessFileShare shareInt32 bufferSize)
   
at System.Xml.XmlDownloadManager.GetStream(Uri uriICredentials credentials)
   
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUriString roleType ofObjectToReturn)
   
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   
at System.Threading.CompressedStack.runTryCode(Object userData)
   
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode codeCleanupCode backoutCodeObject userData)
   
at System.Threading.CompressedStack.Run(CompressedStack compressedStackContextCallback callbackObject state)
   
at System.Xml.XmlTextReaderImpl.OpenUrl()
   
at System.Xml.XmlTextReaderImpl.Read()
   
at System.Xml.XmlLoader.Load(XmlDocument docXmlReader readerBoolean preserveWhitespace)
   
at System.Xml.XmlDocument.Load(XmlReader reader)
   
at System.Xml.XmlDocument.Load(String filename)
   
at centrafuse.playlistManager.loadEQPreset()
   
at centrafuse.playlistManager.loadXML()
----------------------------------------------------------------------------------------------------------
5/9/2007 12:04:26 PM
Input string was not in a correct format
.
   
at System.Number.StringToNumber(String strNumberStyles optionsNumberBuffernumberNumberFormatInfo infoBoolean parseDecimal)
   
at System.Number.ParseInt32(String sNumberStyles styleNumberFormatInfo info)
   
at centrafuse.main.loadEQ()
----------------------------------------------------------------------------------------------------------
5/9/2007 12:04:31 PM
Index was out of range
Must be non-negative and less than the size of the collection.
Parameter nameindex
   at System
.Collections.ArrayList.get_Item(Int32 index)
   
at SatRadio.satradio.tuneChannel(Int32 channel)
----------------------------------------------------------------------------------------------------------
5/9/2007 12:19:23 PM
Index was out of range
Must be non-negative and less than the size of the collection.
Parameter nameindex
   at System
.Collections.ArrayList.get_Item(Int32 index)
   
at SatRadio.satradio.tuneChannel(Int32 channel)
----------------------------------------------------------------------------------------------------------
5/9/2007 12:21:18 PM
Index was out of range
Must be non-negative and less than the size of the collection.
Parameter nameindex
   at System
.Collections.ArrayList.get_Item(Int32 index)
   
at SatRadio.satradio.tuneChannel(Int32 channel)
---------------------------------------------------------------------------------------------------------- 

__________________
DigitalFX2.0 Skin by JohnWPB

Road Runner RR's Myspace

My Ride - Car Domain Page -JWLionKing's MySpace Page

Project 98% Complete -FREE DOMAIN & WEBSPACE / FILE HOST FOR DEVELOPERS - PM ME

Last edited by jwlionking : 09-05-2007 at 11:33 AM.
jwlionking is offline   Reply With Quote
Old 09-05-2007, 12:24 PM   #22
Maximum Bitrate
midiwall's CarPC Specs
 
Join Date: May 2006
Location: Seattleish, WA
Vehicle: 1970 VW Bug
Posts: 818
My Photos: (0)
Quote: Originally Posted by smeesseman View Post
Just to make sure, the log file is being created?

Actually, no...

I don't even have a "Local Settings" directory under "Docs and Settings". I searched for all *.log and there was nothing relating to CF 'cept the old one in my 1.14 backup directory.


{rant}
Add a vote that I think it's VERY wrong to have the logs away from the app. It's one of my common gripes about Windows in that AppCrap (technical term!) is laid all over the place. Logs should be in something like:

{application directory}\logs

Makes them very easy to find and helps in not having to chase all over the place looking to clean up an app.

Oh well.
{/rant}


Quote:
EDIT:
Also, do you keep power to the XMDirect? It is possible that being set to XMPCR will work if the XMDirect had been set in PCR mode beforehand, only a poweroff to the XMDirect would reset that... Play with that a bit more if you can, see if setting it back to XMDirect in the Settings causes it to not work again...

Interesting point about power... No, it's toggled from a relay with the ACC line as a trigger.

I do have new info for you about this and other things...
  • XM didn't survive an overnight hibernate. When CF came back up, XM was there and would react to clicks, but there was no content information (station names were displayed). I bounced settings a couple of times from XMPCR to XMDirect and back again, but nada. Exiting CF and reloading brought XM up.

    I just checked after a short hibernate (about 10 minutes) and it _did_ come back up just fine.

    NOTE: This means that XM is now running with the device option set to "XMDirect". If I set it BACK to XMPCR, it doesn't work. Now, given that when hibernate kicked in last night CF "thought" it was talking XMPCR, then I would suspect that when the module reloaded, it really DID set XMPCR and thus it didn't work. But then, I would have thought that flipping back and forth from XMDirect to XMPCR would have joggled it back to life. Hmmm...

  • XM keeps playing after exiting CF

  • Setting "Buffer enable" doesn't do anything, but I'll bet you know that and it's 'cause that as a plugin you no longer have access to CF's buffering?

  • Single click is _DEFINITELY_ fixed. WELL DONE!
__________________
:: Mark
midiwall is offline   Reply With Quote
Old 09-05-2007, 01:57 PM   #23
Variable Bitrate
smeesseman's CarPC Specs
 
smeesseman's Avatar
 
Join Date: Mar 2007
Location: Detroit, MI
Vehicle: http://www.fluxmedia.net/
Posts: 386
My Photos: (0)
Quote: Originally Posted by jwlionking View Post
Same issue as midiwall - no signal - verified xml had correct configs - also tried the xmpcr but did not work like it did for midiwall
I have xmdirect also

Quote: Originally Posted by midiwall View Post
Actually, no...
I don't even have a "Local Settings" directory under "Docs and Settings". I searched for all *.log and there was nothing relating to CF 'cept the old one in my 1.14 backup directory.

OK yeah that is a problem if you are going to run 1.20. To be compatible with Windows Vista, David had to move all of the writeable files to that directory.

So, do you have "Show Hidden Files and Folders" set in Windows Explorer? Make sure, 'cause the Locall Settings folder is a "hidden" folder. If you do, and it's still not there, then we have to go from there.
__________________
http://www.fluxmedia.net/
smeesseman is offline   Reply With Quote
Old 09-05-2007, 02:01 PM   #24
Variable Bitrate
smeesseman's CarPC Specs
 
smeesseman's Avatar
 
Join Date: Mar 2007
Location: Detroit, MI
Vehicle: http://www.fluxmedia.net/
Posts: 386
My Photos: (0)
Quote: Originally Posted by midiwall View Post
Actually, no...

I don't even have a "Local Settings" directory under "Docs and Settings". I searched for all *.log and there was nothing relating to CF 'cept the old one in my 1.14 backup directory.

See my previous post...

Quote: Originally Posted by midiwall View Post
{rant}
Add a vote that I think it's VERY wrong to have the logs away from the app. It's one of my common gripes about Windows in that AppCrap (technical term!) is laid all over the place. Logs should be in something like:

{application directory}\logs

Makes them very easy to find and helps in not having to chase all over the place looking to clean up an app.

Oh well.
{/rant}

I completely agree, but Vista requires it now...

Quote: Originally Posted by midiwall View Post
XM didn't survive an overnight hibernate. When CF came back up, XM was there and would react to clicks, but there was no content information (station names were displayed). I bounced settings a couple of times from XMPCR to XMDirect and back again, but nada. Exiting CF and reloading brought XM up.

I just checked after a short hibernate (about 10 minutes) and it _did_ come back up just fine.

NOTE: This means that XM is now running with the device option set to "XMDirect". If I set it BACK to XMPCR, it doesn't work. Now, given that when hibernate kicked in last night CF "thought" it was talking XMPCR, then I would suspect that when the module reloaded, it really DID set XMPCR and thus it didn't work. But then, I would have thought that flipping back and forth from XMDirect to XMPCR would have joggled it back to life. Hmmm...

I'll look into this...
Quote: Originally Posted by midiwall View Post
XM keeps playing after exiting CF

I'll look into this...
Quote: Originally Posted by midiwall View Post
Setting "Buffer enable" doesn't do anything, but I'll bet you know that and it's 'cause that as a plugin you no longer have access to CF's buffering?

Yep, but David will put access to it in the next SDK, so it (buffering) will be there eventually...
Quote: Originally Posted by midiwall View Post
Single click is _DEFINITELY_ fixed. WELL DONE!

Good to hear, one down still many to go :-)
__________________
http://www.fluxmedia.net/
smeesseman is offline   Reply With Quote
Old 09-05-2007, 02:05 PM   #25
MySQL Error
 
veetid's Avatar
 
Join Date: Apr 2004
Posts: 4,953
My Photos: (0)
As soon as the base code for XM and Sirius is working the buffer code will be added back into the plugin before it is finished...

it is just easier to have it not mess with the buffer until we are sure the code is all working, then the buffer will be added...

As for LocalAppData, I also agree but you HAVE to move it to this location for Vista compatibility... Only admin with lots of rigs can properly write inside Program Files folder in Vista, and it makes your app not be able to be certified or signed properly...

david
__________________
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
veetid is offline   Reply With Quote
Old 09-05-2007, 02:24 PM   #26
Maximum Bitrate
midiwall's CarPC Specs
 
Join Date: May 2006
Location: Seattleish, WA
Vehicle: 1970 VW Bug
Posts: 818
My Photos: (0)
Quote: Originally Posted by smeesseman View Post
OK yeah that is a problem if you are going to run 1.20. To be compatible with Windows Vista, David had to move all of the writeable files to that directory.

I HATE microsloth. Always have, even when I spent 3 years under their umbrella. argh.


Quote:
So, do you have "Show Hidden Files and Folders" set in Windows Explorer? Make sure, 'cause the Locall Settings folder is a "hidden" folder. If you do, and it's still not there, then we have to go from there.

Oh yeah, I ALWAYS turn that on ("Dear Windows; Please don't hide stuff from me, let me shoot myself in the foot if I want to, this is MY machine, not yours."). Local Settings shows up in other folders, like the user folders.

I'll create it and see if CF gets happier about writing logs.
__________________
:: Mark
midiwall is offline   Reply With Quote