We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65b725a + c4af46b commit c38b907Copy full SHA for c38b907
raspberry-pi/4/tc358743.nix
@@ -13,6 +13,11 @@ in
13
running ustreamer (which starts webservice providing a camera stream):
14
''${pkgs.ustreamer}/bin/ustreamer --persistent --dv-timings
15
'';
16
+ media-controller = lib.mkEnableOption ''
17
+ Enable support for the Media Controller API.
18
+
19
+ See https://forums.raspberrypi.com/viewtopic.php?t=322076 for details
20
+ '';
21
};
22
23
@@ -61,6 +66,15 @@ in
61
66
__overlay__ {
62
67
status = "okay";
63
68
69
+ ${
70
+ if cfg.media-controller then
71
+ ""
72
+ else
73
+ ''
74
+ compatible = "brcm,bcm2835-unicam-legacy";
75
76
+ }
77
64
78
port {
65
79
80
endpoint {
0 commit comments