maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Carman for Maemo 5? (https://talk.maemo.org/showthread.php?t=37259)

systemcrash 2011-01-09 11:02

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.

makkan00 2011-01-09 22:11

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by jlu (Post 915657)
libobd is packaged separate from carman. In scratchbox, you can download the source using "apt-get source libobd". This downloads and unpacks the source to libobd-0.7. The file that has to be modified is obd-chan-elm.c in libobd-0.7/src. You probably should also make a note to libobd-0.7/src/debian/changelog to distinguish your modified version.

Thanks Jlu.

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.

makkan00 2011-01-09 22:12

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by systemcrash (Post 915670)
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.

Thanks mate.

Now I am confused....I guess its my ELM327.

What you reckon?

jlu 2011-01-10 06:05

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by makkan00 (Post 916323)
Thanks Jlu.

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?

No, most probably not (didn't you say it works with some other devices (laptop etc.)). Maybe systemcrash's car's obd works with the default protocol and yours doesn't. But according to the ELM327 documentation, you should set the protocol and that is missing in libobd's initialization sequence.

Just4pLeisure 2011-01-10 13:01

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by makkan00 (Post 915090)
and what error you get, did you check the log files?

I have different errors to you:
Code:

libobd[RAW_DATA]: Recieved from ELM -> 'OK||>'
libobd[RAW_DATA]: Sending to ELM -> '0101|'
libobd[RAW_DATA]: Recieved from ELM -> 'SEARCHING...|UNABLE TO CONNECT||>'

but I can usually connect every other time I try to do so except sometimes when I disconnect I see this in the logs:

Code:

  DEBUG [10:17:02.305572]bt-serial.c:0174 - disconnect_service(): address /dev/rfcomm0
  ERROR [10:17:02.306213] obd-thread.c:0309 - Problems removing bluetooth connection

and subsequently when I try to reconnect I see the disconnected message in Carman almost immediately and this in the log file:
Code:

  ERROR [10:17:06:607788]  bt-serial.c:0149 - DBus error: Port already in use
and when this happens so far I have only been able to fix things by restarting my N900.

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

makkan00 2011-01-10 13:38

Re: Carman for Maemo 5?
 
Thanks Sophie, am desperate to go home, edit the files and try it.

makkan00 2011-01-10 19:52

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by Just4pLeisure (Post 916799)

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.

Sophie x

Guess What :(

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

Just4pLeisure 2011-01-12 11:16

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by makkan00 (Post 917173)
Guess What :(

I really appreciate your help and devotion to work and I also admire the work of Jlu to point us in right direction....

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.


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

Many thanks for trying my changes to libobd and I'm pleased they worked for you :) :cool:. I've made a few more changes and I've almost fixed my problem where my Bluetooth OBD only connects every other time - I'd be most grateful to you if you could try this version out too in order to check that I haven't undone what I ddi to make it work for you (since I've also tried to do one or two things to hopefully make the Bluetooth OBD connection happen a little more quickly).

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:

Originally Posted by alynsparkes (Post 913681)
Originally Posted by cevenn View Post
Is it possible to install other themes?

Yes, but it's a PITA.

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.

I will try to work out how to translate these for the N900 and also there is a way of saving some space using something called optify which I'll try too. Then when I understand how to maintain the maemo garage repository files I will upload them.

Sophie x

makkan00 2011-01-12 19:31

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by Just4pLeisure (Post 918535)
I've been invited to be a maintainer :eek:I've also been asked to submit my SSH and/or GPG/PGP

Sophie x

Welldone. you deserve it. Well please feel free to send me new files and will try it.

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.

jlu 2011-01-13 06:19

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.

Just4pLeisure 2011-01-13 13:26

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by makkan00 (Post 918938)
Welldone. you deserve it. Well please feel free to send me new files and will try it.

I'm in contact with the Carman developers and hopefully my modifications will be available to everone shortly :). I'm still trying to get my own car to connect reliably which may take me a few more days though... :(

Quote:

Originally Posted by makkan00 (Post 918938)
Anybody with diesel engine

I'm sorry I don't but I think I see your problem right there :p

Quote:

Originally Posted by jlu (Post 919281)
I'm sorry... I have to admit that dbus is not my thing.

Just another one of those things, thanks for thinking about it anyway :)

Quote:

Originally Posted by jlu (Post 919281)
I am very interested in your efforts, being a Saabist myself.

Have you seen forum.ecuproject.com (which isn't just for Saab owners either...) :eek::cool::D

Just4pLeisure 2011-01-14 11:37

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)

makkan00 2011-01-14 21:36

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by Just4pLeisure (Post 918535)
Many thanks for trying my changes to libobd and I'm pleased they worked for you :) :cool:. I've made a few more changes and I've almost fixed my problem where my Bluetooth OBD only connects every other time - I'd be most grateful to you if you could try this version out too in order to check that I haven't undone what I ddi to make it work for you (since I've also tried to do one or two things to hopefully make the Bluetooth OBD connection happen a little more quickly).

Sophie x

Well done Sophie. Tried your new patch and it also worked on very first attempt. Brilliant and best of luck for your furture patches developement. You can keep me as your beta tester ;)

Enjoy your weekend.

cevenn 2011-01-16 14:40

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by Just4pLeisure (Post 911489)
Hmm, lets see, maybe the problem is that ur-a-bus - just kidding boardnz ;). Cevenn posted the same symptoms with his Subaru too :(:
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).


