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 > Linux

Reply
 
Thread Tools Display Modes
Old 01-14-2008, 01:31 AM   #1
Newbie
miatacarpc's CarPC Specs
 
Join Date: Nov 2007
Vehicle: 2000 Mazda Miata SE
Posts: 22
My Photos: (0)
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.

Last edited by miatacarpc : 03-22-2008 at 02:02 PM. Reason: Adding update
miatacarpc is offline   Reply With Quote
Sponsored Links
Old 01-14-2008, 08:53 PM   #2
Newbie
2L_SS's CarPC Specs
 
Join Date: Nov 2006
Location: Youngstown
Vehicle: 2006 Chevy Cobalt SS
Posts: 44
My Photos: (0)
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?"
2L_SS is offline   Reply With Quote
Old 01-14-2008, 11:35 PM   #3
Variable Bitrate
kev000's CarPC Specs
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Clearfield Utah USA
Vehicle: 2008 Chevy Impala SS 5.3 V8
Posts: 330
My Photos: (0)
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.
__________________
nGhost - "The Evolution of Car Entertainment"
Not just software: LinuxICE -- The Car Entertainment Platform"
LinuxICE IRC chatroom: #linuxice irc.freenode.com
kev000 is offline   Reply With Quote
Old 01-15-2008, 12:49 AM   #4
Newbie
miatacarpc's CarPC Specs
 
Join Date: Nov 2007
Vehicle: 2000 Mazda Miata SE
Posts: 22
My Photos: (0)
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?
miatacarpc is offline   Reply With Quote
Old 01-26-2008, 10:08 PM   #5
Newbie
 
HalNineThousand's Avatar
 
Join Date: Jan 2008
Location: Richmond, VA
Vehicle: 1985 Mercedes 380SL
Posts: 16
My Photos: (0)
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?
HalNineThousand is offline   Reply With Quote
Old 01-27-2008, 10:40 AM   #6
Newbie
miatacarpc's CarPC Specs
 
Join Date: Nov 2007
Vehicle: 2000 Mazda Miata SE
Posts: 22
My Photos: (0)
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, Toshiba 160GB 2.5" HDD, 1Gb RAM, 7" touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

All kept cool with LinuxICE.
miatacarpc is offline   Reply With Quote
Old 01-27-2008, 11:08 AM   #7
Newbie
miatacarpc's CarPC Specs
 
Join Date: Nov 2007
Vehicle: 2000 Mazda Miata SE
Posts: 22
My Photos: (0)
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, Toshiba 160GB 2.5" HDD, 1Gb RAM, 7" touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

All kept cool with LinuxICE.
miatacarpc is offline   Reply With Quote
Old 01-27-2008, 11:34 AM   #8
Newbie
 
HalNineThousand's Avatar
 
Join Date: Jan 2008
Location: Richmond, VA
Vehicle: 1985 Mercedes 380SL
Posts: 16
My Photos: (0)
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?
HalNineThousand is offline   Reply With Quote
Old 01-27-2008, 11:55 AM   #9
Newbie
 
HalNineThousand's Avatar
 
Join Date: Jan 2008
Location: Richmond, VA
Vehicle: 1985 Mercedes 380SL
Posts: 16
My Photos: (0)
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.
HalNineThousand is offline   Reply With Quote
Old 01-27-2008, 01:32 PM   #10
Neither darque nor pervert
DarquePervert's CarPC Specs
 
DarquePervert's Avatar
 
Join Date: Apr 2004
Location: In The Sticks near The 'Ham
Vehicle: 2003 Toyota Tacoma X-Cab
Posts: 11,588
My Photos: (26)
Quote: 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.
__________________
SEARCH: It's how information gets found!
How To Ask Questions The Smart Way

[|||||||--] - 80% (I estimate completion in Spring '07)
My Worklog
DarquePervert is offline   Reply With Quote
Sponsored Links
Old 01-27-2008, 06:34 PM   #11
Newbie
miatacarpc's CarPC Specs
 
Join Date: Nov 2007
Vehicle: 2000 Mazda Miata SE
Posts: 22
My Photos: (0)
Quote: 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.

Quote: 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.


Quote: 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, Toshiba 160GB 2.5" HDD, 1Gb RAM, 7" touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

All kept cool with LinuxICE.
miatacarpc is offline   Reply With Quote
Old 01-27-2008, 06:54 PM   #12
Newbie
 
HalNineThousand's Avatar
 
Join Date: Jan 2008
Location: Richmond, VA
Vehicle: 1985 Mercedes 380SL
Posts: 16
My Photos: (0)
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?
HalNineThousand is offline   Reply With Quote
Old 01-27-2008, 07:00 PM   #13
Newbie
miatacarpc's CarPC Specs
 
Join Date: Nov 2007
Vehicle: 2000 Mazda Miata SE
Posts: 22
My Photos: (0)
Quote: 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, Toshiba 160GB 2.5" HDD, 1Gb RAM, 7" touchscreen, M1-ATX, HD-Radio, Bluetooth, GPS, WiFi, USB DVD+-RW.

All kept cool with LinuxICE.
miatacarpc is offline   Reply With Quote
Old 02-23-2008, 05:33 PM   #14
Newbie
 
Join Date: Feb 2008
Posts: 3
My Photos: (0)
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.
josborne79 is offline   Reply With Quote
Old 02-23-2008, 08:56 PM   #15
Newbie
 
HalNineThousand's Avatar
 
Join Date: Jan 2008
Location: Richmond, VA
Vehicle: 1985 Mercedes 380SL
Posts: 16
My Photos: (0)
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.
HalNineThousand is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FM interference may be HD RADIO caused edmellnik Car Audio 0 07-24-2007 04:19 PM
HD Radio FAQ RedGTiVR6 BoomzBox HD 0 07-19-2007 12:02 PM
Indexing music in 1.0.9.8 Failed hovalistic StreetDeck 0 07-07-2007 11:19 AM
Plans for HD Radio Support? Booger Centrafuse 2 06-05-2007 11:42 AM
it's possible to plug a pc HD to a radio only? alapimba Newbie 3 09-23-2005 07:08 PM


All times are GMT -5. The time now is 05:27 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics