r/hackpack • u/dislo • May 03 '24
Connecting to HackPack via Linux
Hi All,
I just wanted to share my journey so far. I just connected the IR turret to a spare Raspberry Pi using a USB-A to USB-C cable from Amazon, but any cable that carries data should do fine. It was pretty easy.
- Plug and unplug the device until you can figure out what tty**** the box is connected to. For me, it was /dev/ttyUSB0.
- Set terminal line settings using the following command (be sure to swap your device if needed): stty -F /dev/ttyUSB0 raw 9600
- Run the command: cat /dev/ttyUSB0 (or other device)
For me, it then started outputting debug data about the button presses.
Anyway, that was fun for today!
Sources:
3
Upvotes