Merge pull request #304 from RoboSchmied/SensorIns

Sensor installation example
pull/305/head
Signor Pellegrino 2024-01-19 15:17:34 +03:00 committed by GitHub
commit cb3731af63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 5 deletions

View File

@ -7,24 +7,24 @@ Install Image Sensors
If an image sensor driver is not included in the firmware image, you can install it manually. If an image sensor driver is not included in the firmware image, you can install it manually.
You need a sensor library and one sensor configuration file. You need a sensor library and one sensor configuration file.
The files can be found following [this list](https://github.com/OpenIPC/wiki/blob/master/en/firmware-sensors.md). The files can be found following [this list](firmware-sensors.md).
As an example the image sensor "sc223a" will be installed to a gk7205v210 board ( with openipc-gk7205v210-fpv-8mb.bin flashed). As an example the image sensor "sc223a" will be installed to a gk7205v210 board (with openipc-gk7205v210-fpv-8mb.bin flashed).
Install the files by downloading them directly from github to your device: Install the files by downloading them directly from github to your device:
``` ```sh
curl -s -L -o /usr/lib/sensors/libsns_sc223a.so https://github.com/OpenIPC/firmware/raw/master/general/package/goke-osdrv-gk7205v200/files/sensor/libsns_sc223a.so curl -s -L -o /usr/lib/sensors/libsns_sc223a.so https://github.com/OpenIPC/firmware/raw/master/general/package/goke-osdrv-gk7205v200/files/sensor/libsns_sc223a.so
curl -s -L -o /etc/sensors/sc223a_i2c_1080p.ini https://github.com/OpenIPC/firmware/raw/master/general/package/goke-osdrv-gk7205v200/files/sensor/config/sc223a_i2c_1080p.ini curl -s -L -o /etc/sensors/sc223a_i2c_1080p.ini https://github.com/OpenIPC/firmware/raw/master/general/package/goke-osdrv-gk7205v200/files/sensor/config/sc223a_i2c_1080p.ini
``` ```
Adjust the fps value in /etc/majestic.yaml according to your sensor specs: Adjust the fps value in /etc/majestic.yaml according to your sensor specs:
``` ```sh
cli -s .video0.fps 25 cli -s .video0.fps 25
``` ```
Restart streamer: Restart streamer:
``` ```sh
killall -1 majestic killall -1 majestic
``` ```

View File

@ -32,3 +32,8 @@ or even that it will be included with the final binary for that SoC. Some additi
- [Sigmastar SSC335](https://github.com/OpenIPC/firmware/tree/master/general/package/sigmastar-osdrv-ssc335/files/sensor) - [Sigmastar SSC335](https://github.com/OpenIPC/firmware/tree/master/general/package/sigmastar-osdrv-ssc335/files/sensor)
- [Xiongmai XM510](https://github.com/OpenIPC/firmware/tree/master/general/package/xiongmai-osdrv-xm510/files/sensor) - [Xiongmai XM510](https://github.com/OpenIPC/firmware/tree/master/general/package/xiongmai-osdrv-xm510/files/sensor)
- [Xiongmai XM530](https://github.com/OpenIPC/firmware/tree/master/general/package/xiongmai-osdrv-xm530/files/sensor) - [Xiongmai XM530](https://github.com/OpenIPC/firmware/tree/master/general/package/xiongmai-osdrv-xm530/files/sensor)
Sensor Driver Installation Example
----------------------------------
- [Install sensor sc223a to soc gk7205v210](firmware-sensor-install-sc223a.md)