Thanks again jlu :), I'll take a look.
Sophie x

Hi!
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...

Saturn 2011-01-16 15:11

Re: Carman for Maemo 5?
 
Anybody upto writing a wiki page with installation instructions and available accessories known to work?

Just4pLeisure 2011-01-17 12:15

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by makkan00 (Post 920506)
Well done Sophie. Tried your new patch and it also worked on very first attempt. Brilliant and best of luck for your furture patches developement. You can keep me as your beta tester ;)

Enjoy your weekend.

That's great, hopefully the original Carman developer will be able to test it soon and put it into the repositories :) I've also done a few things with the themes - I have made 'deb' files for the additional Eclipse and Off-Road themes and also 'optified' them so that they don't take up as much space. I find the scale values a bit strange for the dials though, e.g. the speed dial range is 240 km/h or 120 mph, I have changed this to 260 km/h or 160 mph because that seems slightly better since they are now about equal. I'm not sure about the other dials though, e.g. temperature in the Tuning theme the range is 50 to 130 C, but in Eclipse and Offroad it is 30 to 150 C. What do people think would be sensible for the temperature range (150 C sounds too high since water boils at 100 C) I've changed the boost gauge to read upt to 255 kPa (since that is the maximum for my boost sensor). Any suggestions welcome - I suppose the ideal is to make them configurable, but that might take a while :(

Quote:

Originally Posted by cevenn (Post 921548)
Hi!
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...

What problems did you have when you tried to reinstall Carman?

Quote:

Originally Posted by Saturn (Post 921574)
Anybody upto writing a wiki page with installation instructions and available accessories known to work?

I'll try to contribute but i don't know how to set up web pages...

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

gazza_d 2011-01-17 12:36

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.

cevenn 2011-01-17 22:09

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by Just4pLeisure (Post 922233)

What problems did you have when you tried to reinstall Carman?


Sophie x

I couldn't install it, with apt-get install carman, stoped many times at "looking for headers": it was a network pb, I think, due to security at work...
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:

mark_ireland 2011-01-17 22:48

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

Thalass 2011-01-18 05:23

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.

Just4pLeisure 2011-01-21 15:54

Re: Carman for Maemo 5?
 
Carman CPU and log files...

Quote:

Originally Posted by cevenn (Post 922635)
carman ... and cpu at 15%, instead of 5 to 8%...

I know I'm quoting cevenn a liitle out of context, but the point is that even after exiting from Carman some part of it is still operating and continuing to put things into those ever so useful log files. This has two consequences: 1) the log files seem to continue to expand forever and 2) this is probably why CPU is used. The part of Carman that stays is called 'carmand' and I'll try to find out how to make it stop. In the mean time it is possible to prevent the log files being made by editing a file called carmand.service (make a backup first to be safe):

Code:

sudo gainroot
cd /usr/share/dbus-1/services
cp carmand.service carmand.service.debug (make a backup)
leafpad carmand.service

NOTES
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]
Name=org.indt.carmand
Exec=/usr/bin/run-standalone.sh /usr/bin/carmand --log-level=debug --log-dir=/home/user
User=user

to leave:
Code:

[D-BUS Service]
Name=org.indt.carmand
Exec=/usr/bin/run-standalone.sh /usr/bin/carmand
User=user

Save your edited 'carmand.service' file and then turn your N900 off then on again. Carman won't create the log files from now on.

Quote:

Originally Posted by gazza_d (Post 922250)
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.

