diff --git a/en/adding-wifi-driver.md b/en/adding-wifi-driver.md index 8a0a7ed..5c06065 100644 --- a/en/adding-wifi-driver.md +++ b/en/adding-wifi-driver.md @@ -67,13 +67,13 @@ Example: you want to add the RTL8188EUS driver: ### Step 4: Build your firmware Return to the root directory of the openipc firmware directory `openipc-firmware/`. -Run `./building.sh` and select the configuration you have edited in the previous step. +Run `make` and select the configuration you have edited in the previous step. -Alternatively, you can run `./building.sh `, where `` is the name of the config file you have just edited, minus the `_defconfig` +Alternatively, you can run `make BOARD=`, where `` is the name of the config file you have just edited, minus the `_defconfig` Example: you want to build `ultimate` for `hi3516ev200`: -`./building.sh hi3516ev200_ultimate` +`make BOARD=hi3516ev200_ultimate` When the build is complete, you will find the output in the `output/images/` directory: diff --git a/en/majestic-streamer.md b/en/majestic-streamer.md index faf66aa..83ef1e1 100644 --- a/en/majestic-streamer.md +++ b/en/majestic-streamer.md @@ -35,11 +35,37 @@ At the moment it is possible to change parameters in the configuration file via This allows parameters to be changed with a single line in pseudo-dynamic mode on some platforms simply by forcing a re-read of the configuration file. ``` -cli -s .video0.codec h264 ; cli -s .video0.fps 10 ; killall -1 majestic +cli -s .video0.codec h264 ; cli -s .video0.fps 10 ; killall -HUP majestic ``` +### Experimental Control Features (not yet described in endpoints) + +``` +/metrics/gain +``` +``` +/night/ircut +``` +``` +/night/light +``` + + ### Auto day/night detection +If the light sensor gpio is set, it will use the default mode. + +The settings work like this: +```day < [minThreshold] | hysteresis | [maxThreshold] < night``` + +If the sensor gain is 1024 on a bright day the minThreshold could be set to 2000, +if the sensor gain is 32000 on a dark night the maxThreshold could be set to 10000. + +``` +cli -s .nightMode.minThreshold 10 +cli -s .nightMode.maxThreshold 50 +``` + The experiments continue...