![]() |
Re: Carman for Maemo 5?
If it is of any use, here is my log. In my case, the n900 is getting a connection to the elm327 device.
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 -> '?||>' libobd[RAW_DATA]: Sending to ELM -> 'ATZ|' libobd[RAW_DATA]: Recieved from ELM -> '||ELM327 v1.4||>' libobd[RAW_DATA]: Sending to ELM -> 'ATE0|' 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|' DEBUG [14:20:28.295275] trip.c:0155 - Saving trip data: (obd: 0 0) (gps: lat:0.000000 lon:0.000000 libobd[RAW_DATA]: Recieved from ELM -> '41 01 00 00 00 00 ||>' libobd[INFO](obdchan_setup_channel:97): ELM setup operation succeed! INFO [14:20:30.580706] obd-thread.c:0469 - OBD device is ready DEBUG [14:20:30.581042] obd-thread.c:0352 - STATE CHANGED: from 6 to 7 DEBUG [14:20:30.581225] obd-thread.c:0233 - unblock() called, reason: C DEBUG [14:20:30.581438] obd-sched.c:0091 - Time scheduled pid: 13 is on the rlist. Ignoring DEBUG [14:20:30.581591] obd-sched.c:0099 - Time scheduled pid 1 is not on the rlist, proceeding... HTH. |
Re: Carman for Maemo 5?
Quote:
Did you see the post by systemcrash. There is no extra command in his log and its successful. Since I get CAN error, shall I assume that my ELM327 is faulty? Cheers. |
Re: Carman for Maemo 5?
Quote:
Now I am confused....I guess its my ELM327. What you reckon? |
Re: Carman for Maemo 5?
Quote:
|
Re: Carman for Maemo 5?
Quote:
Code:
libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' Code:
DEBUG [10:17:02.305572]bt-serial.c:0174 - disconnect_service(): address /dev/rfcomm0 Code:
ERROR [10:17:06:607788] bt-serial.c:0149 - DBus error: Port already in use I suspect the 1st problem (UNABLE TO CONNECT) and your problem (CAN ERROR) are related to ELM327 control messages, but the bluetooth connection itself is OK. The second problem (DBus error) is something to do with the bluetooth connection itself. I've succesfully recompiled libobd with a few changes to the initialisation part; specifically: Changed 'ATST 19' to 'ATST 00' (use default OBD/ELM timeout) Changed 'ATAT2' to 'ATAT1' (default auto timeout algorithm) Added 'ATSS' (use recommended OBD search sequence) Added 'ATSP0' (search for OBD interface type) Although this hasn't made any difference for me it may resolve your CAN_ERROR problem because I tell the ELM327 to use the recommended search sequence (ATSS) and to always search for OBD (ATSP0) I've sent you a pm if you want to try it out. If it stil doesn't help then I can add code to libobd to specify each OBD method individually... I already plan to make it try to connect a few times before giving up to see if that helps. Hopefully someone (probably called 'jlu' :) ) will be able to give me a hint about the bluetooth DBus error message I get :):):) Sophie x |
Re: Carman for Maemo 5?
Thanks Sophie, am desperate to go home, edit the files and try it.
|
Re: Carman for Maemo 5?
Quote:
I really appreciate your help and devotion to work and I also admire the work of Jlu to point us in right direction.... But!!!! :eek: Awsome..... your files worked like a magic. I could not believe on my eye....I was like this :eek: On very first attempt it work. Here is the log file readings. DEBUG [19:32:54.477447] trip.c:0155 - Saving trip data: (obd: 0 0) (gps: lat:0.000000 lon:0.000000 alt:0.000000 d:0.035963) libobd[RAW_DATA]: Recieved from ELM -> '||ELM327 v1.4||>' libobd[RAW_DATA]: Sending to ELM -> 'ATE0|' libobd[RAW_DATA]: Recieved from ELM -> 'ATE0|OK||>' libobd[INFO](obdchanelm_setup:464): ELM echo disabled libobd[RAW_DATA]: Sending to ELM -> 'ATL0|' libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[INFO](obdchanelm_setup:474): ELM linefeed off libobd[RAW_DATA]: Sending to ELM -> 'ATST 00|' libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> 'ATAT1|' libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> 'ATSS|' libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> 'ATSP0|' libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> '0101|' DEBUG [19:32:57.481231] trip.c:0155 - Saving trip data: (obd: 0 0) (gps: lat:0.000000 lon:0.000000 alt:0.000000 d:0.035963) libobd[RAW_DATA]: Recieved from ELM -> 'SEARCHING...|41 01 00 00 80 00 ||>' libobd[INFO](obdchan_setup_channel:97): ELM setup operation succeed! INFO [19:32:58.412750] obd-thread.c:0469 - OBD device is ready I cant tell you how thankful I am to both of you for your help. Sophie e-mail this to developers and ask them to add it to original application. Again thanks to all of you and especially my heros Jlu and Sophie. you made my day :D |
Re: Carman for Maemo 5?
Quote:
I've also emailed some of the developers mentioned in the libobd changelog file and the Maemo Garage to find out about uploading my changes - I've been invited to be a maintainer :eek:I've also been asked to submit my SSH and/or GPG/PGP keys which I didn't know I had and have no idea what they are or where to find them :confused: I'm sure I'll figure it out sooner or later and then everyone can look forward to me breaking their N900s when they get my updates:p In the mean time if anyone else would like to try my version of libobd just send me a PM with your email address and I'll send it to you. Quote:
Sophie x |
Re: Carman for Maemo 5?
Quote:
Anybody with diesel engine, can you please check your engine load? Mine is constantly 100% even on idle. Can somebody please explain what does it mean? Is my car faulty and what should I do in order to rectify it? Cheers. |
Re: Carman for Maemo 5?
To Sophie: I'm sorry that I haven't replied about the dbus problems. I have been busy with work and also with the next version of fuelpad (http://talk.maemo.org/showpost.php?p...&postcount=100). That said, I have to admit that dbus is not my thing.
I am very interested in your efforts, being a Saabist myself. |
Re: Carman for Maemo 5?
Quote:
Quote:
Quote:
Quote:
|
Re: Carman for Maemo 5?
Hi makkan00
Sorry for teasing you about having a Diesel car :( We have a TV program in the UK called 'Top Gear' in which one of the presenters, Jeremy Clarkson, often refers to Diesel as 'the devil's fuel' :eek:. If you don't get readings for Air Pressure (the dial next to the temperature dial) and your load is always 100% then maybe something is wrong, but I'm just guessing as I'm not sure what the load value is exactly. It seems to be a percentage of boost pressure or rather maximum boost pressure. I think James Littler explained something about this in the Carman topic http://talk.maemo.org/showpost.php?p...&postcount=207 and it seems that the load value is a percentage of actual boost or air going into the engine compaired to the maximum amount that could be going in. I have noticed that for my car: Not moving pressure: 45 kPa load 22% Driving normally pressure varies between: 50-90 kPa, load 25-40% Going uphill pressure can go up to 130-150 kPa, load 55-70% Going down a steep hill pressure 22 kPa load 11% Accelerating pressure up to 217 kPa, load up to 100% (Max boost is 1.15 Bar in my ECU) |
Re: Carman for Maemo 5?
Quote:
Enjoy your weekend. |
Re: Carman for Maemo 5?
Quote:
I abandoned this, but I've just ordered a new Bluetooth OBD dongle, and I'm waiting for it... I saw those log files, but don't know how to reed them...:o And as I had uninstall Carman after those tries, I'm unable today to re-install it... Hope I'll can help... if it work... |
Re: Carman for Maemo 5?
Anybody upto writing a wiki page with installation instructions and available accessories known to work?
|
Re: Carman for Maemo 5?
Quote:
Quote:
Quote:
Lastly, I was able to get the ScanTool.net program working on my N900 this morning - see this topic for details if you're interested (and can help :rolleyes: ): http://talk.maemo.org/showthread.php?t=68514 Sophie x |
Re: Carman for Maemo 5?
I am happy to step in and be another beta tester if one is required. I have a bluetooth ODB dongle which worked quite happily with carman on my N800 and N810. I did have it running on my N900 unreliably for a short while.
I would like to see carman back up and running again. |
Re: Carman for Maemo 5?
Quote:
I install it at home, work fine on launch (no OBD2 try yet), but now I have some problems: cpu at 50%, and when I try to remove it ("apt-get remove carman" ?), carman icon still in apps... and cpu at 15%, instead of 5 to 8%...:( Still searching...:rolleyes: Edit: apt-get remove --purge carman, then apt-get autoremove, eveything back to usual.;) I'll try again when I'll receive my new OBD2 dongle...:rolleyes: |
Re: Carman for Maemo 5?
i had trouble installing too.
It kept saying broken packages when i tried apt-get and when i tried fast appman. I enabled the extras and dev on the org app installer and carman installed fine. It's worth a try |
Re: Carman for Maemo 5?
Thanks for this, it's brilliant! Of course i don't have an OBDII dongle yet, so it's not of much use, but it worked straight away, after editing the config file in leafpad for the gps.
I'm curious about the "configure obd2" option. Does it allow for extra gauges or simply setting up? I'm mostly interested in fuel economy data (which, iirc, is a part of the obd2 code set?). Most of the other gauges are kinda redundant. |
Re: Carman for Maemo 5?
Carman CPU and log files...
Quote:
Code:
sudo gainroot you need to install 'rootsh' to be able to 'sudo gainroot' you can use nano or vi (if you can figure it out) if you don't have leafpad delete the part in red: Code:
[D-BUS Service] Code:
[D-BUS Service] Quote:
Quote:
Sophie x |
Re: Carman for Maemo 5?
:)
Many many thanks, Sophie x! I removed Carman and installed it again, cause I receive my new OBD2: it works fine now! So my first problem seems to come from the first dongle! I'll try as soon as possible to change those files cause it still make cpu run higher... Thanks!!! |
Re: Carman for Maemo 5?
So how close is this to hitting the testing repo? :)
I'm a windows guy, and I'm stuck on the dependencies issue. Read this thread twice. Not sure what I'm missing. I feel like I need some portion of the dev tools installed, but don't feel like installing every python app in the other repo's. Something I read maybe indicated it was miss reading bad verisons or something, but even disabling everything but devel when installing gives me the same dependency issues. |
Re: Carman for Maemo 5?
Quote:
Somewhat related, I've noticed that ScanTool.net seems to connect to my Bluetooth OBD more reliably than Carman does. My guess is that this might be to do with it waiting for the ECU to timeout before trying to connect although it is a somewhat convoluted method of setting a timer and checking it in a loop to see when it has expired. A simple wait() statement would seem to suffice for this but unlike the mbed system, the N900/Linux/Maemo doesn't seem to have a wait() command! Instead I have seen sleep() (and variations of it) or select() proposed in different forums for the purpose. Can I simply use sleep() instead of wait() and how can I be sure that a 'signal' hasn't messed things up - the more I read about sleep() the more confused I become about what (and why) 'signals' and 'SIGALARM' are about or how they are anything but unhelpful :confused: Quote:
Code:
apt-get -f install carman Sophie x |
Re: Carman for Maemo 5?
Is it possible to make this work on an ODB-0 ECU that is chipped and using a usb cable to datalog?I was thinking of connecting the usb cable to the N900 now that we can connect things through the usb, and somehow make carman read the data.Would this be possible?
|
Re: Carman for Maemo 5?
Well for the last few days i have trying to find a way to install Carman on n900...
but seriously it is not doing it... nither through Xterm, and if i go to repsotries manually there are so many types of it i don't know whch one to keep and which one to download or which one to install or how to install... can please any one explain how to get and install... carman, i my self a mechanic i would love to get this... So please can any one help me out... !!!!! |
Re: Carman for Maemo 5?
Quote:
Help! |
Re: Carman for Maemo 5?
Quote:
Thank you in advance. |
Re: Carman for Maemo 5?
Quote:
Disable devel, update, install python dependency, enable devel, update, install carman. :) |
Re: Carman for Maemo 5?
Quote:
I'm rusty big time on this. I must be getting old. Installed the python2.5 and tried carman. Then all hell broke loose. One dependency brings a few others growing exponentially. apt-get isn't friendly at all with dependencies. Mercy! python2.5-efl-core hildon-imf-ecore efl-core no-end-to-this-dependency-thing |
Re: Carman for Maemo 5?
Quote:
libeina1: conflicts package: libeina0 cannot install both yet both are required (sigh) :confused: |
Re: Carman for Maemo 5?
I had to shake that rust out.
I got carman installed. The conflict above can be avoided if you do the following BEFORE attempting carman installation: apt-get install libeet1=1.2.2+svn41533-maemo1 |
Re: Carman for Maemo 5?
Quote:
rootsh /etc/init.d/carman restart That is of course within the x-terminal command line. |
Re: Carman for Maemo 5?
someone could post the file home/user/.carman/ carmand.conf
|
Re: Carman for Maemo 5?
DOES ANYONE HAVE THE .DEB FILES?? sorry for screaming.. but i tried everything in this thread and i cannot get carman to install
i cant find it in the app manager.. in extras dev. i died the apt-get and it tells me it has dependancies so it wont be installed HELP |
Re: Carman for Maemo 5?
Quote:
time_precision=3 trip_folder=/home/user/Carman/Trips maps_folder=/home/user/Carman/Maps tracks_folder=/home/user/Carman/Tracks obd_device=00:18:E4:26:D0:16 gps_device=none last_trip_folder=/home/user/Carman/Trips/2011-03-26_07-32 connection_mode=normal |
Re: Carman for Maemo 5?
Quote:
|
Re: Carman for Maemo 5?
I just wish Torque Android app can be ported over. It has more OBD parameters to display not available in carman
|
Re: Carman for Maemo 5?
I was able to install carman and link it up to the ELM module from DealXtreme. One thing of note: The bluetooth link code is no longer 0000, but is listed in the "ReadMe.txt" on the CD that comes with it. It may be different per module now (based on the MAC I'd bet) to prevent random access.
Great app, and look forward to tinkering with it more when I get the chance. :) |
Re: Carman for Maemo 5?
Quote:
It's weird - I just got one from DX yesterday and the code is 0000. Wish it wasnt... |
All times are GMT. The time now is 12:05. |
vBulletin® Version 3.8.8