Hot answers tagged

18

Original Solution Go to Realtek official site, accept the disclaimer, then download the audio driver for linux/unix. You need to select version 3 for Kernel 3 or later. Setup necessary tools to compile this driver. sudo apt-get install build-essential gcc make Extract the downloaded file, run sudo ./install file from a terminal after going to the ...


11

Hey guys if anyone still has this issue try the following: Open Terminal (Ctrl+Alt+T) Type: alsamixer and press Enter/Return Navigate to the right with the right arrow key until you get to "Auto-Mute" Press ↑ and select the "Line Out" option (or just "Enabled") Press Esc to exit. Hope this helped it solved out my problem now when I play audio through my ...


10

We have the optional application paprefs that allows to install a virtual output device to pulseaudio. This enables simultaneous output to all attached sound cards/devices: The additionally created audio output device for simultaneous output may be selected in the "Output" tab from pulseaudio sound preferences menu: From the command line we can also ...


10

For some more settings I would advice to install pavucontrol. It saved me some troubles diagnosing sound issues. It also will list any possible output where Ubuntu sound sometimes forgets to show outputs that should be available (though it keeps getting better: HDMI used to not show up; 1 update after 12.10 release it started showing up. You too will be ...


10

I spent a long time working with the same problem, based on lots of forum threads, and nothing helped. Then I tried this: $ alsactl restore That did it :)


9

Ok, so you will need to do a few things for this: Detect when the headphones are unplugged; After the event in (1), send a "pause" command to VLC; Detect when the headphones are pluggd back in; After the event in (3), send a "play" command to VLC; For (1) and (3): You can use what is shown here. This answer contains a small procedure to find the ...


9

OK, I'm an amateur RF engineer, so I know roughly what's happening. Either your sound card or the headphones themselves are picking up the RF energy from a local AM or shortwave radio station. The wave is being rectified in the headphones and the audio is reproduced. This can be solved by using shielded cables, and by buying RFI eliminating snap on chokes ...


7

This is probably an alsa issue. I had the same problem, but it got reported as a bug and fixed. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/477226


7

I found a solution that works here: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/921397/comments/9 You can also see the whole discussion regarding this bug here: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/921397 To summarize: Edit sudo gedit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf and modify the [...


7

The short answer You have to use special branded Bluetooth dongles. Have a look at the How can I use aptX then? section of this answer or browse the aptx.com site for transmitters. The longer answer Licensing issues The aptX codec is proprietary standard, that CSR acquired from APT Licensing Ltd. with the goal to develop and market aptX powered high ...


7

I had the same problem on Dell Inspiron 3542 running Ubuntu 14.04.2 The problems appears to be in the audio powersave feature. The noise stops when I open the sound settings, or when I play audio/video. The noise starts again when I stop playing audio/video and close sound settings. This solution worked for me: Edit the file $ sudo nano /usr/lib/pm-utils/...


7

They say that it is fixed in kernel 3.16 so try this first. sudo apt-get install linux-generic-lts-utopic It didn't work for me so i tried the workaround found in the link below and that worked for me. http://xps13-9333.appspot.com/#background_noise mkdir -p /usr/local/bin wget -O /usr/local/bin/white_noise_fix.py http://xps13-9333.appspot.com/root/...


6

As far as I know PulseAudio is an audio server with the ability to route sound in the way you want. Install PulseAudio Volume Control to be able to change where inputs and outputs go. sudo apt-get install pavucontrol In this manner I have routed Skype output to my headset only and my mic solely into Skype, Whilst having everything else running through ...


6

Howto detect an unplug Basically what worked for me was: # When plugged in: cat /proc/asound/card0/codec#0 > pluggedin.txt # When not plugged in: cat /proc/asound/card0/codec#0 > notplugged.txt # Then compare the differences diff pluggedin.txt notplugged.txt For me the difference was in 'Node 0x16' under 'Amp-Out vals': Node 0x16 [Pin Complex] ...


6

I also had this problem on my hp laptop. I found a post and take one of the advice, which suggests adding two lines to the bottom of the file /etc/modprobe.d/alsa-base.conf : options snd-hda-intel model=laptop options snd-hda-intel position_fix=1 enable=yes save it and reboot. It works for me!


6

Try removing pulseaudio completely and installing alsa. Check this out Remove Pulse Audio sudo apt-get autoremove pulseaudio Reboot your computer or stop the pulseaudio daemon. Install alsa-mixer sudo apt-get install gnome-alsamixer If you don't get any sound output run gnome-alsamixer For more details go to How to Remove PulseAudio & use ...


6

I got it fixed by doing following: open terminal and run alsamixer when you plugin your headphones, this should be the configuration: master - 00, 64(need not be 64, can be any other value) headphones - 00, 100 speakers MM, 0 In my case, headphones was showing MM instead of 00. It can be changed by moving to headphones and pressing m.


5

This is a pulseaudio bug, still present on 11.10 As a workaround edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf : gksu gedit analog-output-headphones.conf Than search for and comment this line like here: [Jack_InputDevice] #code = Headphone Save the file and close gedit. Than restart pulseaudio with: pulseaudio -k Most ...


5

I placed: options snd-hda-intel model=hp-dv5 options snd_hda_intel model=hp-dv5 In my /etc/modprobe.d/alsa-base.conf I don't know which syntax is the correct one, but I left them both in for good measure. I did NOT restore my heaphones option, however it did mute the speakers when I plugged in my headphones and that was good enough for me.


5

I had the same issue. I believe it is the noise that your microphone picks up. Go into Sound Settings, under the Input tab, check Mute box near Settings for <microphone_name> Microphone (Not the Mute checkbox at the top). That should do the trick.


5

Ok, so based on what I have learned from here, I am trying a new approach, using ACPI. Create a script, for pausing and unpausing VLC: sudo touch /etc/acpi/headphone_jack.sh sudo chmod +x /etc/acpi/headphone_jack.sh and place the following on this file: _pid=`pgrep vlc` _pid="${_pid% *}" DBUS_SESSION_BUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$...


5

In most systems if not all, ACPI can handle this event. To test that: Run acpi_listen Unplug & replug headphones, example output: (mic/ears share in same jack on my laptop) jack/headphone HEADPHONE unplug jack/microphone MICROPHONE unplug jack/headphone HEADPHONE plug jack/microphone MICROPHONE plug Put your-script.sh in /etc/acpi/ Add an event ...


4

I had the same issue. It appears that the new kernel did not correctly detect the sound card model that you have. You will have to edit the /etc/modprobe.d/alsa-base.conf file and set the model manually with options snd-hda-intel model=<model> Unfortunately, finding the correct sound card model can take a little guess work. I took me several tries ...


4

I know that some bluetooth devices will not connect with a phone I used to have. There seems to be some incompatibilities between different BT devices, and there is not much that could be done there. So far, Bluetooth was more trouble that it was worth it. I also had issues with such keyboards that would always disconnect. I know this is not the answer you ...


4

I had the same problem: I plug in headphones, and sound comes out of the headphones and my laptop speakers. Here's how I fixed this problem: Go to Sound Preferences [click on the Sound icon in the top-right, on the bottom of the menu, you'll see sound preferences] Next, go to the Output tab. Here, look at the bottom, where it says "Connector:" I think ...


4

Had this issue on XUbuntu 12.04, reviewed this page, installed the gnome-alsamixer package, ran gnome-alsamixer, checked the "Headphone Jack Sense" option in the gnome-alsamixer GUI screen that came up, verified the problem is resolved. Thanks!


4

I posted the same question on Launchpad. Here was the answer I received from Mark Rijckenberg: Please run the following command in a Terminal session: gksudo gedit /etc/modprobe.d/alsa-base.conf Using the gedit editor, add this line in the /etc/modprobe.d/alsa-base.conf file: options snd-hda-intel model=dell-m6-dmic Save the change, ...


4

Unable to add comments; so here is an "answer" that is partially a question (I'll might delete it): On my install I sometimes have an issue with this and to resolve it I go into sound settings and select "Output volume" to OFF then ON and sound gets OK. Edit: Have you tried sudo apt-get install pavucontrol Run pavucontrol and check settings. I.e. ...


4

There is no sound card generally available for PCs that detects the change in resistance caused by such a button press (certainly not anything AC97-based), so this won't work with desktop apps. But the kernel support for the most part is there though.


4

First, use alsamixer to find out which mixer controls must be changed to get the desired effect. Then write a script that runs amixer to set those controls. For example: amixer set "Headphone" mute amixer set "Speaker" unmute In this case, it's likely that you also need to disable Auto-Mute Mode.



Only top voted, non community-wiki answers of a minimum length are eligible