-
Notifications
You must be signed in to change notification settings - Fork 14
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
[FIXED] Speed Editor won't update (after 18.0.2) but still works #25
Comments
I had this problem with similar debug output a few months ago when trying to get Resolve working within Docker on Pop_OS 22.04. In my specific case, Resolve would not let me use the device until the upgrade was completed so I eventually gave up on getting the update to work via the container. Instead I updated the firmware via two methods (I have two Speed Editors): a) Under MacOS After I updated the firmware, the Speed Editor functioned perfectly through the container. |
I should be clear that the keyboard IS working even though it gets that weird error when updating. From watching a few teardown videos, it seems that the SE is built around a Silicon Labs BGM113 (spec sheet) that apparently uses Device Firmware Update mode (hence DFU), see page 38 here for details:
UART = the serial protocol used (via USB in linux), and the sequence described above seems to match the process from that mini-log, but perhaps for whatever reason it's unable to boot into DFU mode? Or maybe it DID work, but it got stuck on step 6, the reset command... not sure. Error codes are listed in section 2.16, but aside from "failed to get DFU interface after download" and "current boot mode 255" (instead of 0, which usually means the correct result), not sure what the probelm is. If as you say it works under linux w/o the container, it's probably SOME missing permission required for doing this type of firmware update.. but what is it I wonder... |
I think I may have found the fix. I wanted to use Then I read you should try adding After adding
And I noticed that THIS time-- it doesn't even ask to update the keyboard! What?!! No error? Clicking the version number brings up more build info: Cool! So I try it again, this time WITHOUT
And.. it comes up fine! I didn't try doing a factory reset of the keyboard, but at least everything seems to be correct now (?) Could someone confirm that adding (I should add this is on the 8.0.3 release that came out an hour or so ago, not that I think it matters) |
A few updates: Once the issue was "fixed", I could remove I can't figure out what's so special about ptrace that would fix something like this, so I had a look at this discussion. I'm using podman, but I was interested in this:
Specifically, CAP_SYS_PTRACE on docker enables these syscalls:
On podman, it seems to work slightly differently, enabling:
Both of these have to do with accessing info about another process. Note the ptrace syscall itself isn't included in podman's implementation, nor is process_vm_readv/writev. Maybe it's not needed in a rootless container..? So what does this all tell us about why CAP_SYS_PTRACE seems to fix this issue? Not much. I'm inclined to leave this issue open and hope someone who has the speed editor firmware update issue might chine in on whether CAP_SYS_PTRACE fixed it for them as well (on either docker or podman). It is fully updated and working on my set up, so I can't really play with it until the next time there's a firmware update. Incidentally, I just tried a "factory reset" operation from the Control Panel without CAP_SYS_PTRACE included and it seems to have worked without incident. |
Update: So, with DaVinci Resolve 18.1.2--- It seemed to do the update, slowly flashed the SE, but then got the "Update Failed!" even with
Kept offering to re-do the update, but when I quit and restarted the container and ran |
This appears to be fixed (?), at least for me, and nothing new since Dec last year, so closing. Re-open if updating the SE again becomes an issue. |
Update for DVR Release 19, beta 1-- With |
18.0.2 told me there was a version update. I tried to update via:
sudo ./opt/resolve/DaVinci\ Control\ Panels\ Setup/DaVinci\ Control\ Panels\ Setup
It started to work..
But then didn't:
The log said:
Now when I run it and try to update I get the "Failed" dialog and this:
The speed editor appears to still work, and I no longer get notices that there is an update. So did it update? I have no idea, but if anyone does, let me know.
(I don't have an other OS like Mac/Windows to see if there is an error w/them..)
The text was updated successfully, but these errors were encountered: