HDRadio on Linux?
I downloaded the latest code from svn trunk, opened the OpenMobile-Linux solution file in MonoDevelop, and built it. The solution didn't include the OMVisteonRadio project, so I added it, and tried to build it (after adding the VB.NET compiler, yuck!). It complains that it's missing AudioRouter, which after a while I found in svn under a branch called Libraries (why is there a branch called Libraries? That's not what branches are for, but that's irrelevant for this question). AudioRouter references WindowsAudio, and DirectShowLib, and this I cannot find a way to get around.
So is HDRadio Windows only? I sure hope not. I'd be happy to fix it so it builds under Linux, but unfortunately I'm not familiar enough with your framework, and it would take me a while to get up to speed.
At this moment it does not. I talked with mitch and had him make some changes to his hd radio dll that should let it work under linux. I have not had a chance to try it yet as my car has been torn apart and I don't have an easy way to test linux in the car itself. As far as the audio router part I am not the one that created of those pieces. I thought linux versions had been added but maybe I am wrong. While I am a heavy linux user I am not up on programming under it. I'll try to check it out in the next week or so though.
If I remember correctly AudioRouter will work under linux but I have to verify this as I've never tested it. I think Justchat did some testing on this.
But my linux skills is close to zero so it's hard for me to do any reliable testing...
DAB and DAB+ (Venice5 and Venice7) should also work under linux but again this also needs testing.
I got the AudioRouter to build, after updating the references, and changing the build type to .net 3.5 (it was set to 3.0, while everything else was 3.5). But now I'm getting weird build errors in the OMVisteonRadio project, leading me to believe the Mono VB.NET compiler isn't entirely stable.
Example: Line 305: Unexpected error: There has been an internal error in the compiler. (VBNC99999)
Commenting out those lines gives me other errors:
/home/kevin/openmobile/Plugins/OMVisteonRadio/RadioComm.vb(154,154): Error VBNC99999: Delegate problems 3, /home/kevin/openmobile/Plugins/OMVisteonRadio/RadioComm.vb (103,154)>/home/kevin/openmobile/Plugins/OMVisteonRadio/RadioComm.vb (103,39) (VBNC99999) (OMVisteonRadio)
I don't see anything wrong on those lines, and I assume it builds okay under Windows, so I have to assume its another compiler problem.
The module isn't too big, it might just be easier for me to rewrite it in C#, if the vb.net compiler is indeed the problem.
I can tell you there will be problems in mitch's dll for sure. I'll have to dig up the one I got from him before. I can make the changes and compile it up for you then. Make it easier for you.
Yeah if the DLL that's included won't work, I guess I'll need a new one. :)
I did a bunch of audio work on the car and need to get the radio working again and was hoping to do it tonight. Let me make the few code changes and make sure it works under windows still and will send it your way after that. I keep meaning to get linux on my portable HD but haven't and can't easily bring the radio in the house.
Give this a go. You should hopefully see the full port names in the settings and it use the right one. Before Mitch's dll just used and integer value. If you can at least see radio data even if just the station freq that means the radio control itself is working. From there we can figure out the audio router stuff.
Let me know how it goes. Sorry it was not working already. I had been meaning to test it all out for ages as I use linux daily. Just took some one asking for me to get going on it I guess.
yes.. String ComPortString is the property to be set, depreciated is the OLDER Int Comport
myHDRadio.ComPortString = "/dev/ttyS0";
or what ever you linux guys do.. for comports...
i do have a newer .dll, V220.127.116.11, a minor fix... but still wort nabbing...
heerzer7 you have my email right?
Oh, I didn't know you added a new property.
Mitch, email on the way for the update.
Kross, as soon as he sends me the update email I will post a new version with the fixed property. I just tore out some wires to rearrange things and have to hook them back up first but should only be a minute there.