Top
Best
New

Posted by thehoff 1 day ago

Man Hooks Up His 1994 Jeep Cherokee to ChatGPT(www.thedrive.com)
124 points | 75 comments
js2 4 hours ago|
Yeah, well, I have Apple CarPlay feeding directions to the head-ups display on my 2016 Mazda CX-9 when running either Apple or Google Maps. I also made the physical mute button pause/un-pause whatever media is playing. By, "I", I mean that I worked with Claude and Codex. The "hook" to get the Mazda entertainment system to run your own code when you plug in a USB thumb drive is having an empty file on the drive named like so:

  $(awk -v f=%c 'BEGIN{s=f f f f f f f f f f f f f f f f f f f;system(sprintf(s,115,104,32,47,109,110,116,47,115,100,91,97,98,99,100,93,49,47,116))}').up
The entertainment system (running Linux) sees an *.up file as an update file, which it tries to unzip and in so doing passes the filename to the shell, which runs the awk script, which runs `/mnt/t` and away you go. The filename needs to be FAT-32 compatible, hence encoding it in awk.

(There's a separate flaw that lets you run whatever javascript you want using mp3 files on the USB with titles that aren't properly escaped before the entertainment system displays them. Both of these incredibly primitive flaws trigger Claude Fable's safety controls to terminate the session, so I ended up doing most of the work with Codex, which btw, is so much less annoying than Claude in every possible way.)

Based on this work:

- https://github.com/KidMixer/mazda-carplay-hud

- https://mazda-toolkit.monodev.org/

Adapted for North America, and my own particular sensibilities about what I wanted displayed on the HUD.

That Jeep Cherokee is a fantastic vehicle. A 1996 Cherokee Limited w/Upcountry suspension was the first vehicle I purchased new. Finally sold it when it was old enough to drink.

hnlmorg 2 hours ago||
Back when the original RaspberryPi was released, I built an in car entertainment system that used TTS to announce artist and album names, and had physical buttons wired into the GPIO pins.

I’d have killed for something like ChatGPT back then to help with the EE.

loeg 3 hours ago|||
As usual, motorcycles are 10 years behind cars, but you can cast CarPlay/Android Auto to stock Yamaha motorcycle displays with Pillion: https://github.com/alexandrevega/pillion
cloudfudge 1 hour ago|||
Clever trick. In case anyone else is curious, what that string evaluates to is "sh /mnt/sd[abcd]1/t"
novia 3 hours ago|||
Codex is much less annoying than Claude, but, last night it started issuing major refusals for benign tasks in a way that makes me think they also might be going down the dark path
VladVladikoff 2 hours ago|||
Something with how my glasses and vision works but I absolutely loathe those heads up displays. I know someone with a Mazda cx30 and driving it was a painful experience. As in literally painful, it gave me a terrible headache and I can’t see well through that portion of the window. Maybe because of my astigmatism.
js2 2 hours ago||
You can adjust its height or turn it off entirely. I wonder if it might be the refresh rate. I really miss the HUD in cars that don't have it, especially the current vehicle speed is nice to have.
fc417fc802 49 minutes ago|||
Not op and no astigmatism (AFAIK) but agreed that certain flicker rates certainly bother me sometimes. Separate from that many displays have an indescribable quality to the light that I sometimes find irritating and I've heard similar things from other people. However I've never gone to the trouble of rigorously quantifying the phenomenon since it would be so much effort.
dmoy 2 hours ago|||
> I wonder if it might be the refresh rate

Having previously fought through various very-bad-astigmatism-induced headache things, I kinda doubt it.

I've had similar headaches from things with no electronics - bullseye practice with a mis-adjusted lens for astigmatism can trigger it.

Only real solution is to fix the corrective lenses (glasses, contacts, separate lens inserts, laser eye surgery, whatever).

obmelvin 3 hours ago|||
OMG. I have long wished that my '21 CX-5 would show the CarPlay directions in the HUD in addition to the built-in maps.

This is amazing. Thank you so much for posting. Excited for this project :)

syntaxing 3 hours ago||
Super cool, is the HUD stock or is it after market?
js2 3 hours ago||
Stock HUD. It displays navigation instructions via the built-in Mazda nav system, but when Mazda added CarPlay support, they didn't tie it to the HUD. Turns out it's relatively straightforward to read directions from CP (or AA) and send them to the HUD.
bishop_mortimer 2 hours ago||
I was working on software on the radio for the Jeep and other Fiat (Chrysler) vehicles back in the early 2010s. My company doing infotainment, the OS was from RIM (Blackberry), Built-in network radio from Sprint. Somebody made some mistake somewhere at RIM, and you could find any car with the software on the local Sprint network and get into the Canbus. You could, for example, deploy the brakes.

https://www.wired.com/2015/07/hackers-remotely-kill-jeep-hig...

I'm mostly glad it wasn't our fault.

The OS was Odd. Same Java UI as BlackBerry. Our software was in a sandbox which was a little rough. Based on a coworker's calculation every web request we made had exactly a 1 second delay, like someone left a sleep(1000) statement in.

treetalker 1 day ago||
Made me think that installing a local model with text-to-speech could give us a real-world KITT from Knight Rider.

<begins searching for used Trans Ams>

tantalor 3 hours ago||
Faster, Knightboat, we got to catch those starfish poachers.

https://www.youtube.com/watch?v=uoV1-fsFCmw

not_a_bot_4sho 3 hours ago||
Look! A canal.
potmat 3 hours ago||
There's always a canal!
shagie 2 hours ago||
Danger Boat from The Tick ( https://youtu.be/1cFNKnNfCYs - voiced by Alan Tudyk who really does sound like David Daniels / KITT).
rootsudo 1 hour ago||
This was posted before on HN: https://news.ycombinator.com/item?id=50463399 the comments were different.
wpm 1 hour ago|
The top comment there is spot on, handing the keys over to a real "thing" to one of these is awesome in the "awesome power" kind of way, not in the "totally tubular" sense.

I hooked up a weird proprietary serial printer and a webcam to a linux host that was also running a Windows 2000 VM in qemu and told an LLM to reverse engineer the ancient drivers for it. Hearing the printer print jobs the LLM sent totally on its own was a penny drop moment for me.

harrylepotter 2 hours ago||
as a homeassistant user who's connected and automated almost every dumb device in their home using esp32s (like many have), I can't help but feel slightly underwhelmed by this article.
kqr 1 hour ago|
Sorry, do you have more information on this? I lack the imaginination to understand how someone would automate dumb home devices with microcontrollers.
oculetteai 52 minutes ago|||
microcontroller-powered MCP Cameras allow you to read arbitrary state which is pretty nice, and actuating depends on the device. I used a microcontroller-powered MCP IR blaster + microcontroller-powered MCP camera to automate fixing my AC.
knodi123 51 minutes ago|||
aren't you just tired of manually pressing the lever on your toaster?
t1234s 3 hours ago||
Wouldn't be surprised if this guy gets job offers by edelbrock or similar companies that are in the market of making upgrades for older cars. Modules to add the tesla-app like functionality to older electro-mechanical cars is kinda cool idea.
SecretDreams 2 hours ago||
Retro future cars where the voice that talks to you might sound like a genius, but the interior feels like something nice from a simpler time?

Count me in!

schwap 6 minutes ago|||
Not to be dismissive, but the only impressive part of this article is that AI enabled a layman to do this.

Nothing he did is novel from an aftermarket perspective. Aftermarket remote start or wiring harnesses to retrofit head units have been around for decades. So has aftermarket ECU reprogramming.

Edelbrock sells their own ECUs, they employ plenty of people capable of this.

potmat 3 hours ago||
Really doubt Edelbrock would ever release a hack like this as a real product. It's impressive but almost certainly violates some TOS somewhere.
Zak 38 minutes ago||
Cars didn't have terms of service until recently, and even those only show up when activating certain networked or subscription features.
kaeland 2 hours ago||
Man, this is so cool! Would love to see the process of him integrating some of the other features he mentioned later in the video too.
nathannaveen 3 hours ago||
Don't get me wrong, this is really cool! But I just can't help thinking this is a bad idea from a security perspective.
georgel 1 hour ago||
https://news.ycombinator.com/item?id=45519575
stronglikedan 2 hours ago||
No one is gonna steal a 30 year old jeep, or even waste their time robbing someone that does. It would be like punching down, lol.
eventualcomp 2 hours ago||
The assumption you're making is that the only threat is a robber, which I think is hopeful.

Not to mention that punching down is fun to some people, that's what bullies do.

andgrocon 1 hour ago||
[dead]
tmysl 4 hours ago|
We're missing the chat-JEEP-T pun here.
CoastalCoder 3 hours ago|
As a dad, I approve of this pun's quality.
More comments...