LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-29-2016, 09:43 PM   #16
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629

The company that makes the chip offers drivers for linux. You'd have to then look for a program that can associate the data to usable form.

Rant ahead!!!


That was my argument way back in 2010 when this thread started. The parts to this post are OBD II device, a way to get that device to connect to linux, then the real problem is what the codes mean.

A code is generated by a single or complex set of measurements that have been pre-set to call either a hard or soft code. Code is the error. You can pour over the web for the hard codes or maybe soft codes that you get and will find 100 different people saying this or that. You can possibly fix it or try to fix it using their suggestions. Understanding that a code can be caused by many sensors you need to look at the code as a system usually. You need to understand what all goes into the code and how to measure why it appears.

Automakers have been fighting this ever since they found out it is a gold mine for their service department. They are claiming DMCA and such to deny free use. They have some valid points but basically they are holding the customer hostage to technology.
 
Old 03-18-2017, 10:55 AM   #17
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
Quote:
Originally Posted by jefro View Post
The company that makes the chip offers drivers for linux. You'd have to then look for a program that can associate the data to usable form.

Rant ahead!!!


That was my argument way back in 2010 when this thread started. The parts to this post are OBD II device, a way to get that device to connect to linux, then the real problem is what the codes mean.

A code is generated by a single or complex set of measurements that have been pre-set to call either a hard or soft code. Code is the error. You can pour over the web for the hard codes or maybe soft codes that you get and will find 100 different people saying this or that. You can possibly fix it or try to fix it using their suggestions. Understanding that a code can be caused by many sensors you need to look at the code as a system usually. You need to understand what all goes into the code and how to measure why it appears.

Automakers have been fighting this ever since they found out it is a gold mine for their service department. They are claiming DMCA and such to deny free use. They have some valid points but basically they are holding the customer hostage to technology.

The error codes tell you what component is showing a fault. The codes referred to are not the same as we use with programming, its just a fault number. They are not complex or difficult to understand and are very useful for those with a minimal diagnostic ability. There are also codes for "ok" too. I use error codes to narrow down problems but a good mechanical knowledge helps in the first place.

All computerised engines can create an error code list, even diesel engines. The meaning of each code will be on a list that can be found either on the internet or via workshop manuals from auto parts shops. I have not found it very difficult to get a code list, but all details from a vehicle are required to get the right list. ie year, make, model, engine, transmission, series, and vin number.. This will make life easy..

As for applications that read the codes, well your on your own, I can read live data with ubuntu using autodoctor and an elm327 bluetooth on a friends car but only my landrover using rovergauge and a ttl connection reads everything...

Having a the error code and the list that the code refers to, is one thing, but the repair or understanding what the problem is, can be a different thing altogether. Also, some problems are not associated with a code or a fault with the electrical system. ie low oil pressure due to faulty oil pump will show up but a knock in the bottom end, ie crank or bigend, you can hear, computer has no idea, its not a component thats electrical. Just remember, knowing some mechanical knowledge is more important than relying on an error code, as some codes come up and can be ignored without any consequences...

Sorry Jefro, but I have found no conspiracy with auto manufacturers restricting access to the error codes..
 
Old 03-18-2017, 11:02 AM   #18
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
Quote:
Originally Posted by alberich View Post
Has anyone have recent experience with more or less powerful Linux software for doing On Board Diagnostics?

I have an OBDII USB interface with FT232RL chip for connecting via KKL to my 2002 Volkswagen.

I will check the mentioned software later.

For the problem of DTC error codes but not knowing what to make of them:
http://wiki.ross-tech.com/wiki/index...ry:Fault_Codes
There are the fault codes and also basic checks to be done in case.
Scantool.. using a usb connection to OBD2 would make life easy and scantool is easier with usb.. It will read the error codes..

Autodoctor.. would be a good one for live readings of the engine and checking the accuracy of things like temp gauge/oil gauge/speedo/tacho...

Both work ok on Ubuntu 16.04.1
 
