Closed rzetterberg closed 6 years ago
Closing since the problem is solved. See "Solution" above. :point_up:
Thanks for the script. I am getting:
sha256sum: WARNING: 1 computed checksum did NOT match
And then, when I try to load the firmware using platformIO I still get the error as before:
Read ".pio/build/teensy36/firmware.hex": 77812 bytes, 7.4% usage
Found device but unable to open
Error opening USB device: Resource temporarily unavailable
Waiting for Teensy device...
(hint: press the reset button)
Found device but unable to open
Thanks for the script. I am getting:
The the file that the script downloads have changed since I wrote the script, which makes the script exit and do nothing. Since nothing have changed from running the script, you still get the same error.
Have a look at the file it downloads and see what have changed. Then you can download the appropriate file and just run this part of the script to install it:
sudo install -o root -g root -m 0664 "[name-of-downloaded-file]" "/lib/udev/rules.d/[name-of-downloaded-file]"
sudo udevadm control --reload-rules
sudo udevadm trigger
Thank you! I did part of that. Just copied the file to /lib/udev/rules.d but I just used a mv command and didn’t do the reload-rules or trigger. It seemed to work but I will do those steps too! Thank you!
Pito Salas Faculty, Computer Science Brandeis University
On Feb 3, 2022, at 5:47 AM, Richard Zetterberg @.***> wrote:
Thanks for the script. I am getting:
The the file that the script downloads have changed since I wrote the script, which makes the script exit and do nothing. Since nothing have changed from running the script, you still get the same error.
Have a look at the file it downloads and see what have changed. Then you can download the appropriate file and just run this part of the script to install it:
sudo install -o root -g root -m 0664 "[name-of-downloaded-file]" "/lib/udev/rules.d/[name-of-downloaded-file]"
sudo udevadm control --reload-rules sudo udevadm trigger
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
I found the instructions on the teensyduino installation page for installing the udev rules to be useful:
https://www.pjrc.com/teensy/td_download.html
Once that's installed, remember to press the reset button!
Problem description
When using
teensy-loader-cli
to flash a layout I get the following error when I press the reset button on my Ergodox EZ:Steps to reproduce
Here are the exact steps I take:
dmesg
)teensy-loader-cli --mcu=atmega32u4 -v -w ergodox_ez_firmware_zeds_layout_mggjzw.hex
teensy-loader-cli
is running and that it has outputWaiting for Teensy device...
Troubleshooting
What I have tried the following without success:
teensy-loader-cli
on different computersSolution
After reading the following PJRC forum post I tried adding the mentioned UDEV rules, and that solved the problem for me:
I'm closing this ticket directly since the problem is solved. The only reason I created it was so that anyone else faced with the same problem will easily find this ticket while searching for "Ergodox EZ found device unable to open" or similar search terms.
For maximum convenience, here's a script that will install the UDEV rules for you (unless you are using NixOS):
install-teensy-udev-rules.sh
If you are using NixOS you simply add this to your
/etc/nixos/configuration.nix
file and runnixos-rebuild switch
: