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 > Hardware Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-03-2006, 02:50 AM   #286
Newbie
 
Join Date: Feb 2006
Posts: 28
My Photos: (0)
Error not 2902

Sorry I have wrong the name of the DAC is not the 2902 but the PCM1702 and now the think is more complicated..

pep
peppuz79 is offline   Reply With Quote
Sponsored Links
Old 03-04-2006, 11:07 AM   #287
Variable Bitrate
 
slimmegane's Avatar
 
Join Date: Feb 2005
Location: Italy/Lecce
Vehicle: 2003/Renault/Megane 2
Posts: 230
My Photos: (0)
java -cp /classes;./lib/comm.jar org.tlcdcemu.main.TLCDCEmu
Error loading win32com: java.lang.UnsatisfiedLinkError: no win32com in java.library.path
Port 'COM1' doesn't exist on your machine

What I must Install or set? Thanks
I've make all, 4 hour of work and when all is ok... DAMN!
__________________
--------------------------------
ITALIANI: DISPONIBILI MODULI OEM GPS:

http://www.mp3car.com/vbulletin/show...214#post639214
--------------------------------
slimmegane is offline   Reply With Quote
Old 03-04-2006, 12:16 PM   #288
Variable Bitrate
Vicne's CarPC Specs
 
Join Date: Apr 2005
Location: Belgium
Vehicle: 2005 Renault Scenic
Posts: 325
My Photos: (0)
Quote: Originally Posted by slimmegane
java -cp /classes;./lib/comm.jar org.tlcdcemu.main.TLCDCEmu
Error loading win32com: java.lang.UnsatisfiedLinkError: no win32com in java.library.path
Port 'COM1' doesn't exist on your machine

What I must Install or set? Thanks
I've make all, 4 hour of work and when all is ok... DAMN!

Did you do the following step ?
Quote:
copy the file lib\win32com.dll to c:\Program Files\Java\JRE<version>\bin

In the case you have multiple JDK's installed, all you have to do is make sure win32com.dll can be found in the PATH. You can also copy it to any directory which is in the PATH, c:\windows for example if you like.

Last edited by Vicne; 03-04-2006 at 12:45 PM.
Vicne is offline   Reply With Quote
Old 03-04-2006, 12:45 PM   #289
Variable Bitrate
 
slimmegane's Avatar
 
Join Date: Feb 2005
Location: Italy/Lecce
Vehicle: 2003/Renault/Megane 2
Posts: 230
My Photos: (0)
OPs... Now work
__________________
--------------------------------
ITALIANI: DISPONIBILI MODULI OEM GPS:

http://www.mp3car.com/vbulletin/show...214#post639214
--------------------------------
slimmegane is offline   Reply With Quote
Old 03-04-2006, 01:23 PM   #290
Variable Bitrate
Vicne's CarPC Specs
 
Join Date: Apr 2005
Location: Belgium
Vehicle: 2005 Renault Scenic
Posts: 325
My Photos: (0)
Quote: Originally Posted by slimmegane
OPs... Now work

Work, you mean, like, it *works* ?
Can you change source to CD Changer ?
Do you read TR1 CD1 ?
Did you test the SPDIF ?
Vicne is offline   Reply With Quote
Sponsored Links
Old 03-04-2006, 01:55 PM   #291
Variable Bitrate
 
slimmegane's Avatar
 
Join Date: Feb 2005
Location: Italy/Lecce
Vehicle: 2003/Renault/Megane 2
Posts: 230
My Photos: (0)
Now works the software... I will try tomorrow in car.
__________________
--------------------------------
ITALIANI: DISPONIBILI MODULI OEM GPS:

http://www.mp3car.com/vbulletin/show...214#post639214
--------------------------------
slimmegane is offline   Reply With Quote
Old 03-04-2006, 09:35 PM   #292
Variable Bitrate
Vicne's CarPC Specs
 
Join Date: Apr 2005
Location: Belgium
Vehicle: 2005 Renault Scenic
Posts: 325
My Photos: (0)
TLCDCEmu v0.2 on sourceforge

Hi all,

I finally opened the TLCDCEmu project (Tuner List CD Changer Emulator) on sourceforge.net : http://tlcdcemu.sourceforge.net

There, you'll find version 0.2 of the Java version I'm using. More information on the website (see particularly the HowTo page)

So this is the last time I upload here a version containing the windows libs here (it's 199K and the limit is 200K anyway :-) ). Future versions will include only the classes and be available on sourceforge.

Please note that I finally switched to RxTx for all platforms, so if you installed the communications libs from Sun, well, you can throw them away and use RxTx ones instead (sorry slimmegane :-)), but the principle is the same if you're on Windows : a jar in the "classpath" (for example in the lib subdir), and a dll in the "path" (for example in the JRE's bin directory or windows\system32).

