mdloader not working for Alt?

more_vert
I just got an Alt in yesterday and everything about it is great, but I can't flash. mdloader doesn't see it. This is on Linux Mint 20 and yes, I have put it into dfu mode with fn+B. mdloader -l shows no devices found. mdloader --first -D firmware_name.bin --restart shows "Could not find a valid device port" I've also tried this in Windows with the same result. I've tried the fix from here: https://drop.com/talk/51637/if-you-are-having-problem-flashing-new-batch-of-alt (change the chip ID to 60060305 and build from 1.0.3 source) with the same result. Anyone know what's going on? EDIT: OKAY THIS WORKED WHEN I RAN IT WITH SUDO i don't recall that being mentioned anywhere but, verbose flag said it didn't have permission for the port. so i sudo'd it and it worked. with the latest version (1.0.4) and no modifications. wow :\
(Edited)
100% upvoted
1
5
remove_red_eye
307

search
close
jmckaskill
0
Jan 3, 2021
Since the command worked with sudo, be sure to check the permissions and groups on the /dev/ttyACM* devices. I had the same problem and resolved it by adding myself to the uucp group.
RelativelyFine
1
Sep 6, 2020
Also having this issue.
mistafree
0
Sep 2, 2020
I am having the exact same problem as well. I've tried what you've stated above, as well as making a new folder and triple checking to make sure that I have the right files from github downloaded. I've also done two different keyboard resets to make sure as well (the reset button on the back as well as FN+B). (I'm on Windows)
(Edited)
heytanuki
17
Sep 2, 2020
Thanks! I also tried 0x60060306 just in case. I don't really know how to get chip IDs from either linux or windows or in the code.
mistafree
0
Sep 2, 2020
I'm currently troubleshooting with a few people. I'll definitely let you know if I find a workaround.