News for hackers. Stuff that matters.
Re:You don't ever own an electric vehicle by stavros on Friday March 11, 2022 @03:06PM (#30645331)
Can I also send CAN messages to manipulate the throttle programmatically?
Re:You don't ever own an electric vehicle by wffurr on Friday March 11, 2022 @03:24PM (#30645534)
You sure can. In fact, at least for my car (2018 Chevy Bolt), it's possible to find detailed instructions on how to wire up a throttle interceptor and hook it up to a Comma2 unit to add adaptive cruise control when it wasn't even available as a factory option.

I even briefly considered doing so after reading a favorable review of the Comma2's driving algorithm by Consumer Reports, but decided too much could go wrong with messing with my car's throttle wiring.

Re:You don't ever own an electric vehicle by stavros on Friday March 11, 2022 @03:25PM (#30645553)
Hmm, that's interesting... Why is the throttle interceptor necessary? Is the CAN bus jack read-only somehow?
Re:You don't ever own an electric vehicle by kube-system on Friday March 11, 2022 @03:33PM (#30645630)
There are other devices on the bus looking for messages specifically from the throttle address. The idea is that you want to change those messages, but only sometimes (i.e. when cruise is on), so MITM'ing the messages is the easiest way to implement this.
Re:You don't ever own an electric vehicle by stavros on Friday March 11, 2022 @03:33PM (#30645643)
Ah okay, I assume you can't just spoof the address then, thanks.
Re:You don't ever own an electric vehicle by kube-system on Friday March 11, 2022 @03:49PM (#30645818)
You could, but you'd have two devices reporting different values for the same address and the devices reading that value wouldn't know what to do.
Re:You don't ever own an electric vehicle by numpad0 on Saturday March 12, 2022 @01:10AM (#30649346)
I don't own a car so can't stick my head under the driver's seat to verify, but it seemed like many recent cars has:

- Reporting features for brake, gas, steering inputs, a la SNMP

- Computer assisted brake, with a backup linkage

- Fully electronic gas pedal, with a speed sensing cruise control

- Electric/electronic power steering, using a torque/relative deflection sensor

These features are case-by-case:

- Command based "write" access for brake/gas/steering

- Absolute steering position sensor

So a lot of older cars require special spliced cables to fake analog readouts or nonstandard digital links to retrofit a self drive, and newer cars still needs to be purchased with those input features enabled as well.

Re:You don't ever own an electric vehicle by mdaniel on Friday March 11, 2022 @03:29PM (#30645594)
It may interest you to know that's Comma.ai's whole "business model:" https://github.com/commaai/openpilot#what-is-openpilot
Re:You don't ever own an electric vehicle by contingencies on Friday March 11, 2022 @06:55PM (#30647609)
AKA autonomous driving startup.