Also take a look at the screenshots on SourceForge :-)

Enjoy :-)
Attached Files
File Type: zip TLCDCEmu.zip (198.4 KB, 81 views)
Vicne is offline   Reply With Quote
Old 03-05-2006, 04:34 AM   #293
Variable Bitrate
 
slimmegane's Avatar
 
Join Date: Feb 2005
Location: Italy/Lecce
Vehicle: 2003/Renault/Megane 2
Posts: 230
My Photos: (0)
Hi Vicne,
I've see the screenshot on sourceforce, I've downloaded the .zip attachaed in this thread but when I run the .bat I've this:


C:\Documents and Settings\Slim\Desktop\TLCDCEmu>java -cp ./classes;./lib/RXTXcom
m.jar org.tlcdcemu.main.TLCDCEmu
Tuner List CD Changer Emulator (TLCDCEmu) version 0.2
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7

What? Whit the previous version I've B for boot ecc ecc and now? How it works?

Thanks a lot,
SLM.
__________________
--------------------------------
ITALIANI: DISPONIBILI MODULI OEM GPS:

http://www.mp3car.com/vbulletin/show...214#post639214
--------------------------------
slimmegane is offline   Reply With Quote
Old 03-05-2006, 04:35 AM   #294
Variable Bitrate
 
slimmegane's Avatar
 
Join Date: Feb 2005
Location: Italy/Lecce
Vehicle: 2003/Renault/Megane 2
Posts: 230
My Photos: (0)
OPs, I've found the window... Excuse me...
__________________
--------------------------------
ITALIANI: DISPONIBILI MODULI OEM GPS:

http://www.mp3car.com/vbulletin/show...214#post639214
--------------------------------
slimmegane is offline   Reply With Quote
Old 03-05-2006, 05:20 AM   #295
Variable Bitrate
 
slimmegane's Avatar
 
Join Date: Feb 2005
Location: Italy/Lecce
Vehicle: 2003/Renault/Megane 2
Posts: 230
My Photos: (0)
IT WORKS IT WORKS!!!!!

GREAT VICNE!!!!!!

All ok, I've connect all, connect the soundblaster, set his software, run TLCDCEmu and power on HU, select source and I read CD1 TRK1 ! Play WinAMP and sound after setup volume it work! it work!

A question now When I change track from HU the sound off and If I not change source to FM and return to CDC the sound stay off, other question is: Is possible to close appl from GUI?

Thanks a lot Vicne! Do you have think to a Donate Paypal? If yes send me your address i want to donate whit hope that you can continue to envelope this project and command PC whit Steering Whell of renault!

Thanks!
__________________
--------------------------------
ITALIANI: DISPONIBILI MODULI OEM GPS:

http://www.mp3car.com/vbulletin/show...214#post639214
--------------------------------
slimmegane is offline   Reply With Quote
Old 03-05-2006, 06:50 AM   #296
Variable Bitrate
Vicne's CarPC Specs
 
Join Date: Apr 2005
Location: Belgium
Vehicle: 2005 Renault Scenic
Posts: 325
My Photos: (0)
Quote: Originally Posted by slimmegane
IT WORKS IT WORKS!!!!!
All ok, I've connect all, connect the soundblaster, set his software, run TLCDCEmu and power on HU, select source and I read CD1 TRK1 ! Play WinAMP and sound after setup volume it work! it work!

Great !

Not that I had any doubt but I'm really happy you were able to reproduce the complete setup. It means instructions are not that bad :-)
Quote:
A question now When I change track from HU the sound off and If I not change source to FM and return to CDC the sound stay off

Oh that's strange. I admit I made most of my tests without SPDIF being connected.
I probably have to actually respond to track changes in a coherent manner. For now, I just acknowledge the message and change subsequent PLAYING frames with updated values, while the original CD changer sends 4 frames in response to track change request : TRACK_CHANGE 1, BUSY 1, BUSY 2, TRACK_CHANGE 2.
The problem is that these frames carry "data" bytes, and I am still not sure what to send for data. I can do a trial and error, but I'd prefer to understand what these data mean.
It probably needs a fresh look to the "rosetta stone" dumps to understand these "21h" and "27h" frames from the CD changer.
HINT >>> HELP NEEDED ON THIS <<< HINT :-)

Quote:
Other question is: Is possible to close appl from GUI?

Technically, I could allow it, but I disabled it for now because conceptually I don't think it's wise for a plugin to request closure of the full emulator. Like if a printer driver could close Word...
But as the GUI Plugin is designed as a demo, I might change my mind however because it feels so much natural... I always try to close the app that way myself :-)
Quote:
Thanks a lot Vicne! Do you have think to a Donate Paypal? If yes send me your address i want to donate whit hope that you can continue to envelope this project and command PC whit Steering Whell of renault!

Well, I didn't think the first tester would want to donate ? But why not. I have setup the SourceForge donation system at the bottom of the HomePage
As for continuation, I cannot promise anything, but I intend to go as far as there's a common interest, the current goals being :
- to bulletproof the behaviour (if the HU is turned off then on, for example)
- to test a JNI plugin to Winamp, either directly or via ATI remote wonder plugins
- to communicate with a front end (I know we're at least 2 using RoadRunner, so I'll contact Guino to get his advice)
- to enhance the plugin architecture, for example with a "plugin router plugin", which would allow for example to have PREV/NEXT controlling Winamp, then press "1" and have PREV/NEXT controlling the Navigation Zoom in/Zoom out ;-)

Everybody is invited to participate, of course, and a lighter (native or PIC-based) implementation would be welcome, for example.
Vicne is offline   Reply With Quote
Old 03-05-2006, 07:07 AM   #297
Variable Bitrate
 
slimmegane's Avatar
 
Join Date: Feb 2005
Location: Italy/Lecce
Vehicle: 2003/Renault/Megane 2
Posts: 230
My Photos: (0)
Quote: Originally Posted by Vicne
- to communicate with a front end (I know we're at least 2 using RoadRunner, so I'll contact Guino to get his advice)
- to enhance the plugin architecture, for example with a "plugin router plugin", which would allow for example to have PREV/NEXT controlling Winamp, then press "1" and have PREV/NEXT controlling the Navigation Zoom in/Zoom out ;-)

Great Idea! To communicate whit RR I think there is more easy using Girder! it works fine whit RR, I've used whit WinLIRC and a simply IR Receiver.

If I've undestand fine Girder have an open port in local system (127.0.0.1) where you can send command, for example when I click next track from HU your Java plugin send "next" to Girder that send "Next Track" to RR (look RR.GML in RR folder) there is a complete list of command that accept RR.
What think? You can try this?
__________________
--------------------------------
ITALIANI: DISPONIBILI MODULI OEM GPS:

http://www.mp3car.com/vbulletin/show...214#post639214
--------------------------------
slimmegane is offline   Reply With Quote
Old 03-05-2006, 07:10 AM   #298
Variable Bitrate
 
slimmegane's Avatar
 
Join Date: Feb 2005
Location: Italy/Lecce
Vehicle: 2003/Renault/Megane 2
Posts: 230
My Photos: (0)
There is my homemade interface



And this is the Display:
__________________
--------------------------------
ITALIANI: DISPONIBILI MODULI OEM GPS:

http://www.mp3car.com/vbulletin/show...214#post639214
--------------------------------

Last edited by slimmegane; 03-05-2006 at 07:15 AM.
slimmegane is offline   Reply With Quote
Old 03-05-2006, 07:16 AM   #299
Variable Bitrate
Vicne's CarPC Specs
 
Join Date: Apr 2005
Location: Belgium
Vehicle: 2005 Renault Scenic
Posts: 325
My Photos: (0)
Quote: Originally Posted by slimmegane
Great Idea! To communicate whit RR I think there is more easy using Girder! it works fine whit RR, I've used whit WinLIRC and a simply IR Receiver.

If I've undestand fine Girder have an open port in local system (127.0.0.1) where you can send command, for example when I click next track from HU your Java plugin send "next" to Girder that send "Next Track" to RR (look RR.GML in RR folder) there is a complete list of command that accept RR.
What think? You can try this?

Well, you bet I can try this !
I didn't know it was that simple. Well, of course, we'll encounter caveats, but sending commands to a local port in Java is straightforward thanks to Jakarta Commons' HttpClient. I think I'll go that way and won't bother doing JNI for now.
Thanks a lot for your help. I may come back to you if I have questions because you seem to have experience in that field.
Vicne is offline   Reply With Quote
Old 03-05-2006, 07:20 AM   #300
Variable Bitrate
Vicne's CarPC Specs
 
Join Date: Apr 2005
Location: Belgium
Vehicle: 2005 Renault Scenic
Posts: 325
My Photos: (0)
Quote: Originally Posted by slimmegane
There is my homemade interface

It looks much more professional than mine. May I post it as a "screenshot" on sourceforge ?

Quote:
And this is the Display

Did you try changing the track number in the GUI plugin and click "Set" ? :-)
BTW, I noticed that the display has *two* blanks between the word "CD" and the number "1", so maybe we're not limited to 99 after all (currently, all limitations on Track/CD number and Track/CD times are set in software by the GUI plugin, and I didn't try sending "unreasonable" values, but it might be funny :-)
Vicne is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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


All times are GMT -5. The time now is 12:51 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics