Hackaday Links Column Banner

Hackaday Links: November 26, 2017

Hey, it’s sometime between Black Friday and Cyber Monday. We’re blowing out everything in the Hackaday Store. There’s some great deals in there. Tindie, our lovable robot dog is also heading up hundreds of Tindie deals for Cyber Monday. If you want some electronic stuff direct from the people who make it, this is the sale to check out.

Looking for some other Black Friday/Cyber Monday sales? Adafruit has compiled a list of retailers so I don’t have to. Thanks, Phil. There are deals from Lulzbot to Makerbot, LittleBits to Sparkfun.

The engineer responsible for Dieselgate has been sentenced to 40 months in prison. There are two takeaways from this: 1) The Nuremberg Defense doesn’t work. 2) Don’t build a business plan around breaking the law, despite what the libertarian hellscape of Hacker News tells you.

The theme for next year’s DEF CON has been announced. It’s, “1983”. What does that mean? Brutalist architecture, first of all. They’re also going for a ‘year before 1984’ thing, where everyone installs always-on, far-field microphones in their house and connects them to the Internet. In other news, Alexas and Google Homes are on sale this Black Friday. Big props for the official DEF CON style guide with typefaces and colors, though.

Over on Hackaday.io, [Frank] has created a very interesting and very cool game for the Vectrex. It’s called Bloxorz, and you can think of it as a cross between Marble Madness and Q*Bert. It’s a puzzle game, and now it’s a project on Kickstarter. Want to check out what this game looks like? Take a look at the video. It’s big into the tradition of early-90s puzzle games (a genre we wish would come back), and if I had a Vectrex, I’d buy one.

I told you SparkleCon tickets are on sale, right?

Here’s an argument you can settle. What is the grit designation of sandpaper? Sandpaper comes in various grits, from 60 (very coarse) to 1500, 2000, and 6000 (for polishing, basically). Here’s a question: how are these numbers derived? I have a vague memory from my youth where someone who probably didn’t know what they were talking about said grit sizes are the number of abrasive particles per some unit of area. A 60-grit sandpaper would have sixty particles of aluminum oxide per square quarter inch, for example. This sounds too stupid to be correct, doesn’t fit with the mesh sizes of different grades of sandpaper, and a cursory Googling does not tell me how sandpaper grit sizes are derived. What say you, Hackaday peanut gallery? Where do the numbers on the back of a sheet of sandpaper actually come from?

Audi Engineer Exposes Cheat Order

In an interesting turn of events last week in a German court, evidence has materialized that engineers were ordered to cheat emissions testing when developing automotive parts.

Last Tuesday, Ulrich Weiß brought forward a document that alleges Audi Board of Director members were involved in ordering a cheat for diesel emissions. Weiß was the head of engine development for Audi, suspended in November of 2015 but continued to draw more than half a million dollars in salary before being fired after prior to last week’s court testimony.

Volkswagen Group is the parent company of Audi and this all seems to have happened while the VW diesel emissions testing scandal we’ve covered since 2015 was beginning to come to light. Weiß testified that he was asked to design a method of getting around strict emissions standards in Hong Kong even though Audi knew their diesel engines weren’t capable of doing so legitimately.

According to Weiß, he asked for a signed order. When he received that order he instructed his team to resist following it. We have not seen a copy of the letter, but the German tabloid newspaper Bild reports that the letter claims approval by four Audi board members and was signed by the head of powertrain development at the company.

Hackaday was unable to locate any other sources reporting on the letter other than the Bild article we have linked to (also the source used in the Forbes article above). Sources such as Die Welt reference only “internal papers”. If you know of other reporting on the topic please leave a comment about it below.

 

32C3: Dieselgate — Inside The VW’s ECU

[Daniel Lange] and [Felix Domke] gave a great talk about the Volkswagen emissions scandal at this year’s Chaos Communication Congress (32C3). [Lange] previously worked as Chief architect of process chain electronics for BMW, so he certainly knows the car industry, and [Domke] did a superb job reverse-engineering his own VW car. Combining these two in one talk definitely helps clear some of the smog around the VW affair.

[Lange]’s portion of the talk basically concerns the competitive and regulatory environments that could have influenced the decisions behind the folks at VW who made the wrong choices. [Lange] demonstrates how “cheating” Europe’s lax testing regime is fairly widespread, mostly because the tests don’t mimic real driving conditions. But we’re not sure who’s to blame here. If the tests better reflected reality, gaming the tests would be the same as improving emissions in the real world.

As interesting as the politics is, we’re here for the technical details, and the reverse-engineering portion of the talk begins around 40 minutes in but you’ll definitely want to hear [Lange]’s summary of the engine control unit (ECU) starting around the 38 minute mark.

[Domke] starts off with a recurring theme in our lives, and the 32C3 talks: when you want to reverse-engineer some hardware, you don’t just pull the ECU out of your own car — you go buy another one for cheap online! [Domke] then plugged the ECU up to a 12V power supply on his bench, hooked it up, presumably to JTAG, and found a bug in the firmware that enabled him to dump the entire 2MB of flash ROM into a disassembler. Respect! His discussion of how the ECU works is a must. (Did you know that the ECU reports a constant 780 RPM on the tacho when the engine’s idling, regardless of the actual engine speed? [Domke] has proof in the reverse-engineered code!)

The ECU basically takes in data from all of the car’s sensors, and based on a number of fixed data parameters that physically model the engine, decides on outputs for all of the car’s controls. Different car manufacturers don’t have to re-write the ECU code, but simply change the engine model. So [Domke] took off digging through the engine model’s data.

Long story short, the driving parameters that trigger an emissions reduction exactly match those that result from the EU’s standardized driving schedule that they use during testing — they’re gaming the emissions tests something fierce. You’ve really got to watch the presentation, though. It’s great, and we just scratched the surface.

And if you’re interested in our other coverage of the Congress, we have quite a collection going already.

The DMCA May Have Allowed Volkswagen To Hide ECU Software From The EPA

A lot of questions have been raised by the recent “dieselgate” scandal. Should automakers be held accountable for ethically questionable actions? Are emissions standards in the United States too restrictive? Are we ever going to stop appending “gate” onto every mildly controversial news story? But, for Hackaday readers, the biggest question is most likely “how did they get away with it?” The answer is probably because of a law a lot of hackers are already familiar with: the DMCA.

If you haven’t seen the news about Volkswagen’s emissions cheating scheme, we’ll get you caught up quickly. In the United States, EPA emissions testing is done in a very specific and predictable way. Using clever ECU software tricks, Volkswagen was able to essentially “detune” the engines of their diesel vehicles when they were being tested by the EPA. This earned them passing marks, while allowing them to provide a less-restrictive ECU profile for the normal driving that buyers would actually experience.

How could they get away with this simple trick when a brief look at the ECU software would have revealed it? Because, they were able to hide under the umbrella of the DMCA. The ECU software is, of course, not intended to be user-accessible, which means that Volkswagen is allowed to lock it down. That, in turn, means that the EPA isn’t allowed to circumvent that security without violating the DMCA and potentially breaking the law. This kept the EPA’s hands tied, and Volkswagen protected. They were only found out because independent testing (that didn’t follow EPA procedure) revealed vastly different emissions levels.

Is your blood boiling yet? Add this to the stack of reasons why the EFF is trying to end the DRM parts of the DMCA.

[via /.]