Edit: solved. The standard installation of Avrdude doesn't have arduinoisp or arduinoisporg in the avrdude.conf file. Find that file, open it in a text editor, find the programmers section, and add this:
programmer id = "arduinoisp"; desc = "Arduino ISP Programmer"; type = "usbtiny"; connection_type = usb; usbvid = 0x2341; usbpid = 0x0049; ; programmer id = "arduinoisporg"; desc = "Arduino ISP Programmer"; type = "usbtiny"; connection_type = usb; usbvid = 0x2A03; usbpid = 0x0049; ;
This is probably a dumb question, so apologies in advance.
I have a keyboard with QMK (at90usb1286 chip), and recently I flashed a bad .hex that essentially soft-bricked the device. It will connect to the PC but keystrokes won't work, and when I try to flash a new .hex I get memory errors. I've tried many things and from the googling I've done what's left for me to do is attempting to ISP program the at90usb1286 chip to get it back up and running.
So I picked up the ArduinoISP (.org version) without doing much research. I didn't realize support for this device is basically nonexistent. I'm having an incredibly hard time figuring out how to use it with avrdude, in both Linux and Windows (I'm primarily trying to do it in Linux due to driver issues). What programmer-id do I need to use? There are a few in the avrdude docs that would make sense:
Many of those seem to be for Atmel programmers, which I'm not sure would be seen the same as the ArduinoISP in the system. There's also "arduino-ft232r", but that doesn't look right.
Aside from trying to figure out which programmer-id to use, I think I'm also having trouble with specifying the port. I've blindly tried a variety of the programmer-ids listed above and I'm getting one of two errors depending on what I'm using. If I use "avrisp" or "avrispw" I get this:
avrdude: ser_open(): can't set attributes for device "/dev/ttyS0": Inappropriate ioctl for device
If I use anything else I get this (I can't remember what I get if I try "arduino" though):
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
And in Windows my ArduinoISP programmer isn't showing up as a COM device with the drivers from the Getting Started section of this website (which are pretty broken btw; had to modify the .inf file).
Any help would be appreciated. It should be noted that I'm trying to use the ArduinoISP right out of the box without uploading any kind of sketch to it (I assume it came preloaded). I'm incredibly lost and feel like I've spent my money poorly by buying this ArduinoISP instead of something else.