LinuxQuestions.org
Visit Jeremy's Blog.
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 07-16-2017, 07:26 PM   #31
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,224

Rep: Reputation: Disabled

Ok so had a sleep and the question is.....at post 7 you changed the system wide config to 6 channels and made no other changes to system wide configs
--------but can not get 6 ch until you remove the PA run files.....why?

I am clueless at this stage.

so let us try instead to disable PA, when you are ready to try....see if alsa is good enough to give you surround sound and then (and only then) make PA fail on reboot.

Please keep my downloads somewhere safe in case we need to restore them

step one
change PA so it will not autospawn(= restart)

use root powered kwrite to edit /etc/client.conf to edit these 2 lines
autospawn = yes
allow-autospawn-for-root = yes

so they read
autospawn = no
allow-autospawn-for-root = no

step two
stop PA

Code:
sudo killall pulseaudio
step three
test PA is not running.

I prefer you open a terminal and run htop -> press F3 to search and input pulseaudio

but a quick and dirty way without installing htop (if slackware does not have it) is this

Code:
top | grep pulseaudio
you will get no output if it is NOT running....simply close the terminal or press CTRL and c keys to close the command.

step four
check alsamixer is showing 6 ch....if not redo the alsamixer restore command from earlier posts

step five
play a surround file to test your sony speakers

if this works....I will give steps to disable PA over reboot..but I will wait to see if you understand my suggestions
 
Old 07-16-2017, 07:29 PM   #32
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,224

Rep: Reputation: Disabled
to any slacker lurking this post.

I looked at the contents of /etc/rc.d/rc.pulseaudio and saw this line

Quote:
/bin/killall pulseaudio
but on a ubuntu based system that executable is not under bin but /usr/bin

If you agree, slack uses /usr/bin too....maybe someone can tell the slack build maintainer?

I downloaded the txz file from here
http://ftp.iinet.net.au/linux/slackw...2/slackware/l/

Last edited by aus9; 07-16-2017 at 07:35 PM.
 
Old 07-16-2017, 09:05 PM   #33
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,040

Rep: Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031
Quote:
Originally Posted by aus9 View Post
to any slacker lurking this post.

I looked at the contents of /etc/rc.d/rc.pulseaudio and saw this line



but on a ubuntu based system that executable is not under bin but /usr/bin

If you agree, slack uses /usr/bin too....maybe someone can tell the slack build maintainer?

I downloaded the txz file from here
http://ftp.iinet.net.au/linux/slackw...2/slackware/l/
It is located in /bin/

Code:
jbhansen@craven-moorhead:~$ which killall
/bin/killall
Since you were willing to dig into the package, you can also use the Slackware Package Browser at http://packages.slackware.com

You can search for individual files changing the "Mode" dropdown to "Content". You can then search for individual files, and it'll let you know where they are at in the filesystem.
 
1 members found this post helpful.
Old 07-16-2017, 10:31 PM   #34
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,224

Rep: Reputation: Disabled
thanks bassmadrigal

If you or others that have contributed to this post......what do you make of my question at top of post 31.

ie OP has made only one change to a system wide PA config file but appears to need to delete the PA run files to make it work even over a reboot shutdown etc.

optional (2) do you agree that Slackware can safely run without PA?

once OP says....hopefully alsa runs with surrround sound 5.1 (6 ch) I plan to ask him to remove the executable to the etc/rc.d/rc.pulseaudio file
 
Old 07-17-2017, 12:11 AM   #35
tramni1980
Member
 
Registered: Jul 2006
Location: Gießen, Germany
Distribution: Slackware64-14.2
Posts: 780

Original Poster
Rep: Reputation: 48
Hello, aus9,
as I wrote in post #25, I was actually contented with my sound at the current stage. It seems to me to be a surround sound with high quality. I am simply curious with respect to the testing of the system in the KDE settings when the dual stereo switch of the SONY control device is "on". I am not sure I am motivated enough to go into all the trouble with disabling PA, which is already notorious in this forum.

Last edited by tramni1980; 07-17-2017 at 12:29 AM.
 
Old 07-17-2017, 12:57 AM   #36
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,224

Rep: Reputation: Disabled
Hi in post 25 you said you needed to delete stuff. Are you still needing to do that?

If no then happy for you to mark as solved.
 
Old 07-17-2017, 01:30 AM   #37
tramni1980
Member
 
Registered: Jul 2006
Location: Gießen, Germany
Distribution: Slackware64-14.2
Posts: 780

Original Poster
Rep: Reputation: 48
Hello,
I only needed to delete stuff once, and now things work normally after reboot. Unless you think the behaviour I described in post #25 (I provide it below for convenience) is not OK, I can mark this thread as solved.
Quote:
The only problem now is the "dual stereo switch" on the SONY control device.
When it is "off", all speakers and the subwoofer are successfully tested in the KDE Audio and Video Settings -> Audio Hardware Setup (produce sound when I click on them here http://imgur.com/a/8rPwr).
However, when I set the dual stereo switch to "on", Front Left and Front Right are successfully tested in the KDE Audio and video Settings -> Audio Hardware setup, whereas all the rest are silent; at the same time during real playback I checked that all speakers and the subwoofer do produce sound. The sound quality is definitely better than when the dual stereo switch is set to "off". I am not sure whether that is OK, probably this is how things should be. What do you think?
 
Old 07-17-2017, 02:36 AM   #38
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,224

Rep: Reputation: Disabled
I am on KDE but I use pavucontrol. So personally the big picture now that you said you only needed to delete it once....mark as solved please.
 
Old 07-17-2017, 05:10 AM   #39
tramni1980
Member
 
Registered: Jul 2006
Location: Gießen, Germany
Distribution: Slackware64-14.2
Posts: 780

Original Poster
Rep: Reputation: 48
Many thanks to all the people who contributed to the solution of this problem, in particular to aus9,
who led the process to the end.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sound problems (alsaconf cannot find sound modules.) vmlinuz.gz Linux - Newbie 8 11-12-2008 03:36 AM
Sound problems in Slackware 11 with Sweex sound card RicardoB Linux - Hardware 0 04-30-2007 01:34 PM
Sound problems with ubuntu 4.1 and a realtek sound card linux-novice Linux - Newbie 1 02-18-2006 11:44 PM
Sound Problems: CD works, no system/mp3/video sound tabnaka SUSE / openSUSE 5 01-13-2006 12:33 PM
Problems getting sound to play under Mandrake w/2 sound cards HGeneAnthony Linux - Hardware 1 07-02-2004 02:19 PM


All times are GMT -5. The time now is 06:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration