Page 1 of 5 12345 LastLast
Results 1 to 10 of 41

Thread: HDRadio on Linux?

  1. #1
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365

    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.

    Thanks!
    -- Kevin

  2. #2
    Variable Bitrate heezer7's Avatar
    Join Date
    May 2004
    Location
    IL, USA
    Posts
    255
    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.

  3. #3
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    451
    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.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  4. #4
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    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.

  5. #5
    Variable Bitrate heezer7's Avatar
    Join Date
    May 2004
    Location
    IL, USA
    Posts
    255
    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.

  6. #6
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    Yeah if the DLL that's included won't work, I guess I'll need a new one.

    Thanks!
    -- Kevin

  7. #7
    Variable Bitrate heezer7's Avatar
    Join Date
    May 2004
    Location
    IL, USA
    Posts
    255
    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.

  8. #8
    Variable Bitrate heezer7's Avatar
    Join Date
    May 2004
    Location
    IL, USA
    Posts
    255
    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.

    Attachment removed
    Last edited by heezer7; 03-14-2011 at 09:16 PM.

  9. #9
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,261
    yes.. String ComPortString is the property to be set, depreciated is the OLDER Int Comport

    myHDRadio.ComPortString = "/dev/ttyS0";
    myHDRadio.Open();

    or what ever you linux guys do.. for comports...

    i do have a newer .dll, V1.6.0.5, a minor fix... but still wort nabbing...
    heerzer7 you have my email right?
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  10. #10
    Variable Bitrate heezer7's Avatar
    Join Date
    May 2004
    Location
    IL, USA
    Posts
    255
    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.

Page 1 of 5 12345 LastLast

Similar Threads

  1. About to Give Up with HDRadio
    By jarepa in forum Road Runner
    Replies: 15
    Last Post: 07-05-2010, 04:22 AM
  2. hdradio bug
    By nadforever in forum CF Bug Reports
    Replies: 16
    Last Post: 08-07-2008, 10:55 AM
  3. *** NEW HDRadio DLL V1.3.0.0 ***
    By mitchjs in forum Road Runner
    Replies: 57
    Last Post: 07-06-2008, 04:00 PM
  4. HDRadio problems
    By mnickolson in forum CF Bug Reports
    Replies: 1
    Last Post: 06-22-2008, 11:25 PM
  5. HDRadio for Roadrunner..
    By Kamakazie2 in forum Road Runner
    Replies: 0
    Last Post: 02-14-2007, 09:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •