Hi! I’m using Fedora 35, I wanted to install Tlauncher and play minecraft, but I couldn’t get any sound. I applied this solution to solve this problem, but after applying this solution, all sound in the system is gone. I restored the files I changed, but no sound. How do I restore the sound in the system?
Hi, if you’re already restore alsa.conf to original config, the to reset, you can use alsactl init
. This will print something like Found hardware ....
. To make sure everything works, you could then logout and login again.
Next time if you want to make custom config, you could create a file under /usr/share/alsa/alsa.conf.d
.
When I use this command, it gives the following output: alsa-lib conf.c:2005:(_snd_config_load_with_include) _toplevel_:7:8:Unexpected char alsa-lib conf.c:4613:(snd_config_update_r) /usr/share/alsa/alsa.conf may be old or corrupted: consider to remove or fix it alsa-lib parser.c:2412:(uc_mgr_import_master_config) card 'hw:0' is not valid alsa-lib main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -22 alsa-lib conf.c:2005:(_snd_config_load_with_include) _toplevel_:7:8:Unexpected char alsa-lib conf.c:4613:(snd_config_update_r) /usr/share/alsa/alsa.conf may be old or corrupted: consider to remove or fix it alsa-lib conf.c:2005:(_snd_config_load_with_include) _toplevel_:7:8:Unexpected char alsa-lib conf.c:4613:(snd_config_update_r) /usr/share/alsa/alsa.conf may be old or corrupted: consider to remove or fix it alsa-lib parser.c:2412:(uc_mgr_import_master_config) card 'hw:1' is not valid alsa-lib main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -22 alsa-lib conf.c:2005:(_snd_config_load_with_include) _toplevel_:7:8:Unexpected char alsa-lib conf.c:4613:(snd_config_update_r) /usr/share/alsa/alsa.conf may be old or corrupted: consider to remove or fix it
Unfortunately, my problem is not resolved
Please run sudo mv /usr/share/alsa/alsa.conf ~/
. It will move your alsa.conf
to ~/
directory as backup.
Then reinstall alsa-lib
with sudo dnf reinstall alsa-lib
. It will generate new alsa.conf
(you can check in /usr/share/alsa
folder, there should be new alsa.conf
available). After that test again with alsactl init
.
Thank you so much <3