Skip to content

STMicroelectronics/vd1943-linux-driver

ST-VD1943 Linux driver

Supported Devices

This driver supports the following devices :

  • VD1943: RGB-IR sensor
  • VD5943: Monochrome sensor

Installation

Driver

Compile the driver using the Makefile

make

Place it in the kernel modules folder.

sudo cp vd1943.ko /lib/modules/$(uname -r)

Resolve modules dependencies.

sudo depmod -a

Device tree

Compile the device tree overlay matching your platform and plugin board from the dts folder.

sudo dtc <device-tree>.dts -o /boot/firmware/overlays/<device-tree>.dtbo

Set the device tree overlay in your platform. This may differ from platform to platform. Please refer to your platform documentation.

This is how to set the device tree overlay for Raspberry Pi.

echo "dtoverlay=<device-tree>" | sudo tee -a /boot/firmware/config.txt

Finally, run sudo reboot to test your changes.