SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
this is what i have, slackware current, runs great, but i have analog speakers plugged in to the analog audio out on the back of the PC tower, i also have a hdmi video card and i dont use the audio in it if it even has audio, what i want to do is make pulseaudio ignore the hdmi but so far have not found a solution other than opening pulseadio mixer and switching it every time i want to play a movie or music,
i even tried blacklisting the kernel module and it wont blacklist,
what i find odd is lsmod shows the kernel module with underscores snd_hda_codec_hdmi , but if you look at the kernel module filename in /lib/modules/[kernel version]/kernel/sound/pci/hda/ the file name of the module uses dashes (snd-hda-codec-hdmi
would a quick and dirty way of fixing be to delete this offending module or do i have to rebuild the kernel and omit the module before running make???
i would delete the module but i wonder if it will cause the system to hang or crash because it was looking for a module that is no longer on the system because some dummy deleted it :O
I've also had this problem, what I do is set the soundcard order in alsa, pulseaudio should respect the order. For instance I have 3 sound devices, my Xonar DX, my webcam microphone, and my video cards hdmi. I make a file in /etc/modprobe.d called "alsa-base.conf" then I set the soundcard order like so..
Your modules will be different, but you get the idea, put the soundcard you want to be the default device first. There are other ways to do this, but this is what I do and it works.
and it defaults to the analog stereo duplex like i want, so far so good, if it gives me problems in the future i may just rebuild the kernel without the hdmi module, i checked the pulseaudio source and there is nothing for disabling it in the ./configure same with alsalib, so i think the only way of hard coding it out of the system is a kernel rebuild
sheesh, i am beginning to hate pulseaudio, linux audio was much nicer before pulseadio appeared, there is the pure-alsa thing in the extras, i will try that,
HOWTO remove a code library/kernel driver from a runtime environment, reversibly:
Once you locate a possibly offending file, you don't need to delete it. Use this simple thing instead:
Code:
mv library.so library-OFF.so
or
Code:
mv driver.ko driver-OFF.ko
So that the search for library.so or driver.ko will fail to load. The file itself will still be present, ready to return to its original place, if things go south for you.
You have no idea how many hundred times I've used this idea. Keep the file, but put it under a temporary witness protection program for trial purposes.
this is what i have, slackware current, runs great, but i have analog speakers plugged in to the analog audio out on the back of the PC tower, i also have a hdmi video card and i dont use the audio in it if it even has audio, what i want to do is make pulseaudio ignore the hdmi but so far have not found a solution other than opening pulseadio mixer and switching it every time i want to play a movie or music,
i even tried blacklisting the kernel module and it wont blacklist,
what i find odd is lsmod shows the kernel module with underscores snd_hda_codec_hdmi , but if you look at the kernel module filename in /lib/modules/[kernel version]/kernel/sound/pci/hda/ the file name of the module uses dashes (snd-hda-codec-hdmi
would a quick and dirty way of fixing be to delete this offending module or do i have to rebuild the kernel and omit the module before running make???
i would delete the module but i wonder if it will cause the system to hang or crash because it was looking for a module that is no longer on the system because some dummy deleted it :O
To put down the support for audio over HDMI, you should disable the audio support in your video driver; for example for AMD Radeon you should add in the kernel command line:
Code:
radeon.audio=0
That's all.
Last edited by Darth Vader; 07-13-2018 at 11:46 PM.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,094
Rep:
Well.... in Xfce I just click on the pulseaudio speaker icon on the panel, pick analog or HDMI and the choice is remembered. Haven't tried it in kde-4.
Well.... in Xfce I just click on the pulseaudio speaker icon on the panel, pick analog or HDMI and the choice is remembered. Haven't tried it in kde-4.
In this thread I seen people messing around with kernel modules, that's why I given a suggestion along.
But, yeah. Same is also in KDE4, just like you say.
i did it, i jumped head first in to a pure-alsa-system from extra, and i will say i like it better, i did have to rebuild qt-5.7.1 with -pulse-no and -alsa, i installed portaudio which made building gqrx without pulseaudio possible, the only thing that dont get sound is my web browser which is acceptable as long as the rest works good and i am glad for that and thanks to all who bothered to help, and thanks to the slackware developers that put together the pure-alsa-system
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.