LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2016, 11:01 AM   #1
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
current 14.2RC2 Pulseaudio and headphones


I use wired headphones and with puleaudio it used to mute every time i plugged then in or removed them (annoying but i could live with that).
But after the last update to RC2 i can only use what i boot with, if i boot with headphones plugged in then i don't get sound if i unplug the headphones.
If i boot without headphones plugged in the my speakers work but i get no sound if i plug in my headphones.
I can't see that anything is muted in kmix ( i use kde).
I don't know much about pulse audio so how do one use it and track down things when there not working?
pamixer seems pretty useless and "pamixer -u" doesn't change anything and muting -m and then unmuting -u doesn't solve it so it's not muted.
restarting or stopping rc.pulseaudio doesn't change anything.
/var/log/messages spits "darkstar root: ACPI group jack / action headphone is not defined" when i plug/unplug headphones.
I don't want to need to reboot to switch between headphones/speakers.
 
Old 04-18-2016, 11:43 AM   #2
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
I can manually switch with pavucontrol but it should switch automagically.
 
1 members found this post helpful.
Old 04-18-2016, 11:44 AM   #3
archfan
Member
 
Registered: Mar 2016
Location: /dev/hug
Distribution: Slackware 14.2 x64
Posts: 85

Rep: Reputation: 32
Just get rid of PA by removing it and recompiling phonon with "-DWITH_PulseAudio=BOOL:OFF ".

Also remove / rename /etc/asound.conf.

That would help figuring out whether pulseaudio or alsa is the culprit here.

I'm thinking about setting up my own Slackware repository with all pulseaudio dependencies disabled. Some people might prefer not to use PA at all as it is known to cause all kinds of problems.

I'm not saying it's completely useless but it does seem to cause far more trouble than it's worth.
 
Old 04-18-2016, 12:30 PM   #4
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190
And also makes some things really easy

3 computers, 1 set of speakers, sound for all comes out that one set of speakers

Easy, so impressed was I that I installed it on my 14.0 and 14.1 boxes.

Yes, I also noticed the headphone/reboot issue on current but as I was dealing with something else at the time I didn't think much of it.
 
Old 04-18-2016, 01:16 PM   #5
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
OldHolborn so you can confirm that it also affects you.

archfan i would like to be free from pulse audio, i'm mostly waiting for 14.2 stable then i think i will remove PA since it think it brings more problems then i solves.
I would really appreciate if there was a folder with packages without PA in the final release but i don't think it will happen.
 
1 members found this post helpful.
Old 04-18-2016, 01:58 PM   #6
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190
Haha, sods law

Now it's working, more or less. If startup with headphones in then it works fine, if I come out of suspend it doesn't until the plug is reinserted and removed again

I can live with that
 
Old 04-18-2016, 05:05 PM   #7
archfan
Member
 
Registered: Mar 2016
Location: /dev/hug
Distribution: Slackware 14.2 x64
Posts: 85

Rep: Reputation: 32
Quote:
Originally Posted by Nille_kungen View Post
OldHolborn so you can confirm that it also affects you.

archfan i would like to be free from pulse audio, i'm mostly waiting for 14.2 stable then i think i will remove PA since it think it brings more problems then i solves.
I would really appreciate if there was a folder with packages without PA in the final release but i don't think it will happen.
I hear you. I will get my repository up and running soon. When it's online I will share the link with everyone who has interest in PA free packages.

Maybe we could create a list of all packages that need recompiling against ALSA.
 
Old 04-18-2016, 06:50 PM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
little reminder that occurs sometimes with pavuctrol is the record or play back may get set to monitor mode please select a different device mode.
Monitor is a mode in which another program takes control of that device.
 
Old 04-22-2016, 09:00 AM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by archfan View Post
Maybe we could create a list of all packages that need recompiling against ALSA.
I don't know how many of these require recompiling, but there are a lot of programs that link to pulseaudio.

Code:
wget http://www.bisdesign.ca/ivandi/slackware/SlackMATE/extra/deps/DEPENDENCIES
grep :pulseaudio DEPENDENCIES | wc -l
The result of that is 120 applications linking to pulseaudio.
 
1 members found this post helpful.
Old 04-22-2016, 09:44 AM   #10
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by Drakeo View Post
little reminder that occurs sometimes with pavuctrol is the record or play back may get set to monitor mode please select a different device mode.
Monitor is a mode in which another program takes control of that device.
How do i check that i i had never used pavuctrol before i got this error and used it to change speaker/headphones.
 
Old 04-24-2016, 09:37 AM   #11
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Does anyone know how to debug this problem since i don't know much about pulse audio?
Automatic switching between audio jack/speakers should be fixed so it works in the stable release of 14.2

Seems related to /etc/rc.d/rc.pulseaudio being executable during boot "chmod -x /etc/rc.d/rc.pulseaudio" solved it.
Stopping the script doesn't make it work it needs to be -x during boot.
I do need to start it to run some wine games that doesn't work otherwise but that can be done after boot and stop if after i used wine.
I guess it has to do with --disallow-module-loading

Last edited by Nille_kungen; 04-29-2016 at 10:21 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My Headphones stopped working after install of Pulseaudio Duglas Linux - Software 5 08-28-2014 11:45 PM
Pulseaudio + Slackware64-current WillMcDade Slackware 11 06-14-2014 02:56 AM
Alsa PulseAudio only headphones not working master channel firedrake Slackware 7 07-20-2013 04:31 AM
blueman requires pulseaudio in 64 current ivandi Slackware 10 06-28-2012 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration