logoalt Hacker News

Man Hooks Up His 1994 Jeep Cherokee to ChatGPT

31 points • by thehoff • yesterday at 9:04 PM • 12 comments • view on HN

Comments

js2 • today at 7:05 PM

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.

➕ show 1 reply
treetalker • yesterday at 9:36 PM

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>

➕ show 1 reply
tmysl • today at 6:51 PM

We're missing the chat-JEEP-T pun here.

JoeAltmaier • yesterday at 9:06 PM

"Make the necessary adjustments to pass the smog test."

A curious statement. Does that mean, fudging the log?

➕ show 1 reply
twobitshifter • today at 6:55 PM

If you have seen the video, this guy is in full on AI psychosis believing everything the AI hallucinated as to why it could not fix his car.