Sorry if this is unhelpful - this happened to me a few months back and I
_think_ what happened was my version of either avrdude, gcc or some other
part of the chain was incorrect. I was using OS X and homebrew and pretty
sure I solved it by uninstalling and reinstalling the correct versions of
the different software and dependencies.
Again, sorry if I'm remembering this incorrectly, but I'd check those
things out if I were you. Or verify that the commands being called are
pointed to the right versions of the binaries, if you have more than one
(PATH and stuff)
On Mon, Jul 31, 2017 at 12:35 PM Tyler Smith <tyler@xxxxxxxxxxxx> wrote:
Hi,Vinney Cavallo <http://vinneycavallo.com/>
I'm having trouble uploading a modified firmware to my atreus. In normal
use, the atreus appears at:
/dev/usb/hiddev0
In bootloader mode it is not visible at all - diffing /dev/ before and
after shows no difference.
make upload USB=/dev/usb/hiddev0
does nothing - it just waits until I cancel
Repeating the make upload command as root I get the following:
.../keyboard/atreus make upload USB=/dev/usb/hiddev0
if [ -f /dev/usb/hiddev0 ] && [ ! -r /dev/usb/hiddev0 ]; then echo
"Warning: no read permission!"; fi; \
while [ ! -r /dev/usb/hiddev0 ]; do sleep 1; done; \
avrdude -p atmega32u4 -c avr109 -U flash:w:atreus.hex -P
/dev/usb/hiddev0
avrdude: ser_open(): can't set attributes for device "/dev/usb/hiddev0":
Inappropriate ioctl for device
avrdude done. Thank you.
Makefile:143: recipe for target 'upload' failed
Where should I start debugging?
Thanks,
Tyler
--
plantarum.ca
--