[Nix-dev] patch for Samsung RF511 laptop

Kevin Quick quick at sparq.org
Wed Jul 18 06:37:15 CEST 2012


The following is needed for my Samsung RF511 laptop.  The patch  
accommodates the RF411 and RF711 which are purported to need the same fix,  
although I don't have those hardware models to verify that.

diff --git a/modules/services/hardware/udev.nix  
b/modules/services/hardware/udev.nix
index 3bbf24b..d283cf3 100644
--- a/modules/services/hardware/udev.nix
+++ b/modules/services/hardware/udev.nix
@@ -53,6 +53,9 @@ let
            --replace \"/bin/mount \"${pkgs.utillinux}/bin/mount
        done

+      substituteInPlace $out/95-keyboard-force-release.rules \
+          --replace 'Q210/P210' 'Q210/P210*|*RF511*|*RF411*|*RF711'
+
        # If auto-configuration is disabled, then remove
        # udev's 80-drivers.rules file, which contains rules for
        # automatically calling modprobe.



-- 
-KQ


More information about the nix-dev mailing list