From 201bfb922d91caaa6fdfe8036ec65fa8c9e30e99 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 19 Sep 2023 11:40:02 +0000 Subject: [PATCH] WIP: wake-on-lan: use own patch since peetz0r doesnt apply this patch might not actually be necessary --- pkgs/additional/linux-megous/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/additional/linux-megous/default.nix b/pkgs/additional/linux-megous/default.nix index 4341bf4c..7da8f56e 100644 --- a/pkgs/additional/linux-megous/default.nix +++ b/pkgs/additional/linux-megous/default.nix @@ -17,6 +17,7 @@ let # - `git fetch torvalds` # - `git bundle unbundle orange-pi-active.bundle` # - there should be some new tag, like `refs/tags/orange-pi-6.4-20230907-1427` + # - see: # OLD METHOD (pre-2023/09): # - `git fetch` from megous' repo (https://github.com/megous/linux.git). # - there should be some new tag, like `orange-pi-6.1-blah`. use that. @@ -132,10 +133,16 @@ let # in particular this allows WiFi calls to be received while the phone is otherwise sleeping. # additional userspace configuration is necessary to enable this. # see: + # see: + # see: name = "enable-wowlan-in-rtl8723cs"; + # patch = fetchpatch { + # url = "https://gist.githubusercontent.com/Peetz0r/bf8fd93a60962b4afcf2daeb4305da40/raw/7697bc9c36d75cc1a44dc164b60412a34a8bf2c4/enable-wowlan-in-rtl8723cs.patch"; + # hash = "sha256-jXe3dHBHggdGKN8cHH4zqY9HLtZ2axXcgYO//6j9qIY="; + # }; patch = fetchpatch { - url = "https://gist.githubusercontent.com/Peetz0r/bf8fd93a60962b4afcf2daeb4305da40/raw/7697bc9c36d75cc1a44dc164b60412a34a8bf2c4/enable-wowlan-in-rtl8723cs.patch"; - hash = "sha256-jXe3dHBHggdGKN8cHH4zqY9HLtZ2axXcgYO//6j9qIY="; + url = "https://git.uninsane.org/colin/linux/commit/afd6514fd3098047000b3f1f198c2256478dce46.patch"; + hash = "sha256-8OtGXpCPJbk3c3Z4DcurS0F+Ogqx+xahEv+256+4dcY="; }; } ] ++ lib.optionals (!withModemPower) [