Headphone and speaker working together

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read this

Headphone and speaker working together

Postby hectorsales on Fri Sep 06, 2013 4:55 am

Hi I have the following problem, when I plug headphones into the front panel of my desktop PC speakers are not muted . My OS is Linux Mint 13 Mate 64 bytes.

Card type

Code: Select all
cat /proc/asound/cards
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfbbf4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfbdfc000 irq 19


Card model

Code: Select all
cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel


Chip and codec

Code: Select all
cat /proc/asound/card0/codec#0 | grep Code
Codec: VIA VT1708S


According to the information on this page for the model VIA Chip (VIA VT17xx/VT18xx/VT20xx) should put the following to the file gksudo pluma /etc/modprobe.d /alsa-base.conf

options snd-hda-intel model=auto

https://www.kernel.org/doc/Documentatio ... Models.txt

But unfortunately it does not work, I tried many things but ... :roll: :cry:
Linux Mint 13 LTS Mate 64 Bytes
User avatar
hectorsales
Level 4
Level 4
 
Posts: 251
Joined: Sun Jul 07, 2013 3:25 am

Linux Mint is funded by ads and donations.
 

Re: Headphone and speaker working together

Postby cablenetguy on Sat Sep 07, 2013 7:50 am

I have the exact same issue, Linux mint Cinnamon 64 bit, Dell Optiplex 755 factory build. Built in sound. I also previously installed Unbuntu 12.04 LTS with the exact same results.
Plug in headphones and sound still comes out of speakers as well as headphones.

cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfebdc000 irq 46

cat /proc/asound/modules
0 snd_hda_intel

New to linux mint but not new to Unix/linux. Any help would be appreciated, a kind nudge in the right direction, please!!

Thanks,

Cablenetguy
cablenetguy
Level 1
Level 1
 
Posts: 2
Joined: Sat Sep 07, 2013 6:39 am

Re: Headphone and speaker working together

Postby hectorsales on Sat Sep 07, 2013 9:00 am

Hello cablenetguy I have like 4 or 5 days trying to solve the problem and seeking information through the network, later publish all the information I've found and possible solutions. To see if the two got to solve the problem Ok?.
Linux Mint 13 LTS Mate 64 Bytes
User avatar
hectorsales
Level 4
Level 4
 
Posts: 251
Joined: Sun Jul 07, 2013 3:25 am

Re: Headphone and speaker working together

Postby hectorsales on Sat Sep 07, 2013 10:17 am

Here the information:

Option A

-Completely remove PulseAudio & replace it with ALSA.


Very important: This guide was written at the time of Gnome 2 (Mint 11), and before the release of Gnome 3, MATE and Cinnamon, I do not know if the commands are correct for the new releases Linux mint 13, 14 and 15. See if someone can confirm it that we can f**k the system ...

viewtopic.php?f=197&t=60485

A. Before proceeding, please use Update Manager to install the latest updates (click mintUpdate tray icon to open Update Manager > Refresh > Install Updates)
B. Menu > Preferences > Startup Applications > uncheck "PulseAudio Sound System" and "PulseAudio Sound System KDE Routing Policy"
C. Remove pulseaudio, related packages and configuration files:
Code: Select all
killall pulseaudio
sudo killall pulseaudio
sudo apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio libpulse-browse0 paman pavumeter pavucontrol
sudo mv /etc/asound.conf /etc/asound.conf-bak
rm ~/.pulse-cookie
rm -r ~/.pulse


D. Restart your computer

You need to install alsa, in my case most packages are already installed:

Code: Select all
sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss libalsaplayer0 alsaplayer-esd alsamixergui volumeicon-alsa


These packages alsamixergui volumeicon-alsa allow us to manipulate the sound of alsamixer graphically, but we can do it through the terminal by typing alsamixer.

E. Right click Panel, select "Add to Panel" and add "Volume Control" (Volumeicon-Alsa) to Panel.

Option B

-Add the file /etc/modprobe.d/alsa-base.conf the following line:

options snd-hda-intel model=auto probe_mask=0x103

model=auto is the model name to be given to the VIA chips, which are configured by the BIOS, as /usr/share/doc/alsa-base/driver/HD-Audio-Models.txt.gz, you open it with zless . You can also check the information on this page:
https://www.kernel.org/doc/Documentatio ... Models.txt
probe_mask=0x103 is to force the driver to load the codec within the "slots" 0 and 1, regardless of what you tell the BIOS obviously this option is added when the BIOS this failing. This information can also be seen in /usr/share/doc/alsa-base/driver/HD-Audio.tx.gz you open it with zless.


I tried the Option B and so far has not worked...

That's all the information I have at this moment .....
Linux Mint 13 LTS Mate 64 Bytes
User avatar
hectorsales
Level 4
Level 4
 
Posts: 251
Joined: Sun Jul 07, 2013 3:25 am

Re: Headphone and speaker working together

Postby cablenetguy on Sun Sep 08, 2013 11:27 am

I tried using alsa sound and it worked with the headphone thing. Not able to get a panel applet to load with the GUI however.
I am able to use my headphones as they are supposed to be even though the volume is considerably lower.

Thanks for the help,

Cablenetguy
cablenetguy
Level 1
Level 1
 
Posts: 2
Joined: Sat Sep 07, 2013 6:39 am

Re: Headphone and speaker working together

Postby hectorsales on Sun Sep 08, 2013 11:41 am

I tried using alsa sound and it worked with the headphone thing. Not able to get a panel applet to load with the GUI however.
I am able to use my headphones as they are supposed to be even though the volume is considerably lower.


One question, have you removed pulseaudio ?
Linux Mint 13 LTS Mate 64 Bytes
User avatar
hectorsales
Level 4
Level 4
 
Posts: 251
Joined: Sun Jul 07, 2013 3:25 am

Re: Headphone and speaker working together

Postby Zorba on Fri Oct 18, 2013 9:03 am

Same issue is here on Linux Mint 13 Mate 64 bit any solutions?
Image
User avatar
Zorba
Level 8
Level 8
 
Posts: 2307
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Headphone and speaker working together

Postby Zorba on Sat Oct 19, 2013 11:46 pm

I had the same issue on Linux Mint 13 Mate and I resolved it by installing the lastest drivers from alsa-project like this:
Code: Select all
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.25.tar.bz2
tar -jxf alsa-driver-1.0.25.tar.bz2
cd alsa-driver-1.0.25/
./configure --with-cards=hda-intel --with-oss=yes
make
sudo make install



then restarted my computer and everything is tip-top now!
Image
User avatar
Zorba
Level 8
Level 8
 
Posts: 2307
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Linux Mint is funded by ads and donations.
 

Return to Sound, Multimedia, & Codecs

Who is online

Users browsing this forum: No registered users and 5 guests