Advertisement
plirof2

HDMI debian disable 2024/12

Dec 2nd, 2024
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==========================================
  2.  
  3. ==========================================
  4.  
  5. ==========================================
  6. 3. Disable HDMI Audio through ALSA
  7. In some cases, you may need to disable HDMI audio at the ALSA (Advanced Linux Sound Architecture) level.
  8.  
  9. a. Edit the ALSA Configuration
  10. You can disable HDMI audio in ALSA by editing the alsa.conf or by creating a custom file.
  11.  
  12. Create or modify the ALSA configuration file to blacklist HDMI devices:
  13.  
  14. bash
  15. Αντιγραφή κώδικα
  16. sudo nano /etc/modprobe.d/blacklist-hdmi.conf
  17. Add the following lines to disable HDMI audio drivers (replace snd_hda_intel with the correct driver name if different for your setup):
  18.  
  19. Αντιγραφή κώδικα
  20. blacklist snd_hda_codec_hdmi
  21. blacklist snd_hda_intel
  22. b. Rebuild the initramfs
  23. After making changes to ALSA configuration files, you may need to rebuild the initramfs:
  24.  
  25. bash
  26. Αντιγραφή κώδικα
  27. sudo update-initramfs -u
  28. Then, reboot your system for the changes to take effect.
  29.  
  30.  
  31.  
  32. ==========================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement