From 7cdd12e4e977a39c570442a0728d217ff4ca177a Mon Sep 17 00:00:00 2001 From: Raymond Gauthier Date: Thu, 16 Nov 2017 09:51:21 -0500 Subject: [PATCH] kernel config: Enable MEDIA_CONTROLLER With this disabled, cameras would not get a `/dev/mediaX` entry matching the `/dev/videoX` which broke any application (e.g: `uvcdynctrl -l`, `media-ctl -p`) depending on this interface. --- pkgs/os-specific/linux/kernel/common-config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 0f7ad055af86..64f8163369bb 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -571,6 +571,7 @@ with stdenv.lib; ${optionalString (versionOlder version "4.14") '' MEDIA_RC_SUPPORT y ''} + MEDIA_CONTROLLER y MEDIA_USB_SUPPORT y MEDIA_PCI_SUPPORT y MEDIA_ANALOG_TV_SUPPORT y