The Following 2 Users Say Thank You to systemcrash For This Useful Post: | ||
![]() |
2011-01-09
, 22:11
|
Posts: 20 |
Thanked: 3 times |
Joined on Mar 2010
|
#242
|
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.
![]() |
2011-01-09
, 22:12
|
Posts: 20 |
Thanked: 3 times |
Joined on Mar 2010
|
#243
|
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.
![]() |
2011-01-10
, 06:05
|
Posts: 166 |
Thanked: 106 times |
Joined on Dec 2007
@ Finland
|
#244
|
The Following User Says Thank You to jlu For This Useful Post: | ||
![]() |
2011-01-10
, 13:01
|
Posts: 22 |
Thanked: 21 times |
Joined on Dec 2010
|
#245
|
libobd[RAW_DATA]: Recieved from ELM -> 'OK||>' libobd[RAW_DATA]: Sending to ELM -> '0101|' libobd[RAW_DATA]: Recieved from ELM -> 'SEARCHING...|UNABLE TO CONNECT||>'
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
ERROR [10:17:06:607788] bt-serial.c:0149 - DBus error: Port already in use
The Following 3 Users Say Thank You to Just4pLeisure For This Useful Post: | ||
![]() |
2011-01-10
, 13:38
|
Posts: 20 |
Thanked: 3 times |
Joined on Mar 2010
|
#246
|
![]() |
2011-01-10
, 19:52
|
Posts: 20 |
Thanked: 3 times |
Joined on Mar 2010
|
#247
|
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
The Following User Says Thank You to makkan00 For This Useful Post: | ||
![]() |
2011-01-12
, 11:16
|
Posts: 22 |
Thanked: 21 times |
Joined on Dec 2010
|
#248
|
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
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
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.
The Following User Says Thank You to Just4pLeisure For This Useful Post: | ||
![]() |
2011-01-12
, 19:31
|
Posts: 20 |
Thanked: 3 times |
Joined on Mar 2010
|
#249
|
I've been invited to be a maintainerI've also been asked to submit my SSH and/or GPG/PGP
Sophie x
The Following User Says Thank You to makkan00 For This Useful Post: | ||
![]() |
2011-01-13
, 06:19
|
Posts: 166 |
Thanked: 106 times |
Joined on Dec 2007
@ Finland
|
#250
|
The Following User Says Thank You to jlu For This Useful Post: | ||
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.