LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   current -- suddenly hdmi audio is hd:0, instead of the pci audio card (https://www.linuxquestions.org/questions/slackware-14/current-suddenly-hdmi-audio-is-hd-0-instead-of-the-pci-audio-card-4175578266/)

genss 04-25-2016 05:37 AM

current -- suddenly hdmi audio is hd:0, instead of the pci audio card
 
it was fine before
i reinstalled to current a few days ago and it was also fine,
until today when hdmi and my normal card swapped major numbers


was there some udev rule for that, that got removed with PA getting added ?

GazL 04-25-2016 06:35 AM

No, that sort of thing happens at the kernel level. Can't blame pulse for that.

To avoid this sort of thing, you want to create yourself a sound.conf:
Code:

test@ws1:~$ cat /etc/modprobe.d/sound.conf
options snd slots=snd-hda-intel
options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1

Obviously, if your sound hardware doesn't use the intel driver you'll need to modify it accordingly.

genss 04-25-2016 06:41 AM

the kernel doesn't load modules, udev does
(actually udev tells the kernel to load modules)

i handled it already but thx for the advice.
the hdmi one does use snd_hda_intel (nvidia gpu)

i don't remember handling it before and it was fine, that's why i'm asking

i guess i could look at 14.1 source to compare
will do that later today

PS
i don't use pulse
pulse would "handle" it by prioritizing the native output

GazL 04-25-2016 06:54 AM

My understanding is that udev monitors device events the kernel generates, so it's still the kernel that will determine order of detection, but whatever. The point is, if you want to ensure that the cards are always in a specific order explicitly configure it that way and remove the random element completely.

genss 04-25-2016 07:00 AM

yes, just as it did with hotplug

the whole reason for replacing hotplug with udev was to remove the randomness

edit: anyway, the reason for posting was to find out why it started to do that now when it didn't before

enorbet 04-25-2016 08:07 AM

Strange. Yesterday I ran Live downloaded 2 days ago and was shocked that although my nVidia graphics card's onboard HDA was loaded (not blacklisted) my Juli@ soundcard worked fine even on YouTube videos.


All times are GMT -5. The time now is 09:44 PM.