From what I’ve heard, Lumintop downgraded the driver and then used mismatched firmware. :person_facepalming:
I haven’t been in contact directly since 2019 though, so… I don’t know what they’re doing.
Canonical got rid of most of the Launchpad developers, so the site has been under-maintained for years. One of the consequences of this is, when the tarball function broke, nobody fixed it.
The recommended way to get the code is with bzr/brz (bazaar or breezy):
$ apt install brz
$ brz branch lp:flashlight-firmware
$ cd flashlight-firmware
The bazaar-vs-breezy thing is also a consequence of Canonical firing developers. They got rid of the Bazaar developers, but kept the name and the project ownership… so the developers forked it to a new name and kept working on it. The new one eventually replaced the old one, so now it’s Breezy (brz) instead of Bazaar (bzr).
After the code is branched locally, updates can be applied periodically with “brz pull”.
- pull: apply upstream changes exactly, so the local branch will be an exact copy of the remote branch (may fail if local copy was changed)
If you made your own changes though, it’ll be necessary to use a more complex process: “brz commit ; brz merge ; brz commit”. This saves your local changes, merges in diffs from upstream, and then finalizes the merge. It’s generally a good idea to make sure the local and upstream changes don’t have any conflicts though, before doing the final commit. Breezy tells the user when it detects an obvious conflict, like when both branches changed the same file in different ways… but it can’t detect everything automatically. So, at minimum, it’s a good idea to do a sanity check by running the build script to make sure the code still compiles.
- merge: apply upstream changes, but also preserve local changes
- commit: check in local changes
To make things a little easier, I use a shell alias:
alias b=brz
alias g=git
Then I can use “b” or “g” to run these tools, like “b st” to see a list of changed files, or “b diff” to see exactly what was changed, or “b branch lp:~toykeeper/flashlight-firmware/anduril2” to download a local copy of the latest Anduril2 code.