-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdisable_avs_dsp_firmware.patch
29 lines (27 loc) · 1.58 KB
/
disable_avs_dsp_firmware.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/setup-audio b/setup-audio
index 026fa35..7cf7f89 100755
--- a/setup-audio
+++ b/setup-audio
@@ -162,15 +162,15 @@ def avs_audio():
# updated avs dsp firmware recently got merged upstream but is not packaged in any distro yet
print_status("Installing AVS firmware")
- mkdir("/lib/firmware/intel/avs/skl")
- mkdir("/lib/firmware/intel/avs/apl")
- try:
- urlretrieve("https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/avs/apl/"
- "dsp_basefw.bin", filename="/lib/firmware/intel/avs/apl/dsp_basefw.bin")
- urlretrieve("https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/avs/skl/"
- "dsp_basefw.bin", filename="/lib/firmware/intel/avs/skl/dsp_basefw.bin")
- except:
- print_error("Error: Failed to download AVS firmware")
+ # mkdir("/lib/firmware/intel/avs/skl")
+ # mkdir("/lib/firmware/intel/avs/apl")
+ # try:
+ # urlretrieve("https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/avs/apl/"
+ # "dsp_basefw.bin", filename="/lib/firmware/intel/avs/apl/dsp_basefw.bin")
+ # urlretrieve("https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/intel/avs/skl/"
+ # "dsp_basefw.bin", filename="/lib/firmware/intel/avs/skl/dsp_basefw.bin")
+ # except:
+ # print_error("Error: Failed to download AVS firmware")
# Delete topology for max98357a to prevent it from working until there is a volume limiter.
if not override_avs: