![]() |
Re: Carman for Maemo 5?
Hi guys, i've succesfully installed carman, then i've edited the carmand.conf with the attribute "internal" for the GPS, i rebooted but i can't see the GPS Device in the GPS Setup screen, if i recheck the carmand.conf at the gps_device string i get a MAC address... if i re-edit the string with "internal" and reboot i still get the MAC Address but Carman doesn't show the damn internal GPS in GPS Setup screen... any ideas?
Thanks guys! |
Re: Carman for Maemo 5?
Hi everyone,
First a quick self introduction - I've been involved with the forum.ecuproject.com for Saab (and other) cars, doing my bit writing some software as and when I learn how to do the next thing. Inevitably this involves a lot of googling and so I find out about other projects such as Carman... Before I go on though, a couple of answers to some other's questions: Carman can show long and short term fuel trim as an average percentage, but ideally you would want to see the whole adaption table. My long term fuel trim for my car was just 0.2% but a few locations in the table were as much as 3% however, Carman can't show this. Carman can show boost pressure when metric units are selected - the kPa gauge next to the temperature gauge is boost pressure. 100 kPa is 1 bar although for some reason the gauge shows about 100 kPa when the engine is off so I think the maximum 240 kPa is actually 1.4 bar not 2.4 (which is OK for me because my maximum boost is 1.15 bar and I see around 210 kPa on the gauge but I know people have more boost than me so having a maximum of just 1.4 bar might be a bit low for some) So, I have acquired an N900 and a Bluetooth thing and have it working but I'm keen to see if I can make it work more like the Trionic Suites and CarPC software which can record what the engine is doing and FLASH new BIN files to the ECU, but need a laptop or PC. I already know how to do that now, just not with a mobile phone - if you're interested take a look at my Just4Trionic project using the mbed system (to which I'm thinking about adding Bluetooth...) Now here's my question: Could someone be kind enough to point me in the right direction for instructions on how to 'check out' the Carman source software at the maemo.org garage please? I've got a nasty feeling I need to have Linux software on my laptop, but haven't worked out how to install it on Windows - can I Visual Studio instead or even my N900 on it's own with its Maemo Linux? I apologise if I haven't used the correct terminology, hopefully I have described things clearly enough though. Seasons greetings and thanks in advance, Sophie x |
Re: Carman for Maemo 5?
@Just4pLeisure:
You can download the tarball for thee source files for each of its parts at: 1. http://repository.maemo.org/extras-d...urce/c/carman/ 2. http://repository.maemo.org/extras-d...ation-wrapper/ 3. http://repository.maemo.org/extras-d...-theme-tuning/ 4. http://repository.maemo.org/extras-d...an-themes-dev/ 5. http://repository.maemo.org/extras-d...e/c/carman-ui/ 6. http://repository.maemo.org/extras-d...rce/c/carmand/ You can also get tarballs of the diablo sources from http://repository.maemo.org/extras-d...free/source/c/ |
Re: Carman for Maemo 5?
Thanks Bugzy
Oh!!! :eek: It rather looks like I'll have to put Christmas on hold then :rolleyes: that's quite a lot to get to grips with :confused: This might take me a little while... Sophie x |
Re: Carman for Maemo 5?
Quote:
240 kPa is 2.4 bar (or should be at least), what type of MAF sensor is fitted in the ecu as if you're expecting a reading from a 3.5bar MAF but a 3 bar is fitted it will throw the results way out. |
Re: Carman for Maemo 5?
Quote:
And it's about now that I get stuck, I'm pretty sure that I can't use Visual Studio, but I've no idea what to use other than maybe some kind of Linux software except that Linux looks more like Windows than Visual Studio. So if I install Linux (and which one there seem to be many:confused:) I have (at least) 2 questions: What happens to my Windows :eek: and what is the equivalent to Visual Studio that I need to use for Carman? Alternatively is there an online website like the mbed compiler? (If you hadn't guessed by now I haven't been writing software for very long and almost all that I have learnt is through Google :rolleyes:) Thanks in advance...:) Sophie x Quote:
|
Re: Carman for Maemo 5?
Quote:
Quote:
On idle when a supercharger or turbocharger is producing no boost/venting to atmosphere there will actually be a vacuum within the plenum caused by the engine sucking air in. This is what gives you the - value as the ECU takes a boost feed after the throttle body. |
Re: Carman for Maemo 5?
Thank you James for your explanation, I'm sorry that most of it goes over my head :confused: :rolleyes: Though if I've understood anything then it sounds like a tare button would be a useful addition to Carman which assume you'd have to with the engine off (and again, what's with the numbers 1.013...:confused: (no need to answer btw)
Actually making changes to Carman is a little slower. I know the answer to questions such as 'how do such and such' is more often that not along the lines of you have to read the manual etc, - the problem is sometimes knowing where to find the manual. Anyway I've made some progress (even though it feels like 1 step forward 2 back but...) : I have Kubuntu (I think I should have downloaded Ubuntu but I found Kubuntu first but it seems to be working OK and since it took the best part of a day to download the CD I'm going to stick with it) Then I installed Kubuntu - it wanted to fetch hundreds of files that weren't on the CD - another day (lucky me, I live in a broadband blackspot :mad:) BTW, it's quite cool that Kubuntu starts up with all your programs just as they were from the last shutdown :cool: And next the Maemo 5 SDK - just a small program to download and then run in a kind of CMD window which started a windows installer program which proudly announced it would take around 20 minutes - depending on broadband speed. Needless to say I went to bed before it had finished. Today I tried to get to grips with the maemo 5 SDK which to say the least is a somewhat confusing mixture of windows programs and CMD prompts. I managed to follow the the simple hello world examples and then something a little more complex; making an installable package for MaemoPad :) Great I thought, somewhat prematurely. Surely it's just a matter of using the 'dpkg-buildpackage -rfakeroot' for all of the Carman source code packages. Whilst this worked for some of them others didn't work out as well. I think the problem is that I don't have some libraries or something like that: Code:
dpkg-checkbuilddeps: Unmet build dependencies: libobd-dev (>= 0.7~beta2-5) Code:
dpkg-checkbuilddeps: Unmet build dependencies: python2.5-dev python2.5-efl-core (>= 0.9.9.050+svn38845-maemo1) libevas0-dev (>= 0.9.9.050+svn38845-maemo1) python2.5-evas-dev (>= 0.3.1+svn38845-maemo1) carmand-dev (>= 0.7~pre-alpha1-1) python-gdbm (>= 2.6.3) Thinking ahead a little I realise I'll end up with 6 of these 'deb' packages, but presumably these are ultimately combined to make just 1 Carman.deb package - what do I do to make that happen? Thanks in advance, Sophie x |
Re: Carman for Maemo 5?
Quote:
Code:
fakeroot apt-get install libobd-dev |
Re: Carman for Maemo 5?
Quote:
Code:
fakeroot apt-get build-deb carman-ui |
Re: Carman for Maemo 5?
Thanks jlu
Quote:
Code:
fakeroot apt-get build-dep carman carmand carmanui ... I think Visual Studio would make things a little easier when it comes to navigating around Carman's program structure but Microsoft don't have a version for Kubuntu :( There are lots of things in KPackageKit and whilst I like the numerous word plays I'm on unfamiliar ground and any suggestions on what I could use instead VS gratefully received :) A couple of other things to do are change the default carmand.conf file to specify internal gps for our N900s and turn of gps as part of the exit procedure. Then I'll need to find out who owns Carman so that I can send them what I've done to see if they want to make use of any of it :rolleyes:. Happy New Year everyone, Sophie x |
Re: Carman for Maemo 5?
Hi,
Looking at using this with my 2002 subaru legacy blitzen 2.0l twin turbo. Installed carman fine, opens no problem and connects to my obd2 bluetooth sender(http://www.dealextreme.com/details.dx/sku.42825) without a hitch, but just shows blank values on the gauges etc. I've tested it with my bosses VW Passat W8 and it seems to work fine(although a little slow), also got my friend who is mechanic to check my legacy's obd2 readings with his workshop hand held unit and everything worked fine. Any ideas on whats going wrong? |
Re: Carman for Maemo 5?
Quote:
|
Re: Carman for Maemo 5?
Quote:
http://talk.maemo.org/showpost.php?p...&postcount=192 S/He hasn't posted any more and seems to have given up... However, Carman produces very detailed log files - maybe looking through those might shed some light, they are located in your home directory (you can see a list of them by starting 'xterm' and then typing 'ls') and have names like 'carmand_logYYMMDD_HHMMSS.txt' (YYMMDD and HHMMSS are date and time when the log file was created). Quote:
Sophie x |
Re: Carman for Maemo 5?
Quote:
Read whole thread. Install Carman. Now I wanted to activate GPS. Went into X-Terminal, typed sudo gainroot and typed the command as written above. got following error bin/sh: .carman/carman.conf: Permission denied Can anobdoy please explain, how to activate GPS. What am I doing wrong that I do not get the permission to edit the file. thanks. |
subaru guy
I am not trying to hijack the thread, but for the subaru guy, there are plenty of opensource development like romraider www.romraider.com that allow you to connect to the native subaru protocol SSM instead of pure obdii. this allow you to make faster readings over more engine values in the ecu.The thing is that is java, I have manage to make it run with ejre1.6 but the rxtxcom libraries are broken. anyway the good thing aboyut their developement is that is parametrized in xml files, so probably that could be used in carman.
|
Re: Carman for Maemo 5?
Thanks I solved to connect it to internal GPS. See solution using vi.
Cheers. |
Re: Carman for Maemo 5?
Hi All.
I have installed the application successfully and edited the GPS file and even GPS is working fine. Well I cannot connect to OBDII in Carman. I bought this device. http://cgi.ebay.co.uk/Bluetooth-ELM3...item3a61f77f37 It works fine with my wife's Andriod phone. No problems so ever. With N900 I have added it into my device. It is there with the 'key' symbol on the right side (means trusted devices). Following are displayed in the device detail under BT settings. Device name: OBD II Trusted device: Ticked as yes Device type: Uncategorised Supported profiles: SPP BT address: 00:19:5D:24:B7:63 Now everytime I try to connect this device in CARMAN appliaction, it instally disconnected. Everytime I press connect, it gives message of disconnected. I tried to pair / unpaire many time, changed from trusted to non trusted and rebooted many time. Everytime application launches, everything works fine except OBDII and it gives error Disconnected. Can anybody put me in right direction? Am I doing somthing wrong? Do I need to change anything in N900 BT settings (internally)? Can somebody please help. |
Re: Carman for Maemo 5?
Hi makkan00,
My Bluetooth OBD looks the same as yours although mine said it was version 1.3 and it works for me. However it can be a bit tricky to connect although it's usually OK if I turn my N900 off and back on again. Sorry it's not a very scientific solution, not to mention inconvenient. Hope this helps Sophie x |
Re: Carman for Maemo 5?
Quote:
Thanks for reply. Honestly I have done more than 50 restart in last 10 hours and tried all possible combinations. still no luck :( Anybody else experiencing same problme, anybody...can you please suggest something? Cheers. |
Re: Carman for Maemo 5?
Quote:
My method: 1) On a PC, go to here. 2) Go into the two carman-theme-?? folders and download the .deb files to your PC. 3) Rename both .deb files to .tar.gz files. 4) Use 7-zip to open the files and keep going through the folder tree until you get to the ones in the themes folder - drag these onto your desktop (or wherever). 5) You should now have two folders, one called eclipse and one called offroad. 6) At this point methods vary, but you need to get the folders into \usr\share\carman\themes on your n900. 7) I copied the folders via usb onto MyDocs, then "sudo gainroot"ed, created the requisite folders in the \usr\share\carman\themes folder, and copied the contents of the two folders into there. |
Re: Carman for Maemo 5?
Quote:
But now that you mention you have the same problem, I wonder if there was an update some time ago that broke something. |
Re: Carman for Maemo 5?
Hi makkan00
Maybe Carman's report files can give you a clue. They are ordinary text files in your N900's home directory with names like 'carmand_logYYMMDD_HHMMSS.txt' (YYMMDD and HHMMSS are date and time when the log file was created). Looking through mine I see that carman actually thinks that my Bluetooth OBD is version 1.4, not version 1.3 as it was advertised! Things get even more confusing if you look here: http://www.elmelectronics.com/obdic.html. According to them there are no version 1.4 as i seem to have or 1.5 as yours is described as being - it should be 1.3a or 1.4b! Anything else is a clone. Also the datasheet here: http://www.elmelectronics.com/DSheets/ELM327DS.pdf says 'The descriptions for PP 0E bits 3 and 4 were accidentally reversed in the previous datasheet (document ELM327DSG), and have been corrected' which may mean that depending on the CAN bus settings your car needs something might not work properly. Good luck, Sophie x |
Re: Carman for Maemo 5?
Quote:
Can you please explain how can I explore that file, should it be through computer, x-terminal or file explorer? If I can get access of that file, I can change it to 1.3 or 1.4 and give it a try. Well today I tried to alter the conf file and deleted the mac address of OBDII from there and entered unknown. Now when I tried to connect it, it picked up but again disconnected. Checked the conf file, and OBDII mac address is there. So I guss you are correct, I may get luck if I change the file you mentioned. Waiting for your response. Cheers. |
Re: Carman for Maemo 5?
OkI have installed WinSCP and connected it to my N900.
Gone to home and then to user and opened carmand conf file. This is the message which I got from there libobd[INFO](obdcon_opendev:174): Connected to serial "/dev/rfcomm0" libobd[INFO](obdchan_setup_channel:95): Trying ELM ... libobd[RAW_DATA]: Sending to ELM -> 'AT|' libobd[RAW_DATA]: Recieved from ELM -> 'AT|?||>' libobd[RAW_DATA]: Sending to ELM -> 'ATZ|' libobd[RAW_DATA]: Recieved from ELM -> 'ATZ|||ELM327 v1.4||>' libobd[RAW_DATA]: Sending to ELM -> 'ATE0|' DEBUG [10:12:12.163134] trip.c:0155 - Saving trip data: (obd: 0 0) (gps: lat:0.000000 lon:0.000000 alt:0.000000 d:-1.000000) libobd[RAW_DATA]: Recieved from ELM -> 'ATE0|OK||>' libobd[INFO](obdchanelm_setup:463): ELM echo disabled libobd[RAW_DATA]: Sending to ELM -> 'ATL0|' libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[INFO](obdchanelm_setup:473): ELM linefeed off libobd[RAW_DATA]: Sending to ELM -> 'ATST 19|' libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> 'ATAT2|' libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> '0101|' libobd[RAW_DATA]: Recieved from ELM -> 'CAN ERROR||>' libobd[ERROR](obdchanelm_error:68): ELM error: "CAN ERROR" libobd[INFO](obdchan_setup_channel:100): ELM communication failed! ERROR [10:12:12.437396] obd-thread.c:0170 - Problems setuping the obd channel, using: /dev/rfcomm0 libobd[ERROR](obd_close:166): Trying to close an not opened obd device libobd[INFO](obdcon_closedev:220): Trying to close serial connection libobd[INFO](obdcon_closedev:247): Serial connection closed Now I can see I have ELM v 1.4 and getting CAN error. Can anybody explain what does it mean? does anybody else experience the same problem? cheers. |
Re: Carman for Maemo 5?
Before somebody says try it on other car, I would like to say, I have tried it on my Ford car too, but same error.
so I assume it is to do something with ELM327 or N900. Strange thing, it works fine with my laptop, netbook, and my wife's android phone without any problems.... :( |
Re: Carman for Maemo 5?
Quote:
This begins to be interesting. If I only had an bluetooth ELM327 ;) |
Re: Carman for Maemo 5?
Thanks for your reply mate.
It is interesting for me coz I cannot connect it. what you suggest? what could be the solution? Cheers. |
Re: Carman for Maemo 5?
libobd????
:confused: I guess that is something to do with CARMAN. Am I correct, is there a way to correct it? Cheers. |
Re: Carman for Maemo 5?
Hi makkan00 and jlu
I don't think this is my week. first I burnt a friends ECU, then my spare ECU and now my Bluetooth OBD doesn't work in my car although it does in my bf's :confused: I guess that things just working for me was too good to be true to last :rolleyes: I've had a look through the ELM327 datasheet too and will try building the carmand part of carman with jlu's suggestion and some of the suggestions in there and see how I get on. Sophie x PS @jlu I have tried to install ESbox but it won't work properly because it can't find 'xulrunner' but Kpackagekit says it is installed. I'm a bit worried that ESbox says to only works on Ubuntu and needs xulrunner version 1.8 whereas I have Kubuntu 10.10 and xulrunner 1.9 do you have any ideas I could try? PPS if anyone knows of something like Hyperterminal for the N900 that would be rather handy... |
Re: Carman for Maemo 5?
Quote:
|
Re: Carman for Maemo 5?
Quote:
|
Re: Carman for Maemo 5?
Quote:
Cheers. |
Re: Carman for Maemo 5?
Quote:
I am not really expert...so I guess I have to leave it and forget it. I thought it was ELM problem, but as you pointed out, it was langauge problem. I have re-installed the application again, and thought by doing that it will learn the language :D no luck. Just wondering how do others get connected and why did not they get the problem? Can I ask any developer to help? ortherwise, got to forget it. :( Cheers. |
Re: Carman for Maemo 5?
OK, this is a bit weird, I've made a few changes to the ELM327 startup in carmand which appeared to get my car working again every other try but when I checked the report file my changes didn't appear to be actually there! I'll check what I've done but if you guys hadn't noticed it's Saturday night so I'm about to get ready to go out and this will have to wait.
@makkan00 my guess is that this is a problem with the way Carman communicates with the ELM327 so getting that bit right hopefully will fix these connection problems. If I get somewhere I'll send you my fixes somehow to test Sophie x |
Re: Carman for Maemo 5?
Quote:
Code:
if(obdchanelm_ssendcmd(chan, "ATSP0", 6)) { /* Set protocol to Automatic */ |
Re: Carman for Maemo 5?
Quote:
I agree with you, its the way carman tries to communicate with ELM. And my connection to car through netbook and android phone confirms that it is either carman (or possible language as JLU reported). As as I am not really expert in that language, so I should wait for you or Jlu to take a step ahead :) Enjoy your weekend. |
Re: Carman for Maemo 5?
Quote:
Can you please tell me, which file in carman software or libobd's should be changed? Where can I find that file, and how can I entre the commands you mentioned above? As I am not expert like you, so I many need bit more guidance. Cheers. |
Re: Carman for Maemo 5?
Quote:
|
Re: Carman for Maemo 5?
Quote:
|
All times are GMT. The time now is 07:29. |
vBulletin® Version 3.8.8