-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mdloader doesn't detect ALT keyboard #36
Comments
Commenting to get some visibility on this but yup I'm having the same issue with the ALT I got 2 weeks ago. I'm guessing these newest batch has another new chip ID in it that the current code doesn't account for |
Same here, does not detect on my mac |
Ok, i resolved this by going into the source code, modifying line 38 in mdloader_common.c by changing the chip id to "0x60060005". Go to the command line, type make and you've built your own binary to run. |
@mbodge That worked! Thanks! |
There's also a chance that the CHIP ID is 60060305 in the new batch of Alt |
Can someone tell me how i can modify the code to add the correct CHIP ID in order for the program to recognize my new ALT. Once I download the downloader, is there an easy way to edit the code and recompile? |
I'm having the same issue, got my alt this week |
This worked for me just now on macOS with my day-old Drop Alt. I used |
Do you have any clue how I can compile it on windows? |
I would also really like to know |
@brewerbjb @scrumyy Can you install a quick Linux VM using VirtualBox and compile and run it from in there? |
For the sake of potential other readers of this thread -- I was getting the |
compiled in Linux VM, but when running in the VM I get error "mdloader_linux: command not found". Any ideas what I might be doing wrong? |
Having the same issue; just bought a new Alt and getting this error message on both Mac and Windows. I tried running it as admin on Windows per @mattdzugan 's suggestion and it made no difference. This is GitHub; if we know the fix, could someone make a pull-request and hope that Massdrop merges it and does a new release? Has anyone contacted customer service? This seems to be a really widespread issue and a really easy thing for them to fix. |
@mbodge You're awesome! Thanks so much for sharing this solution!! |
I'm an absolute total newbie to coding, would it be possible to get some directions on how to compile this? I already got the file opened and edited the line in question, but I'm not sure how to compile a program in CMD. |
@SolaireFlair Are you on a mac or a pc?
…On Sat, Oct 3, 2020 at 2:56 PM SolaireFlair ***@***.***> wrote:
Ok, i resolved this by going into the source code, modifying line 38 in
mdloader_common.c by changing the chip id to "0x60060005". Go to the
command line, type make and you've built your own binary to run.
I'm an absolute total newbie to coding, would it be possible to get some
directions on how to compile this? I already got the file opened and edited
the line in question, but I'm not sure how to compile a program in CMD.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOTT4WD4O5X37XAYEXR4FTSI6M2PANCNFSM4QZRRH5A>
.
|
@mbodge Windows PC |
Ah, sorry, unfortunately i don't know how compiling on windows works.
…On Sat, Oct 3, 2020 at 3:29 PM SolaireFlair ***@***.***> wrote:
@mbodge <https://github.com/mbodge> Windows PC
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOTT4UWDEZ6MDEEJQB5ACLSI6QTZANCNFSM4QZRRH5A>
.
|
Darn, ok. I have a friend who might be able to help. He's gonna come over in about an hour. Hopefully I can get it done. |
I still did no receive my Alt, so I cant test it - but I found that somewhere round here: https://drive.google.com/file/d/1KvyRvtoVVE3OQdiWAKgj-XZll37Cxy4H/view Supposed to be a fixed version for Windows, maybe give it a try. Also: did you try the release from two days ago? Changelog suggests the problem is fixed:
And it does have the 0x60060005 (and 305) lines added to mcus[] like suggested above. Always go for official releases instead of shady binaries from Google Drive - if you can. HTH |
This Stack Overflow article seems like it could help. |
@0x4a I've tried the updated version from two days ago and still no dice, and the one you linked to spat this out when I tried to flash: Scanning for device for 60 seconds Had to disconnect the keyboard to get it to quit. When using the official release, the keyboard sits with the orange "connection error" LED on and Powershell spits this out: Opening port 'COM9'... Success! |
As far as I can see, thats the chip-id you would need for it to work (said so somewhere on drop discussions). Found another version here which explicitely mentions that 60060005 ID you got. Give that a try or set up a build environment (I would use WSL) and build yourself. Good luck! Can't wait to get my keeb, and to have to go through the same hassle ;-) |
MY MAN. @0x4a you came through. That build you linked works. I have been wracking my brain for DAYS, but this did the trick. |
just updating this for anyone that reads. I have a brand new alt and the change from 5 days ago appears to solve the issue of the chip id being incorrect or missing. There is a small bug where the mdloader is looking for applet 19 and the one provided is 18. I simply renamed the 18 to 19 in the applet file and all works as expected. Good luck |
Is this still an issue? I think it might be obsolete as the code now seems to include 0x60060005. What worked for me and I wish the README would've mentioned was to first "reset" the board with a pin. Only then would the loader actually detect the board. |
I just got an ALT keyboard and am trying to flash the firmware. When I run mdloader on Windows I get an error "could not find a valid device port!".
The text was updated successfully, but these errors were encountered: