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.
The headphones play sound and the speakers play sound at the same time. The speakers dont become muted when headphones jacked. This is not a big problem for me as I dont use headphones too often, but for the sake of functionality, I tried a few things, which I know worked in the past in Debian, namely the moprobe addition:
Of course in Slackware this is in /etc/modprobe.d/sound or sound.conf. I added what I think is my hda options, but they seem not to work. I also tried renaming sound to sound.conf. No luck. My module is just:
The headphones play sound and the speakers play sound at the same time. The speakers dont become muted when headphones jacked. This is not a big problem for me as I dont use headphones too often, but for the sake of functionality, I tried a few things, which I know worked in the past in Debian, namely the moprobe addition:
Of course in Slackware this is in /etc/modprobe.d/sound or sound.conf. I added what I think is my hda options, but they seem not to work. I also tried renaming sound to sound.conf. No luck. My module is just:
0 snd_hda_intel
I tried adding:
options snd_hda_intel index=1
Happens to me too, but (sorry) do not know the solution ...
It happened to me when I bought my toshiba NB200. But the issue had gone away when upgrading kernel (back then I was using slackware 13 - current). Maybe this kernel is not yet supported your hardware.
Sometimes, your speaker is not on by default. Please use alsamixer to double check.
You may be able to fix this by adding a model option to the snd-hda-intel kernel module if your system uses Intel-HDA for audio.
Please post the make and model of your machine as well as the audio codec chip type (which you can get from alsamixer or else just post the output of 'cat /proc/asound/cards').
You may be able to fix this by adding a model option to the snd-hda-intel kernel module if your system uses Intel-HDA for audio.
Please post the make and model of your machine as well as the audio codec chip type (which you can get from alsamixer or else just post the output of 'cat /proc/asound/cards').
If you have the kernel source package installed then you will have a file /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt. In that file you will see that there a large number of models that can be used for the ALC883 chip. Try adding a line to your /etc/modprobe.d/sound.conf
Code:
options snd-hda-intel model=<some suitable model>
where <some suitable model> is the model name from HD-Audio-Models.txt.
You should then reboot or else do 'modprobe -r snd-hda-intel' followed by 'modprobe snd-hda-intel' to set the new model. (You can check this by 'cat /sys/class/sound/hw*/modelname')
Run 'alsaconf' and then 'alsamixer' to check that the mixer settings are OK.
Save the settings with 'alsactl store'.
If you have the kernel source package installed then you will have a file /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt. In that file you will see that there a large number of models that can be used for the ALC883 chip. Try adding a line to your /etc/modprobe.d/sound.conf
Code:
options snd-hda-intel model=<some suitable model>
where <some suitable model> is the model name from HD-Audio-Models.txt.
You should then reboot or else do 'modprobe -r snd-hda-intel' followed by 'modprobe snd-hda-intel' to set the new model. (You can check this by 'cat /sys/class/sound/hw*/modelname')
Run 'alsaconf' and then 'alsamixer' to check that the mixer settings are OK.
Save the settings with 'alsactl store'.
I tried about 5 of those model types without luck. There are a lot, but no specific matches. Ill keep trying more of them over time. Ive had similar trouble before in Debian and had to try a few before one worked.
I know this question has been answered on this forum before as it helped me. Unfortunatly I am on my phone and search isn't cooperating very well. Just search for headphone or headphone jack and you should find it. I am pretty sure I have the link or a link saved on my work PC I can post on Monday if you haven't fixed it by then.
My computer has 2 jacks in front, 3 in back. The back has 1 in and 1 out, and also an extra mic. The front has a mic and a headphones. I keep wanting the front headphones more than anything to work.
On this Alsa page it shows 5stack as "5-jack in back, 2-jack in front". Does that mean 5 jacks literally or is that a certain family of jack? Nothing really matches mine.
So your computer has Line In, Line Out, Headphones, Front Mic and Rear Mic. This is a 3 stack setup (no surround sound connections).
You say you had this working in Debian, so it would appear to be a configuration problem.
Again, please tell us the make and model of your computer.
So your computer has Line In, Line Out, Headphones, Front Mic and Rear Mic. This is a 3 stack setup (no surround sound connections).
You say you had this working in Debian, so it would appear to be a configuration problem.
Again, please tell us the make and model of your computer.
Incidentally, 3 stack is the one I thought would work, so its in my sound.conf already like:
options snd_hda_intel model=3stack
I also tried
options snd-hda-intel model=3stack
Problem still there. My computer is a 4 year old Gateway GT5468.
Looking at the code in /usr/src/linux-2.6.37.6/sound/pci/hda/patch_realtek.c suggests it is a possibility suitable for you.
I tried most of them like that. Just a thought, but maybe its what is already in the sound.conf rather than something to add. These two lines were in my sound.conf by default.
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
Just adding the lines after the alias lines should be OK.
Do you have a file with a name starting with "codec" in /proc/asound/card0/? If so, please post the contents.
My thought is that your headphones are switched on and off using a different pin to that in the models. Perhaps this output will help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.