Skip to content

Switch to on-demand camera via v4l2-relayd - #1

Open
shidorama wants to merge 1 commit into
Jem256:mainfrom
shidorama:on-demand-camera
Open

Switch to on-demand camera via v4l2-relayd#1
shidorama wants to merge 1 commit into
Jem256:mainfrom
shidorama:on-demand-camera

Conversation

@shidorama

Copy link
Copy Markdown

Replace the always-on gst-launch loopback service with v4l2-relayd so the sensor and privacy LED only activate while an app has the camera open.

  • setup.sh: install v4l2-relayd + v4l-utils; configure /etc/default/v4l2-relayd (VIDEOSRC must end in a real element, not a trailing capsfilter, or relayd's bin parse fails with "link has no sink"); write a matching v4l2loopback card_label to both modprobe.d files so relayd can resolve the device by name; remove the old always-on service
  • test.sh: check v4l2-relayd instead of ipu6-camera-loopback
  • uninstall.sh: disable v4l2-relayd alongside the legacy service
  • README: on-demand architecture, commands, and troubleshooting

Replace the always-on gst-launch loopback service with v4l2-relayd so the
sensor and privacy LED only activate while an app has the camera open.

- setup.sh: install v4l2-relayd + v4l-utils; configure /etc/default/v4l2-relayd
  (VIDEOSRC must end in a real element, not a trailing capsfilter, or relayd's
  bin parse fails with "link has no sink"); write a matching v4l2loopback
  card_label to both modprobe.d files so relayd can resolve the device by name;
  remove the old always-on service
- test.sh: check v4l2-relayd instead of ipu6-camera-loopback
- uninstall.sh: disable v4l2-relayd alongside the legacy service
- README: on-demand architecture, commands, and troubleshooting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant