Blacklisting snd_hda_intel [Solved]

Blacklisting snd_hda_intel [Solved]

Postby nematoad » Jul 17th, '23, 19:15

I have just reinstalled Mageia 8 as I have been having a lot of problems with my previous distro. Things seem to be going OK but I need a bit of advice.

I keep tripping over the HDMI driver.

I have a Sound Blaster Audigy card installed and would like to use the snd_emu10K1 driver instead of snd_hda_intel.

Now it used to be that I could edit /etc/modprobe.d/.blacklist to kill the snd_hda_intel driver and that would do the trick.

Can anyone point me to where I should add "blacklist snd_hda_intel" as having no sound is driving me up the wall.

Thanks.
Last edited by nematoad on Jul 19th, '23, 22:58, edited 1 time in total.
nematoad
 
Posts: 10
Joined: Jan 25th, '22, 18:23

Re: Blacklisting snd_hda_intel

Postby doktor5000 » Jul 17th, '23, 19:53

Can you please post the output as regular user of the following commands ?

Code: Select all
lspcidrake -v
cat /proc/asound/cards
LC_ALL=C pacmd ls


Also the file where you blacklist it should end in .conf so append it to e.g.
Code: Select all
/etc/modprobe.d/blacklist-mga.conf
or put it in
Code: Select all
/etc/modprobe.d/soundblaster.conf
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Blacklisting snd_hda_intel

Postby nematoad » Jul 18th, '23, 11:07

Thank you for your help.

I did as you requested and ran the commands. The result was, to my amazement, long, obscure and very hard to parse.

Reading the comments in the output I think that what you are asking for is to do with systemd.

I am not familiar with systemd, hence my surprise.

If that is what systemd is like then sadly Mageia is not for me.

I am a simple soul and my sysadmin days are long behind me. All I want is for my distro is to install and run without problems. I struggled with the likes of sys.ini and the registry enough when I was working and avoid all such interactions with the system as much as possible.

Thanks again for your help but it looks as if I will have to look somewhere else for a distro that coddles me and shields me from having to mess with the innards.

That's a shame as I have got used to the Mandrake way of doing things and I shall miss the simplicity of the Control Centre and the likes of diskdrake, menudrake and so on.

All the best and good luck with keeping the Mandrake spirit alive.

PS. I did edit /etc/modprobe.d/blacklist-mga.conf before posting this question and the system did not seem to pick it up and blacklist snd_hda_intel. As a last attempt before moving on I will try in /etc/modprobe.d/soundblaster.conf.
nematoad
 
Posts: 10
Joined: Jan 25th, '22, 18:23

Re: Blacklisting snd_hda_intel

Postby morgano » Jul 18th, '23, 12:05

Hi nematoad

The outputs of the commands could help us help you.

I also suggest you try to boot Mageia 9 beta2 Live from a USB stick and see if it works out of the box.
https://www.mageia.org/sv/downloads/prerelease/
Mageia 9 is soon ready (lots of us are using it already)
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1484
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Blacklisting snd_hda_intel

Postby nematoad » Jul 18th, '23, 18:25

OK, since i am having no luck trying to block the HDMI here is the output of the command string:
Attachments
test.txt
Best of luck!
(22.62 KiB) Downloaded 381 times
nematoad
 
Posts: 10
Joined: Jan 25th, '22, 18:23

Re: Blacklisting snd_hda_intel

Postby doktor5000 » Jul 18th, '23, 20:15

By the way, that is not output from systemd, but from pulseaudio, which is the sound system. Although you're missing the output of the other two commands.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Blacklisting snd_hda_intel

Postby nematoad » Jul 19th, '23, 11:26

OK.

Here is the output from the other two commands:
Attachments
test_cards.txt
(23.05 KiB) Downloaded 366 times
nematoad
 
Posts: 10
Joined: Jan 25th, '22, 18:23

Re: Blacklisting snd_hda_intel

Postby nematoad » Jul 19th, '23, 11:37

Here is the output from inxi -A:

That HDMI from the Radeon card is what's blocking the sound.
Attachments
inxi_test.txt
(271 Bytes) Downloaded 460 times
nematoad
 
Posts: 10
Joined: Jan 25th, '22, 18:23

Re: Blacklisting snd_hda_intel

Postby doktor5000 » Jul 19th, '23, 18:08

What do you mean it's blocking the sound? Seems like you only need to change the default output to your Sound Blaster Audigy instead of the HDMI output (which is mostly the default nowadays to enable people to pass sound to their display).
You can either use the default mixer of your desktop environment if it exposes that setting or use pavucontrol - under the configuration tab you want to choose the correct profile for your Sound Blaster Audigy

Also according to the output snd_emu10k1 is already loaded for your Sound Blaster Audigy, and this is the only card available to pulseaudio.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Blacklisting snd_hda_intel [Solved]

Postby nematoad » Jul 19th, '23, 22:57

Thanks guys!

Every thing is up and running.
nematoad
 
Posts: 10
Joined: Jan 25th, '22, 18:23

Re: Blacklisting snd_hda_intel

Postby doktor5000 » Jul 19th, '23, 22:58

OK, but what did you change in particular ?

Also please don't forget to mark the thread as solved, by editing the subject of the first post and prefix it with [SOLVED], thanks in advance.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Blacklisting snd_hda_intel [Solved]

Postby nematoad » Jul 20th, '23, 11:28

I used pavucontrol to select the correct card and the sound came back.

I have marked this thread as solved.

Thanks again for the help.
nematoad
 
Posts: 10
Joined: Jan 25th, '22, 18:23


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron