index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | codefiles <11915375+codefiles@users.noreply.github.com> | 2023-06-05 04:05:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 10:05:38 +0200 |
commit | f51fd1a2780dae0e253f02b11e4b4915424893ba (patch) | |
tree | 1154e4ef6d09dd752a9ef21eec8982bb2801c13b /archinstall | |
parent | 06eadb31d4f0bca0c8cb95b6a9eb62ddd2d7cff2 (diff) |
-rw-r--r-- | archinstall/lib/hardware.py | 31 |
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py index 2b65e07c..bd153a63 100644 --- a/archinstall/lib/hardware.py +++ b/archinstall/lib/hardware.py @@ -191,4 +191,33 @@ class SysInfo: @staticmethod def requires_alsa_fw() -> bool: - return 'snd_emu10k1' in _sys_info.loaded_modules + modules = ( + 'snd_asihpi', + 'snd_cs46xx', + 'snd_darla20', + 'snd_darla24', + 'snd_echo3g', + 'snd_emu10k1', + 'snd_gina20', + 'snd_gina24', + 'snd_hda_codec_ca0132', + 'snd_hdsp', + 'snd_indigo', + 'snd_indigodj', + 'snd_indigodjx', + 'snd_indigoio', + 'snd_indigoiox', + 'snd_layla20', + 'snd_layla24', + 'snd_mia', + 'snd_mixart', + 'snd_mona', + 'snd_pcxhr', + 'snd_vx_lib' + ) + + for loaded_module in _sys_info.loaded_modules: + if loaded_module in modules: + return True + + return False |