Repository navigation
fh8852v200_lite_tuya-f1602-d2: the MIS4001 library from source - #294
Conversation
PR Summary by Qodofh8852v200_lite_tuya-f1602-d2: the MIS4001 library from source
AI Description
Merge Risk
|
Code Review by Qodo
1. Stock-firmware origin of the library is no longer stated here
|
|
On the review's two findings, both fair. They go into the follow-up that comes once the owner has tested the library on the camera (OpenIPC/majestic#416):
|
The sensor library and its tuning now come from OpenIPC/openfullhan through the firmware's fullhan-opensdk package, in place of the stock firmware's library this profile carried (OpenIPC/firmware#3027). Same register values; live image.flip / image.mirror switches no longer leave a magenta picture (OpenIPC/majestic#416).
a182ba0 to
7d32c2b
Compare
|
Tested on the camera: this PR's CI image ( I flashed it with Source-built MIS4001 library: all four orientations are correct from a fresh start, and 26 of 26 live switches are correct; details in OpenIPC/majestic#416. Regression, the same checks as on #291:
QR Wi-Fi setup (#293):
So the RTL8733BU works on 5 GHz too. Its driver reports |
The Tuya F1602-D2's MIS4001 library and tuning now come from source, OpenIPC/openfullhan#1, through the firmware's
fullhan-opensdkpackage (OpenIPC/firmware#3078). Until now this profile carried the binary from the stock firmware (OpenIPC/firmware#3027).BR2_PACKAGE_FULLHAN_OPENSDK=y. It installs/usr/lib/sensors/libmis4001_mipi.soand/etc/sensors/mis4001_mipi*_attr.hex.libmis4001_mipi.soand the two tuning files go. The tuning files move unchanged to openfullhan, which now carries their notes.NOTES.md: points to the source and says what changed.What changes on the camera:
image.flip/image.mirrorswitches no longer leave a magenta picture (fh8852v200: switching image.flip / image.mirror live sometimes leaves the picture magenta majestic#416). The stock library read the orientation back and could keep a stale readout window.(1, 2, 1, 0).Merge order
Until #3078 is in firmware master, this profile's CI builds against a firmware whose
fullhan-opensdkcannot be enabled on fh8852v200. Such an image would have no MIS4001 library at all, so this waits.Testing
test-fh8852v200-5-20261204), run with the current nightly. Not confirmed on the camera yet.