If you send me a PM with your email address I will send you my modified version of libobd which (seems to) make connecting to my Bluetooth OBD more reliable...

Quote:

Originally Posted by Thalass (Post 922816)
'm curious about the "configure obd2" option. Does it allow for extra gauges or simply setting up?

'Configure OBD2' is for pairing your Bluetooth OBD with Carman.

Sophie x

cevenn 2011-01-21 16:20

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

-AEnubis- 2011-02-04 18:57

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.

Just4pLeisure 2011-02-08 16:59

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by -AEnubis- (Post 936147)
So how close is this to hitting the testing repo? :)

I don't know, it's been a couple of weeks since my last email from one of the developers. I'm not sure how this works but it seems that I can simply update the repositories myself although it seems a little rude to do so.

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:

Originally Posted by -AEnubis- (Post 936147)
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.

Adding '-f' to your install command might help, this tries to repair dependency errors:
Code:

apt-get -f install carman
I'm no expert in this either, more a lucky meddler, hopefully this will help.

Sophie x

sophocha 2011-02-11 16:36

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?

darguzar 2011-02-28 08:01

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... !!!!!

naderkhalid 2011-03-01 11:06

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by darguzar (Post 957075)
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... !!!!!

Seriously, some of us here are just stuck at step #1: get carman to install on N900. This dependency issue is killing me. I tried disabling all repositories save extras-devel to no avail.
Help!

craigsblackie 2011-03-03 01:10

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by Just4pLeisure (Post 916799)
I have different errors to you:
Code:

libobd[RAW_DATA]: Recieved from ELM -> 'OK||>'
libobd[RAW_DATA]: Sending to ELM -> '0101|'
libobd[RAW_DATA]: Recieved from ELM -> 'SEARCHING...|UNABLE TO CONNECT||>'

but I can usually connect every other time I try to do so except sometimes when I disconnect I see this in the logs:

Code:

  DEBUG [10:17:02.305572]bt-serial.c:0174 - disconnect_service(): address /dev/rfcomm0
  ERROR [10:17:02.306213] obd-thread.c:0309 - Problems removing bluetooth connection

and subsequently when I try to reconnect I see the disconnected message in Carman almost immediately and this in the log file:
Code:

  ERROR [10:17:06:607788]  bt-serial.c:0149 - DBus error: Port already in use
and when this happens so far I have only been able to fix things by restarting my N900.

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

Could you post this publically? I am experiencing the very issue it resolves myself.
Thank you in advance.

craigsblackie 2011-03-03 02:20

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by naderkhalid (Post 957995)
Seriously, some of us here are just stuck at step #1: get carman to install on N900. This dependency issue is killing me. I tried disabling all repositories save extras-devel to no avail.
Help!


Disable devel, update, install python dependency, enable devel, update, install carman. :)

naderkhalid 2011-03-03 12:08

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by craigsblackie (Post 959339)
Disable devel, update, install python dependency, enable devel, update, install carman. :)

Thank you.
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

naderkhalid 2011-03-03 12:48

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by naderkhalid (Post 959613)
Thank you.
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

The bunny rabbit hole took me as far as:
libeina1: conflicts package: libeina0
cannot install both yet both are required (sigh) :confused:

naderkhalid 2011-03-05 10:50

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

naderkhalid 2011-03-06 05:04

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by svalavuo (Post 726316)
I edited /home/user/.carman/carmand.conf
gps_device=internal

rebooted, and now it works!

6 month late, but better late than never. Unlike WinDo$e, you don't usually reboot. Just restarting the carmand service does the trick:

rootsh /etc/init.d/carman restart

That is of course within the x-terminal command line.

masndriza 2011-03-10 16:57

Re: Carman for Maemo 5?
 
someone could post the file home/user/.carman/ carmand.conf

Bigv69er 2011-03-25 00:59

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

naderkhalid 2011-03-26 05:05

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by masndriza (Post 965053)
someone could post the file home/user/.carman/ carmand.conf

[CARMAN_DAEMON_SETTINGS]
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

naderkhalid 2011-03-26 05:10

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by Bigv69er (Post 975234)
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

You must first resolve the known dependency issue. Please, run the command mentioned in my post dated 03-05-2011, then install carman from extras-dev

naderkhalid 2011-03-26 05:14

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

woody14619 2011-04-04 20:04

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

phedders 2011-04-08 12:22

Re: Carman for Maemo 5?
 
Quote:

Originally Posted by woody14619 (Post 981902)
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.


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