Announcement

Collapse
No announcement yet.

HD Radio support in linux/nGhost?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • HD Radio support in linux/nGhost?

    Anyone interested in getting HD radio working under linux?

    I'm currently working on a perl script (not finished) that can be used to contol a Viseon HDZ300 or the Direction equivalent box. Both of these can be picked up cheap on ebay at the moment. Mitchjs has created RS232 cables (see: http://www.mp3car.com/vbulletin/road...light=HD+radio) that can be used to control the boxes and has a front-end component that runs on .Net, but I'm running LinuxICE on my early not-yet-ready system, so I want to see if I can do it with something a little less heavy-weight (i.e. not Mono).

    I'm looking for someone to create a UI piece that can either call the perl script or use the perl as a starting point. It would be ideal if we could integrate it into nGhost, since that's what I'm planning to run on the carpc.

    Anyone have the expertise and/or motivation to make it work?

    UPDATE: Nearly there - HalNineThousand has been hard at work to code up a C++ control library - I've been testing it and it's working well. There's a few glitches to iron out, and some decisions to make about APIs and format, but it will be ready soon! I'll be adding an announcement when we've got something people can try out on their own.
    EPIA NX15000G, OCZ 128GB 2.5" SSD, 1Gb RAM, 7" anti-reflective, transflective touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

  • #2
    If you could do that it would be pretty awesome, I wanted to use the Visteon with Linux ICE as my OS. I would love to help but I have absolutely no knowledge of programing at all.
    "Who run Barter Town?"

    Comment


    • #3
      With the proper serial codes I can help whoever make a plugin for nghost. I've already created a serial port plugin that we can mod if necessary. The nghost interface part would be really easy. We would just need to have the button's action match the code we are trying to send.

      If anyone is willing to do the initial ground research, I'll help with the rest.

      P.S. I'm referring to an nGhost2 (which is still in development) plugin.
      Former author of LinuxICE, nghost, nobdy.
      Current author of Automotive Message Broker (AMB).
      Works on Tizen IVI. Does not represent anyone or anything but himself.

      Comment


      • #4
        I've got the hex codes for most of the actions. I'm now just trying to figure out the starting and termination codes, then I'll be done.

        Kev000 - can you PM me with the specifics about codes that you're looking for?
        EPIA NX15000G, OCZ 128GB 2.5" SSD, 1Gb RAM, 7" anti-reflective, transflective touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

        Comment


        • #5
          I'm very interested in a project like this. I have a few ideas I've been looking into for a Linux based system and the major block I have is a way to control any receiver from Linux. Maybe others have gotten it to work, but I'm still looking into it. This is one of the few links I've seen with a reference to actually controlling a receiver through Linux (other than a few small FM only receivers).

          Would it be possible to control it by connecting it to a USB port?

          Comment


          • #6
            Yes, it should be controlllable over USB using a USB<->Serial cable. I'm doing exactly that from Windows right now.

            Kev000 and I have been discussing the feasibility offline and have come to the conclusion that this is not likely to be properly supported until linuxice2/nghost2, but I'm working on a way to at least support tune+/-, seek+/- from the icepanel, as well as display the current frequency.

            If anyone has any experience writing serial control scripts or programs, let me know. I can send you the protocol description I've put together. It's probably 80% complete at this point.
            EPIA NX15000G, OCZ 128GB 2.5" SSD, 1Gb RAM, 7" anti-reflective, transflective touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

            Comment


            • #7
              given that native linux support is still a way off, I'm going to see if it's possible to run the windows app I've got under Mono, since it's a .NET app.

              A bit heavy-weight, but if it works, I'll take it for now.
              EPIA NX15000G, OCZ 128GB 2.5" SSD, 1Gb RAM, 7" anti-reflective, transflective touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

              Comment


              • #8
                When you say Linux native support, just how much support are you talking about?

                From your earlier comments, it seemed you had a Perl script communicating with it under Linux. Is that right? Do you have all the control codes and response codes now?

                I don't have one yet. I've been waiting to see info on what could be made to work with Linux before buying whatever looked promising. If you find it's possible to communicate with it under Linux with Perl, to set the frequency and read it, then I would think it's not going to take much more to read other display info.

                Do you know where the control pinouts are listed?

                Comment


                • #9
                  I posted a reply that seems to have been lost.

                  When you're talking about native Linux support, just how much support do you mean? Are you looking for full support, as in a complete GUI program, or just the ability to communicate with the device?

                  You mentioned a Perl script. Were you able to control it at all from a script and did you get info back? If so, then that tells me it can work well enough that I'd want to buy one and find out what you've got so I can see what I can do. I'm not worried about it being integrated with anything else yet because I can always write my own GUI interface for it. I just want to be sure that I can communicate with it on Linux and would eventually, even if it takes work, read the "extra" data long song info.

                  Comment


                  • #10
                    Originally posted by HalNineThousand View Post
                    I posted a reply that seems to have been lost.
                    Not lost. Just in need of approval.
                    Newbie restrictions.
                    Have you looked in the FAQ yet?
                    How about the Wiki?



                    Under normal circumstances, a signature would go here.

                    Comment


                    • #11
                      Originally posted by HalNineThousand View Post
                      When you're talking about native Linux support, just how much support do you mean? Are you looking for full support, as in a complete GUI program, or just the ability to communicate with the device?.
                      initilly just something very simple - even command line would be something.

                      Originally posted by HalNineThousand View Post
                      You mentioned a Perl script. Were you able to control it at all from a script and did you get info back?.
                      In a very limited way. I've been able to use the perl script to turn the unit on/off, but not yet any more than that. Can't make sense of the returned data yet. baby steps at the moment. I've got a description of the protocol underway, and I'm working on being able to parse the returned data better, but it's early days.


                      Originally posted by HalNineThousand View Post
                      If so, then that tells me it can work well enough that I'd want to buy one and find out what you've got so I can see what I can do. I'm not worried about it being integrated with anything else yet because I can always write my own GUI interface for it. I just want to be sure that I can communicate with it on Linux and would eventually, even if it takes work, read the "extra" data long song info.
                      I've had it working under windows using USB<->serial converter, and one of the serial cables mentioned in the posts that I referenced at the beginning of this thread.
                      EPIA NX15000G, OCZ 128GB 2.5" SSD, 1Gb RAM, 7" anti-reflective, transflective touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

                      Comment


                      • #12
                        What are you using in Windows that you don't have on Linux? Are you using any special drivers for it on Linux?

                        Would you mind sharing what info you have on the the protocol or any other info?

                        Comment


                        • #13
                          Originally posted by HalNineThousand View Post
                          What are you using in Windows that you don't have on Linux? Are you using any special drivers for it on Linux?

                          Would you mind sharing what info you have on the the protocol or any other info?
                          I'm using the special cable and .NET software available at http://rush2112.net/.

                          PM me an email address, and I'll send you the protocol description as I have it so far.
                          EPIA NX15000G, OCZ 128GB 2.5" SSD, 1Gb RAM, 7" anti-reflective, transflective touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

                          Comment


                          • #14
                            I'm curious, has then been any updates or progress? I know it won't happen overnight.

                            I run Xubuntu Gusty Gibbon on my Thinkpad T41p and was able to control my Visteon tuner and adapter cable through Windows via VirtualBox and a USB-Serial adapter; worked perfectly.

                            Comment


                            • #15
                              I am still waiting. I ordered my radio with the "Buy It Now" option on eBay and the seller took forever to send it, lying to me all along about having already sent it. I finally filed a claim against him through PayPal and *AFTER* that he sent it to me, but since the claim was pending, the seller was a slimeball, and I had found cheaper ones on eBay, I refused delivery, got my money back (PayPal settled the claim for me), and now someone else on Amazon claims they shipped the radio on 2/11. They're in Maryland, I'm in VA and I've never seen any package take longer than 3 days to get to me from Maryland.

                              When I get it, I'll try something.

                              In the meanwhile, what kind of USB-Serial adapter were you using and what software? Were you using the serial pad and software from the web site linked to in an earlier post on this thread?

                              In the meanwhile, I've been working on the overall concept. I'm retro-fitting this into my 1985 Mercedes 380SL. I just obtained one of the original radios and I'm trying to get info on some LCD display drivers so I can control the original display for this radio from the carputer. I think I'm going to go a different route for my controller and use a PDA with a wifi connection for VNC so I don't need a control panel hooked up through VGA.

                              Comment

                              Working...
                              X