Old 03-18-2017, 12:00 PM   #19
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by wraithe View Post
Having a the error code and the list that the code refers to, is one thing, but the repair or understanding what the problem is, can be a different thing altogether. Also, some problems are not associated with a code or a fault with the electrical system. ie low oil pressure due to faulty oil pump will show up but a knock in the bottom end, ie crank or bigend, you can hear, computer has no idea, its not a component thats electrical. Just remember, knowing some mechanical knowledge is more important than relying on an error code, as some codes come up and can be ignored without any consequences...
Emphasis mine, because those are very important points that you raised there.

Not to get too OT on this, but something those relying on the codes should be aware of.

Be aware, at least as was the case with OBD on my early 90s GMs and some early OBD-II is that the codes represent a fault in a particular circuit. Some circuits may have more than one sensor on them (i.e. an 88 Firebird I once owned had the tendency to throw a Mass Airflow Sensor code when the fault was actually in the ignition as some other component was also on that circuit).

Be aware that a code, is again, for a circuit. A fault code indicated for the oxygen sensor does not necessarily mean that the sensor itself is bad. It can be a corroded ground anywhere in the electrical system (isn't automotive electronics fun?), a short or a broken wire in that oxygen sensor circuit. Find a fault code, test the suspected faulty part before replacing it.

Last edited by goumba; 03-18-2017 at 12:01 PM. Reason: fixed bbcode
 
Old 03-20-2017, 04:40 AM   #20
Dave Wakefield
LQ Newbie
 
Registered: Apr 2009
Location: West Yorkshire UK
Distribution: Ubuntu 9.10 and Linpus Lite
Posts: 9

Rep: Reputation: 1
update on my experience

Quote:
Originally Posted by Dave Wakefield View Post
I am looking at buying some OBD2/EOBD software and would like to run in on my Linux Acer notebook. Have tried ScanTool.net.1.23 on windows and it worked well. Would like to know how you got on with the software interface you bought.
I bought a commercial product from http://www.secons.com/en/index.html. it worked well.
car engine management software is built on an interoperable/ interchangeable layer model which in theory allows any OBD2 software to work on any vehicle. the problem you are reporting lies in the interpretation of the layer model by each individual car maker. they claim compliance by achieving the minimum openness i.e. you should be able to get at all of the basic error codes via a commercial interface such as the one above. the "advanced settings" are "manufacturer specific" i.e. you need a "manufacturer flavour software" for the "advanced settings". it is reported that the VAG group are the most protective within the interface world.

hope this helps. Dave
 
Old 03-20-2017, 03:09 PM   #21
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
You should try scantool agreed. Scantool was the king but some claim the free version now is less than expected.


Big companies like Apple are fighting your "right to repair." They want you to to be in the dark about the codes and designs saying you might blow yourself up and kill hundreds by fixing it for less than the dealer charges.
 
Old 03-21-2017, 03:10 AM   #22
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
Yesterday I was busy fixing a niece's Holden wagon.. Automatic spat out a lot of errors and dash was lit up like a bon fire...

So ELM327 with autodoctor. works with live feed only, no codes...

Scantool, wont connect...

Problem solved tho, bluetooth app that 16.04.2 uses from original install is blah blah... put blueman in, set rfcomm to ttyS* and away you go...

Anyway, did service as trans fluid was no longer the lovely red it should have been, new filter also, and what do you know... The transmission is now happy, metalic noise gone, fluid nice red... Sounds like problem solved, doesn't it...

My mechanical knowledge says "Transmission is on borrowed time"...Some specs of copper in old fluid, means the clutches and copper bearing surfaces are failing... Magnet in pan covered in fine metal particles, means pump on its way and then the fluid being dark brown in color, means clutch contact surface(friction surface) have just copped a flogging and fluid was not lubricating properly...

Only one solution to be prepared for "I got a full rebuild to do on nieces transmission".. Mind you its only $550 AUD in parts for me to do, BUT! Could have been avoided...

Anyway, codes showed low trans pressure, caused by filter blockage.. Helpful but once I seen the fluid, I already knew the problem.. Nothing secretive...

All this talk about auto makers trying to avoid you knowing whats going on, is not true...

Most auto manufactorers use basic programmes that others use, just like BIOS has a standard somewhat.. They all alter certain things to be individuals.. Some like Landrover and there groups, have there own fiddly system, and some even stuff up and create a stupid dangerous situation, like Ford and VW have... But at the end of the day, as I said before, You have to have a mechanical knowledge of some sort before hand...

That dont mean you need to do 4 years of scrubbing floors and sucking up to your boss to finish your apprenticeship... Or even understand the difference between ignition timing or cam timing or injection timing, but it does mean you need to understand a 4 cyl to an 8 cyl or even handy to know what a 4 stroke or 2 stroke is(And I dont mean fuel difference, I'm talking about the concept)..

If you start by learning to service your vehicle and read a workshop manual front to back, then go look for all the bits on your car, then a code reader will become your best friend.. The actual repairs dont have to be done by you, but you wont get ripped off if you know what your doing..





As for the question by Alberich...

Scantool will read codes and reset them.. Does a good job for the freedownload...
Autodoctor would be my choice for live feed and check speedo...
Both work well for me and I am using an ELM327 bluetooth on a ASUS laptop NV550j running Ubuntu 16.04.2

Your VW would be using EOBD through an OBD2 connection... Seems to be the standard for Europe and also a lot of vehicles here in Australia...
 
Old 03-21-2017, 02:58 PM   #23
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
https://9to5mac.com/2017/02/15/apple...ght-to-repair/
 
Old 03-22-2017, 12:49 AM   #24
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
Quote:
Originally Posted by jefro View Post
Didn't know your are not allowed to repair things for yourself, in the US...

So glad I live in Australia.. Brakes are about the only thing you have to be careful repairing here, because if you stuff up and they fail due to your mistake, then you become liable...

As for repairing your own products, its a necessity most of the time here, especially as I live in the country and we have few people that can fix things, and also when I was working, I could be anywhere upto 1,000 klms from someone who could fix things..

I spose we do things a little differently here in Aussie...

Should visit this place Jefro, wide open spaces in the central part of the west...
 
Old 05-17-2023, 01:12 PM   #25
ocgltd
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Fedora 12 i386
Posts: 57

Rep: Reputation: 16
Many years later this question is still relevant, but no good answer. So I would like to offer this link:

https://autocommander.io

This is a free tool which is used for hacking your vehicle's electronics. It's available for various linux distros. It can connect to many popular adapters (ELM327/OBDsol/CAN/etc), and even connect to multiple busses as once.

This tool can be installed on your laptop and used to capture codes, playback codes (hacking), etc. Or, you can install it on a Raspberry Pi you permanently connect to your vehicle - and it creates a platform for building your own apps (using the API).

But for the purpose of the original question, it's a great OBD2 diagnostic tools that can query anything, reset DTC codes, etc.
 
1 members found this post helpful.
Old 05-17-2023, 01:32 PM   #26
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 576

Rep: Reputation: Disabled
Talking

Was helping the guys in the auto shed yesterday to connect their new professional odb2 diagnostic tool to the wifi.
It runs android and they are smitten with it
https://www.zenithdiag.com/main.do?lang=
 
1 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound car is not working marciobarbalho Slackware 15 08-12-2008 01:36 PM
OBD-II real time data Oxagast Linux - Hardware 1 08-09-2006 09:10 AM
how to get a hp scanner working in linux fc4 newusermike Linux - Newbie 2 09-05-2005 03:20 PM
Audigy Sound Car not working...... fifty Fedora 8 10-02-2004 07:18 PM
mandrake linux 10.0 kernel 2.6.3 usb scanner, webcam not working grolon Mandriva 2 04-28-2004 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration