07-20-2021, 09:33 PM
Quote:Holy shit you are right. It works!
Great, I'm glad it works. That gives me confidence that the fix I'm working on will solve this issue for others.
Quote:That's amazingly simple, I just never tried it since I figured 'autofocus' means focussing by itself.
Autofocus is meant to focus by itself, and it does, but only once the firmware successfully loads. The driver has a bug that means the firmware only manages to load once Megapixels has started and the screen has been touched. The fix I'm working on should mean autofocus starts on camera launch, and camera launch should be faster too.
Quote:I still wonder why dmesg reports a failure to start the firmware. Maybe it's just wrong debugging information and the firmware is only supposed to start upon touch input in the first place.
The dmesg log you see is a genuine failure to start the firmware. At the time this occurs, the firmware does fail to start, due to a bug in the driver.
When Megapixels is open, the driver is in a different state, and in this state the firmware is able to load. dmesg should then report that the firmware started successfully.
The fix will make sure the firmware loads successfully when it's meant to.