** Description changed: + [ SRU Justification ] + + [ Impact ] + + To enable oem platforms with front/rear cameras both based on MIPI + technology, v4l2-relayd should learn how to instantiate multiple + instances for multiple Intel IPU based MIPI cameras. This has been added + to 0.2.0 release. + + The daemon itself doesn't interfere with each other, so we can simply + have multiple instances of them through systemd template unit service. A + /etc/v4l2-relayd.d is created to collect instance configs (*.conf), and + a generator will create corresponding instance service symbolic links at + boot. The original v4l2-relayd.service becomes a group lead service. + + The instance files follows existing syntax as /etc/v4l2-relayd file did. + Migration fallback is also implemented. Additional configs for a second + or more instances are supposed to be created by libcamhal-common + postinst script -- a package currently lives in oem archive that + awaiting to be imported to Ubuntu archive. + + [ Test Plan ] + + 1. Install v4l2-relayd from -proposed pocket. Reboot. + + 2. By default, `/run/systemd/generator/v4l2-relayd.service.wants` should be created already. Besides, if `/etc/v4l2-relayd` config file exists before the upgrade/install, a default service will be created. For other instances, it follows the names under `/etc/v4l2-relayd.d`: + ``` + $ ls /run/systemd/generator/v4l2-relayd.service.wants + [email protected] + [email protected] + $ ls /etc/v4l2-relayd.d + default.conf + ov08x40.conf + ``` + 3. Try to use webcam with: + ``` + $ gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! autovideosink + # Expect video streaming occurs + $ gst-launch-1.0 v4l2src device=/dev/video1 ! videoconvert ! autovideosink + # Expect video streaming occurs + ``` + + [ Where problems could occur ] + + No functional change. For single camera systems, no change at all. + + [ Other Info ] + + Nominate for R, Q, and N for hardware enablement with oem kernels in + Noble. + + ========== original bug report ========== + To enable oem platforms with front/rear cameras both based on MIPI technology.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2116722 Title: [SRU] Support multiple MIPI based camera devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2-relayd/+bug/2116722/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
