Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Volkswagen 'Cheat Switch'

Volkswagen 'Cheat Switch'

Scheduled Pinned Locked Moved The Lounge
34 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    When my car was checked at the last (mandatory) checkup, they plugged in some diagnostics equipment and also monitored the values from the car's chipset. The interface supposedly was a standard across all manufacturers. If a special clean mode exists, it would be a good time to start it when someone connects to this interface.

    The language is JavaScript. that of Mordor, which I will not utter here
    This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
    "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

    pkfoxP Offline
    pkfoxP Offline
    pkfox
    wrote on last edited by
    #11

    OK - I've only seen diagnostics used this way by mechanics err *diagnosing* - but as you say a perfect time to trigger it

    We can’t stop here, this is bat country - Hunter S Thompson RIP

    L 1 Reply Last reply
    0
    • K Keith Barrett

      Something that really bothers me about the current Volkswagen scandal is that the engine management system 'cheat switch' didn't write itself. Assuming that Volkswagen followed a fairly traditional software development model: * someone wrote a specification * someone approved it * someone modified the code * someone reviewed the code * someone tested it So that's at least five people who were involved who either didn't think about the ethical or commercial consequences of what they were doing, or were too scared to do anything. And presumably they all considered themselves to be 'Engineers'. I know software engineers don't have the equivalent of a Hippocratic Oath, but I'm disappointed that those involved at a technical level allowed this to go as far as it did.

      D Offline
      D Offline
      Dominic Burford
      wrote on last edited by
      #12

      I wrote a blog[^] about the very same issue recently.

      "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

      1 Reply Last reply
      0
      • K Keith Barrett

        Something that really bothers me about the current Volkswagen scandal is that the engine management system 'cheat switch' didn't write itself. Assuming that Volkswagen followed a fairly traditional software development model: * someone wrote a specification * someone approved it * someone modified the code * someone reviewed the code * someone tested it So that's at least five people who were involved who either didn't think about the ethical or commercial consequences of what they were doing, or were too scared to do anything. And presumably they all considered themselves to be 'Engineers'. I know software engineers don't have the equivalent of a Hippocratic Oath, but I'm disappointed that those involved at a technical level allowed this to go as far as it did.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #13

        Isn't the DPF cheating too, I mean if you measured the emissions as the DPF was regenerating it would be off the scale. I don't think people buy diesel cars because they are green and have low emissions, they buy them because fuel costs are lower. I just don't get it. The whole thing is a "storm in a teacup"

        K R 3 Replies Last reply
        0
        • pkfoxP pkfox

          OK - I've only seen diagnostics used this way by mechanics err *diagnosing* - but as you say a perfect time to trigger it

          We can’t stop here, this is bat country - Hunter S Thompson RIP

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #14

          We have mandatory checkups every two years. If you don't go to the checkups or if the car does not pass the tests then its license will be void and the next cop driving behind you will pull you over.

          The language is JavaScript. that of Mordor, which I will not utter here
          This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
          "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

          pkfoxP 1 Reply Last reply
          0
          • K Keith Barrett

            Something that really bothers me about the current Volkswagen scandal is that the engine management system 'cheat switch' didn't write itself. Assuming that Volkswagen followed a fairly traditional software development model: * someone wrote a specification * someone approved it * someone modified the code * someone reviewed the code * someone tested it So that's at least five people who were involved who either didn't think about the ethical or commercial consequences of what they were doing, or were too scared to do anything. And presumably they all considered themselves to be 'Engineers'. I know software engineers don't have the equivalent of a Hippocratic Oath, but I'm disappointed that those involved at a technical level allowed this to go as far as it did.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #15

            Keith Barrett wrote:

            didn't think about the ethical or commercial consequences of what they were doing

            At the end of the day it is most likely that they just did what the Director told them to.

            1 Reply Last reply
            0
            • K Kevin Marois

              There's nothing surprising at all about this. In my 30 years of coding I've met all manner of unscrupulous developers who only care about making money and don't give a rats arse if the code they write is right or legal. I wouldn't be the least bit surprised if this came straight from the top.

              If it's not broken, fix it until it is

              G Offline
              G Offline
              GStrad
              wrote on last edited by
              #16

              How can you know whether what you write is legal, unless you know all the applicable laws and bye-laws for for every country in the world? Globalisation has a downside where we as engineers cannot know everything and are very likely to be reliant on market experts to know the laws we have to comply with in their target geographies.

              K 1 Reply Last reply
              0
              • R R Giskard Reventlov

                Keith Barrett wrote:

                I'm disappointed that those involved at a technical level allowed this to go as far as it did.

                Don't be: they did it for this... [^]

                K Offline
                K Offline
                Keith Barrett
                wrote on last edited by
                #17

                I suspect no money found its way into the hands of the engineers. Only the VW executives would have gained. The engineers were probably just following orders.

                C 1 Reply Last reply
                0
                • M Mladen Jankovic

                  Keith Barrett wrote:

                  So that's at least five people who were involved who either didn't think about the ethical or commercial consequences of what they were doing, or were too scared to do anything. And presumably they all considered themselves to be 'Engineers'.

                  I wouldn't mind being one of them. There's nothing unethical in avoiding government standard and commercial consequences are all on management stuff which made the decision.

                  GeoGame for Windows Phone | The Lounge Explained In 5 Minutes

                  K Offline
                  K Offline
                  Keith Barrett
                  wrote on last edited by
                  #18

                  I disagree. It was unethical. The ACM's code of ethics and professional standards says: 1.03. Approve software only if they have a well-founded belief that it is safe, meets specifications, passes appropriate tests, and does not diminish quality of life, diminish privacy or harm the environment. The ultimate effect of the work should be to the public good. What VW did drove a cart-and horses through that one.

                  1 Reply Last reply
                  0
                  • Sander RosselS Sander Rossel

                    Keith Barrett wrote:

                    I'm disappointed that those involved at a technical level allowed this to go as far as it did

                    You're disappointed that engineers are also people?

                    Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                    Regards, Sander

                    K Offline
                    K Offline
                    Keith Barrett
                    wrote on last edited by
                    #19

                    No - people make mistakes for sure. But for this to happen a whole gang of people had to collude in doing something which should have set all their inner alarm bells ringing.

                    Sander RosselS 1 Reply Last reply
                    0
                    • K Keith Barrett

                      I suspect no money found its way into the hands of the engineers. Only the VW executives would have gained. The engineers were probably just following orders.

                      C Offline
                      C Offline
                      Corporal Agarn
                      wrote on last edited by
                      #20

                      Keith Barrett wrote:

                      probably just following orders

                      and keep their jobs

                      Mongo: Mongo only pawn... in game of life.

                      1 Reply Last reply
                      0
                      • G GStrad

                        How can you know whether what you write is legal, unless you know all the applicable laws and bye-laws for for every country in the world? Globalisation has a downside where we as engineers cannot know everything and are very likely to be reliant on market experts to know the laws we have to comply with in their target geographies.

                        K Offline
                        K Offline
                        Keith Barrett
                        wrote on last edited by
                        #21

                        Yes but what we have here is something that is patently wrong by anyone's standards. The code was deliberately designed to cheat during the emissions testing. It's not a question of not knowing the local laws - they knew the law and deliberately flouted it.

                        G 1 Reply Last reply
                        0
                        • K Keith Barrett

                          No - people make mistakes for sure. But for this to happen a whole gang of people had to collude in doing something which should have set all their inner alarm bells ringing.

                          Sander RosselS Offline
                          Sander RosselS Offline
                          Sander Rossel
                          wrote on last edited by
                          #22

                          I'm not talking about mistakes as this probably wasn't a mistake. I'm talking about the evil that men do (which lives on and on[^]). This is one of the lesser evils that probably filled the pockets of quite some people. And they would've gotten away with it too if it weren't for those meddling kids!

                          Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                          Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                          Regards, Sander

                          1 Reply Last reply
                          0
                          • L Lost User

                            Isn't the DPF cheating too, I mean if you measured the emissions as the DPF was regenerating it would be off the scale. I don't think people buy diesel cars because they are green and have low emissions, they buy them because fuel costs are lower. I just don't get it. The whole thing is a "storm in a teacup"

                            K Offline
                            K Offline
                            Keith Barrett
                            wrote on last edited by
                            #23

                            I don't think it's a storm in a teacup, as actual harm has been done. People have been duped into buying cars they might not otherwise have purchased (some people do care about the environment). People with respiratory problems have suffered from the increased NOX emissions, and investors in VW have lost a load of money. And probably VW will start announcing lay-offs soon due to the impact it will have on their sales.

                            L 1 Reply Last reply
                            0
                            • L Lost User

                              Isn't the DPF cheating too, I mean if you measured the emissions as the DPF was regenerating it would be off the scale. I don't think people buy diesel cars because they are green and have low emissions, they buy them because fuel costs are lower. I just don't get it. The whole thing is a "storm in a teacup"

                              K Offline
                              K Offline
                              Keith Barrett
                              wrote on last edited by
                              #24

                              I don't think this is just a storm in a teacup, as actual harm has been done. People have been duped into buying cars they might not have purchased otherwise (some people do care about the environment). People with respiratory problems have suffered from the increased NOX emissions. Investors in VW have lost a load of money. And soon VW will start lay-offs as their sales suffer.

                              1 Reply Last reply
                              0
                              • K Keith Barrett

                                Something that really bothers me about the current Volkswagen scandal is that the engine management system 'cheat switch' didn't write itself. Assuming that Volkswagen followed a fairly traditional software development model: * someone wrote a specification * someone approved it * someone modified the code * someone reviewed the code * someone tested it So that's at least five people who were involved who either didn't think about the ethical or commercial consequences of what they were doing, or were too scared to do anything. And presumably they all considered themselves to be 'Engineers'. I know software engineers don't have the equivalent of a Hippocratic Oath, but I'm disappointed that those involved at a technical level allowed this to go as far as it did.

                                R Offline
                                R Offline
                                Rage
                                wrote on last edited by
                                #25

                                How naive ! You must not know the car industry very well : The "Volkswagen scandal" is only a scandal when viewed from outside of the car industry. Nobody working in the car industry thinks this is a scandal, since everybody is doing it - it is usual business. One example : fuel. Do you honestly believe fuel consumption figures given by a car manufacturers ? Have you already measured how much fuel you can put in your tank ? Do you believe the figures on the gas station are correct when you go and tank ? One subject, already three cheaters. BUT car industry is not the only one -> finance, pharma, real estate are other very interesting areas...

                                Do not escape reality : improve reality !

                                L 1 Reply Last reply
                                0
                                • L Lost User

                                  Isn't the DPF cheating too, I mean if you measured the emissions as the DPF was regenerating it would be off the scale. I don't think people buy diesel cars because they are green and have low emissions, they buy them because fuel costs are lower. I just don't get it. The whole thing is a "storm in a teacup"

                                  R Offline
                                  R Offline
                                  Rage
                                  wrote on last edited by
                                  #26

                                  Display Name Taken wrote:

                                  The whole thing is a "storm in a teacup"

                                  Í totally agree, see also my post below. I do not get what all the fuss is about, it is pretty much like realizing suddenly that a cow produces milk.

                                  Do not escape reality : improve reality !

                                  1 Reply Last reply
                                  0
                                  • K Keith Barrett

                                    I don't think it's a storm in a teacup, as actual harm has been done. People have been duped into buying cars they might not otherwise have purchased (some people do care about the environment). People with respiratory problems have suffered from the increased NOX emissions, and investors in VW have lost a load of money. And probably VW will start announcing lay-offs soon due to the impact it will have on their sales.

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #27

                                    People who care about the environment don't buy diesel cars do they? Do they even own a car at all, a hybrid would be their choice not a noisy smoky diesel. I would be willing to bet 99% of private new car owners don't care about emissions, other than for the tax incentives we get in the UK on lower emission cars.

                                    1 Reply Last reply
                                    0
                                    • R Rage

                                      How naive ! You must not know the car industry very well : The "Volkswagen scandal" is only a scandal when viewed from outside of the car industry. Nobody working in the car industry thinks this is a scandal, since everybody is doing it - it is usual business. One example : fuel. Do you honestly believe fuel consumption figures given by a car manufacturers ? Have you already measured how much fuel you can put in your tank ? Do you believe the figures on the gas station are correct when you go and tank ? One subject, already three cheaters. BUT car industry is not the only one -> finance, pharma, real estate are other very interesting areas...

                                      Do not escape reality : improve reality !

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #28

                                      I agree completely, my car "should" get 75mpg I actually get around 50mpg. They are effectively lying about this as well, I bet "special software" is used to get the lower mpg figures too. The main reason the emissions fixing is an issue is because government revenue is affected.

                                      1 Reply Last reply
                                      0
                                      • G GuyThiebaut

                                        pkfox wrote:

                                        I read that the software knew when the emissions were being tested HOW ?

                                        Google that question and you will find the answer. My understanding is that when testing, the steering and use of accelerator pedal of the car match a certain pattern. The software looked for that pattern and when it saw the pattern it put the engine into a mode where it was less fuel efficient and worked at a hotter temperature reducing emissions - please pardon my less than scientific explanation

                                        “That which can be asserted without evidence, can be dismissed without evidence.”

                                        ― Christopher Hitchens

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #29

                                        Therefore a similar thing like designing a cpu for specific benchmark tests :laugh:

                                        1 Reply Last reply
                                        0
                                        • K Keith Barrett

                                          Something that really bothers me about the current Volkswagen scandal is that the engine management system 'cheat switch' didn't write itself. Assuming that Volkswagen followed a fairly traditional software development model: * someone wrote a specification * someone approved it * someone modified the code * someone reviewed the code * someone tested it So that's at least five people who were involved who either didn't think about the ethical or commercial consequences of what they were doing, or were too scared to do anything. And presumably they all considered themselves to be 'Engineers'. I know software engineers don't have the equivalent of a Hippocratic Oath, but I'm disappointed that those involved at a technical level allowed this to go as far as it did.

                                          M Offline
                                          M Offline
                                          Marc Clifton
                                          wrote on last edited by
                                          #30

                                          Or it could be one person that modified it at the request of some manager, or it could be someone who did it without anyone's knowledge. But those five steps -- spec, approve, modify, review, test -- well, I think you assume too much in this world of agile software development. ;) More than likely, the requirements were outsourced to a consulting agency that was tasked to write that piece of corruption, and the consulting agency didn't really give a damn or, when asked "if in test mode, change the values" didn't realize how the code would be used / abused. Marc

                                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups