-
Notifications
You must be signed in to change notification settings - Fork 109
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
Switch from rusb
to nusb
#176
Comments
I've started working on this. |
It turns out this was very straightforward and I'm almost done. However, sending the equivalent of |
if you already have rootshell on the device, i've been using this to revert command mode:
and then wait for it to reboot |
Sorry if I'm just adding noise, but I don't think that command is supposed to change it out of "command" mode. When I repeat the ./install-linux.sh I see "Device already in command mode. Doing nothing...", implying the current behavior does not change it back to its "out of the box" state, right? |
Correct, I was just blindly and very quickly using the hammer I had in front of me to see if sending 0xa0 or another message (like 0x00, etc) would change the user mode, rather than doing any real research. :) I wasn't expecting much, but it seemed worth the 60 seconds I spent on it. |
Per a tip from @m0veax, we might consider updating the
serial
script to use https://crates.io/crates/nusb instead of rusb since nusb is pure rust and doesn't depend on libusb.The text was updated successfully, but these errors were encountered: