It's time to solve my sound problems, which I have/had from the beginning.
I have 3 soundcards.
cat /proc/asound/cards
It actually never was this order before I didn't write /etc/modprobe.d/alsa-base.conf with
and after some or one reboot this would "magically" change so that CODEC would be 0 (which are my speakers).
FOR NO APPARENT REASON lol wtf right?
Even the initialization process is weird. It's like a guy hammers twice from behind the speakers to see if there is something (no joke).
I followed this solution https://www.linuxquestions.org/questions/linux-hardware-18/wrong-sound-card-order-in-alsa-4175544059/
aplay -l gives
There must be reason for all this
HELP! :)
I have 3 soundcards.
cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xdf080000 irq 17
1 [CODEC ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-0000:00:14.0-2, full speed
2 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xdf240000 irq 130
Now this order is wrong. And sometimes the order is right. But I don't know why the order is sometimes this and sometimes the other way round. It actually never was this order before I didn't write /etc/modprobe.d/alsa-base.conf with
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel
alias snd-card-2 snd-hda-intel
options snd_hda_intel id=CODEC index=0
options snd_hda_intel id=NVidia index=1
options snd_hda_intel id=PCH index=2
before(without any config) sometimes PCH would be 0 and NVidia would be 2 and CODEC would be 1and after some or one reboot this would "magically" change so that CODEC would be 0 (which are my speakers).
FOR NO APPARENT REASON lol wtf right?
Even the initialization process is weird. It's like a guy hammers twice from behind the speakers to see if there is something (no joke).
I followed this solution https://www.linuxquestions.org/questions/linux-hardware-18/wrong-sound-card-order-in-alsa-4175544059/
aplay -l gives
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice # 0: subdevice # 0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice # 0: subdevice # 0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice # 0: subdevice # 0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice # 0: subdevice # 0
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice # 0: subdevice # 0
card 2: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice # 0: subdevice # 0
in .asoundrc i have
defaults.pcm.card 0
defaults.ctl.card 0
Which shouldn't conflict as far as I am understanding. (and I wrote .asoundrc like 2 days ago)There must be reason for all this
HELP! :)