LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Sound Control Won't Allow Internal Port for Speakers (http://www.linuxquestions.org/questions/fedora-35/sound-control-wont-allow-internal-port-for-speakers-4175480472/)

andymck 10-11-2013 05:02 PM

Sound Control Won't Allow Internal Port for Speakers
 
I've recently installed Fedora 19 on my Dell Inspiron 620 and I have a very frustrating problem with the sound system. If I open a Gnome session and select the "Sound" tool from the System Settings" window, the only selectable output device it show is the PCM 2900 devices (i.e., the USB ports). The reason they show is that I have a USB turntable plugged in; if I unplug the turntable, no devices show at all.

If I bring up the Pulseaudio volume control, it does see the builtin "device", but only shows the headphones port as selectable; the speaker port in the back that I have the speakers plugged into is apparently not visible to the system. If I plug the speakers into the headphone jack on the front panel, it works fine, but I really don't want the wire hanging out the front where I can snag it with something and maybe break it.

I know the back port is physically OK, as I can test it from a KDE session. But in Gnome, I can't find a way to access it. Is there a ALSA or Pulseaudio tool that I don't know about? What's going on (or wrong) here?

aus9 10-11-2013 06:33 PM

Hi

as you appear to want to swap between sound devices, keep pulseaudio for now

2) It could be just a simple mixer control control issue so ignore Gnome mixer and use a terminal command and post the image of this command pls WITHOUT any usb devices plugged in and without any 3.55 leads plugged into any sound hole (=stack)

Code:

alsamixer -V all
upload to your fav hosting site or if you have none try http://imagebin.org/index.php?page=add
or for a more permanent hosting site consider http://tinypic.com/

Leaping ahead what we are looking for is your codec, your output controls and whether they are muted or volumes too low

3) also pls post the contents of

Code:

aplay -l
aplay -L
lsmod | grep snd
lspci -v (and show just the audio section pls)

in case your card needs a model=string config or an .asoundrc file

andymck 10-11-2013 07:25 PM

Okay the screengrab of alsamixer is at http://imagebin.org/273435.

aplay -l produced the following:


**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20641 Analog [CX20641 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

aplay -L produced:

null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, CX20641 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, CX20641 Analog
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, CX20641 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, CX20641 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, CX20641 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, CX20641 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, CX20641 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output

lsmod said:

snd_hda_codec_hdmi 41276 1
snd_hda_codec_conexant 56945 1
snd_hda_intel 44075 3
snd_hda_codec 179171 3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 13554 1 snd_hda_codec
snd_seq 60752 0
snd_seq_device 14136 1 snd_seq
snd_pcm 98071 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 18268 2 snd_pcm,snd_hda_intel
snd_timer 28698 2 snd_pcm,snd_seq
snd 75313 15 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_hda_codec,snd_hda_ intel,snd_seq_device
soundcore 14491 1 snd

And lspci said:

<snipped>

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Subsystem: Dell Device 04ed
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at fe500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

<snipped>

For what it's worth, this was a plain, bare-metal install into new partitions, so there weren't any old configuration files hanging around to complicate things. I still have my Fedora 18 install working, and the same symptoms appear there -- except that, for some reason, I can hear the sound just fine. I think that I must have bypassed Pulseaudio somehow without realizing it; if so, I wish I could figure out how, but getting Pulseaudio to work correctly would be even better.

BTW, what are 3.55 leads? I unplugged the USB cord for the turntable, but the speakers are still plugged in at the back. I can unplug the speakers and do this again if it will help, but that shouldn't be necessary if things Work Correctly (TM).

aus9 10-11-2013 10:24 PM

thanks for the image, it proves pulseaudio is correctly installed (PA) but not proof your configs are correct

now I repeat, remove all sound leads (= size of 3.55 mm) and yes that means the speakers
---reason----pulseaudio has some settings that include
headphone connect----mute speakers
---we don't want any interference ok

----if any speakers or sound systems are on usb lead....please remove them for the output
I am not asking you to leave them out permanently only for the command output ok

2)
new command with image to post is
Code:

alsamixer -c 0 -V all
that will give me your codec for card onboard which controls speakers

3) it looks like your card is a conexant so independent of your alsamixer image pls show output of
Code:

cat /proc/asound/card0/codec#0 | grep Codec
4) are you sure thats the only lspci output for audio? consider
http://www.alsa-project.org/db/?f=e7...8ee8ce36c059e7

thanks for your patience

EDIT

(5)
I am hoping your codec will be seen in this list
https://www.kernel.org/doc/Documenta...dio-Models.txt

andymck 10-11-2013 11:49 PM

Okay the new alsaimage screenshot is at http://imagebin.org/273456

Here is the lspci output without edits or deletions:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Dell Device 04ed
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Dell Device 04ed
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at fe000000 (64-bit, non-prefetchable) [size=4M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Dell Device 04ed
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at fe507000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei_me

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
Subsystem: Dell Device 04ed
Flags: bus master, medium devsel, latency 0, IRQ 17
Memory at fe506000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Subsystem: Dell Device 04ed
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at fe500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: fe400000-fe4fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Prefetchable memory behind bridge: 00000000d0000000-00000000d00fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
Subsystem: Dell Device 04ed
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at fe505000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
Subsystem: Dell Device 04ed
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich

00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05) (prog-if 8a [Master SecP PriP])
Subsystem: Dell Device 04ed
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at 01f0 [size=8]
I/O ports at 03f4
I/O ports at 0170 [size=8]
I/O ports at 0374
I/O ports at f0d0 [size=16]
I/O ports at f0c0 [size=16]
Capabilities: <access denied>
Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
Subsystem: Dell Device 04ed
Flags: medium devsel, IRQ 18
Memory at fe504000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]
Kernel driver in use: i801_smbus

00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05) (prog-if 85 [Master SecO PriO])
Subsystem: Dell Device 04ed
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at f0b0 [size=8]
I/O ports at f0a0 [size=4]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f070 [size=16]
I/O ports at f060 [size=16]
Capabilities: <access denied>
Kernel driver in use: ata_piix

02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Dell Wireless 1502 802.11bgn Half-size Mini PCIe Card
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fe400000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Dell Device 04ed
Flags: bus master, fast devsel, latency 0, IRQ 45
I/O ports at e000 [size=256]
Memory at d0004000 (64-bit, prefetchable) [size=4K]
Memory at d0000000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169

(Sorry about including all of it, but I wanted to be sure).

And there was no /proc/asound/card0/codec#0, but /proc/asound/card0/codec#2 started with:

Codec: Conexant CX20641

BTW, I unplugged both the speakers and the little mic I installed for Skype, as well as the USB turntable. Those should be the only sound-related ports that had anything in them, except for whatever audio links there may be in my monitor cable; for obvious reasons, I left that plugged in. ;-)

aus9 10-12-2013 03:55 AM

1 Attachment(s)
damn your PA may not be the issue but skype ---skype has a setting of that takes control, I believe.....grrrr

sorry I need another image as index=0 is currently your hdmi
Code:

alsamixer -c 1 -V all
also if it exists---pls say so and an image if exists
alsamixer -c 2 -V all

now whats really weird is that alsa thinks you have card 0 device one or device three for playback but you can't get a codec for card zero codec zero but get one for
codec 3

so I don't get confused can you now post each output for
Code:

cat /proc/asound/card0/codec#0 | grep Codec
cat /proc/asound/card0/codec#1 | grep Codec
cat /proc/asound/card0/codec#2 | grep Codec

and what is also confusing is your latest image is for intel hdmi but no pci output for it....according to my eyesight

#####

so we might as well start asking what you did for skype setup
and
are you using a system wide PA configs or did you copy PA config files to your home folder

Does Fedora have a wiki for PA?

$$$$$

EDIT----you have auto mute enabled
its enabled in your second image pls disable it
rerun the second alsamixer command as
alsamixer -c 0 -V all
press the -> (RH) arrow key to it
press the up or down arrow to cycle to disable it

retest sound

aus9 10-12-2013 04:01 AM

and as this is going get confusing for you,
PA has a setting to timeout

so that alsamixer auto enabled mute ++++ with ++++ PA config can be a bitch

but one thing at a time sorry

EDIT 2 while we are it
which port is the mic for skype in?

Did you notice you have mic boosted on the rear ports
---normally that leads to distortion on cheaper sound devices (that I have ;)

andymck 10-12-2013 10:46 AM

Okay, a few things:

1) I can't show you the alsamixer display for cards 1 or 2, as they don't exist; my only audio is on the motherboard.

2) I disabled automute, but nothing changed (except the label for that column in alsamixer).

3) I am almost completely certain -- say 99.5% -- that Skype isn't the problem. I saw these issues on Fedora 18 (and still do) before installing Skype, and I haven't installed Skype on F19 at all yet. FWIW, the mic is (normally) plugged into the red/pink port on the back of the computer, next to the green one the speakers go in.

4) Here is the following re: devices on card 0:

***************
[andy@andy-Inspiron-620 ~]$ ll /proc/asound/card0
total 0
-r--r--r--. 1 root root 0 Oct 12 10:19 codec#2
-r--r--r--. 1 root root 0 Oct 12 10:19 codec#3
-rw-r--r--. 1 root root 0 Oct 12 10:19 eld#3.0
-r--r--r--. 1 root root 0 Oct 12 10:19 id
dr-xr-xr-x. 3 root root 0 Oct 12 10:19 pcm0c
dr-xr-xr-x. 3 root root 0 Oct 12 10:19 pcm0p
dr-xr-xr-x. 3 root root 0 Oct 12 10:19 pcm2c
dr-xr-xr-x. 3 root root 0 Oct 12 10:19 pcm3p
[andy@andy-Inspiron-620 ~]$ grep Codec /proc/asound/card0/*
/proc/asound/card0/codec#2:Codec: Conexant CX20641
/proc/asound/card0/codec#3:Codec: Intel CougarPoint HDMI
grep: /proc/asound/card0/pcm0c: Is a directory
grep: /proc/asound/card0/pcm0p: Is a directory
grep: /proc/asound/card0/pcm2c: Is a directory
grep: /proc/asound/card0/pcm3p: Is a directory
[andy@andy-Inspiron-620 ~]$
***************

Note that there is no card0/codec#0 or card0/codec#1. Note, also, that I have no idea what eld#3.0 is, not that it matters.

5) I'm not doing anything special with PA regarding system vs. user; I just boot the computer and use the GUI PA controls. I've never run "pulseaudio --system" or copied any config files from or to anywhere, at least on the Fedora 19 install, which is what we're talking about.

Finally,
6) I've looked at online documentation for both ALSA and PA, but have learned almost nothing from them. Both seem to assume that the reader already knows enough not to really need the docs, and they've only been written for the sake of completeness. This is fine if everything "Just Works"; when it doesn't, not having access (except through arcane system-level files) to things like port settings makes things very difficult.

PTrenholme 10-12-2013 11:34 AM

You could improve the information you get with grep like this:
Code:

$ grep -rH Codec /proc/asound/*
/proc/asound/card0/codec#0:Codec: Realtek ALC888-VD
/proc/asound/card1/codec#0:Codec: ATI RS690/780 HDMI
/proc/asound/HDMI/codec#0:Codec: ATI RS690/780 HDMI
/proc/asound/hwdep:00-00: HDA Codec 0
/proc/asound/hwdep:01-00: HDA Codec 0
/proc/asound/SB/codec#0:Codec: Realtek ALC888-VD

And, looking for different cards, this is somewhat easier:
Code:

$ find /proc/asound/card[0-9] -type f -name codec*
/proc/asound/card0/codec#0
/proc/asound/card1/codec#0

(Not that this has anything to do with your problem, but, if someone else looks at this thread, it might help them.)

andymck 10-12-2013 01:33 PM

grep Goodies
 
Quote:

Originally Posted by PTrenholme (Post 5044504)
You could improve the information you get with grep like this:
Code:

$ grep -rH Codec /proc/asound/*
/proc/asound/card0/codec#0:Codec: Realtek ALC888-VD
/proc/asound/card1/codec#0:Codec: ATI RS690/780 HDMI
/proc/asound/HDMI/codec#0:Codec: ATI RS690/780 HDMI
/proc/asound/hwdep:00-00: HDA Codec 0
/proc/asound/hwdep:01-00: HDA Codec 0
/proc/asound/SB/codec#0:Codec: Realtek ALC888-VD

And, looking for different cards, this is somewhat easier:
Code:

$ find /proc/asound/card[0-9] -type f -name codec*
/proc/asound/card0/codec#0
/proc/asound/card1/codec#0

(Not that this has anything to do with your problem, but, if someone else looks at this thread, it might help them.)

All very good, and I agree; grep -- like most *nix utilities -- has some interesting options that will make life easier if you learn to use them. If you want to explore this, man and info are your friends. I didn't bother with such because I didn't think I needed to this time, but I have many times in the past.

andymck 10-12-2013 06:13 PM

aus9,

Well, good news, more or less. After turning off automute, plugging my speakers back in, and rebooting, I can now play an audio CD. The Pulseaudio volume control still won't acknowledge that the backplane port exists, so unless I plug the speakers into the front panel headphones port it can't see them, but I guess that the ALSA subsystem is bypassing pulseaudio and using the port directly (or maybe going through some other subsystem I'm not aware of).

If you feel up to continuing to help me with this, I'd be grateful, as I'd really like to get PA and my hardware playing nicely with each other. But if you want to tell me, "Settle for what you can get," I'll understand and thank you for your help. It's your call.

aus9 10-12-2013 06:26 PM

no worries

I will assume you still want PA but first even tho its longer I want to keep at your assertion of only one onboard device
you have 2 so we now introduce a asoundrc config

I first want to attempt to force PA off hdmi and onto analog which is normally the only way you get sound out of
onboard speakers----unless we use PA settings but thats below

so first create this file pls
Code:

echo "pcm.!default {
type hw
card 0
device 0
}
" > /home/andy/.asoundrc

(change if I have guessed wrong)

full reboot

run alsamixer -c 0 to see if it no longer shows hdmi but the analog device

aus9 10-12-2013 06:43 PM

Independent of above pls use your package manager to install the following packages or check they exist pls
Quote:

pulseaudio paman pavucontrol pavumeter paprefs
in debian there is also pulseaudio-utils I would like you to install it if it exists as it gives you command=pacmd

Next for PA we will move you to home user configs instead of system wide
--PA looks for home user configs and so we don't need to delete /etc/pulse stuff

copy the following into your home folder (as a local user pls) at your home folder
Code:

mkdir .pulse
cp /etc/pulse/daemon.conf /home/andy/.pulse/
cp /etc/pulse/default.pa /home/andy/.pulse/

do not edit these pls until we resolve asoundrc issues for trouble shooting reasons

####
I use vlc which you edit config to use either alsa or pulseaudio or oss etc

can you name your media player pls

####

now post the full contents of your /etc/pulse/daemon.conf
and /etc/pulse/default.pa please

aus9 10-12-2013 08:40 PM

OK I think I found a solution (having only just installed PA) (I normally use alsa but I have only one sound device)

one in your first post you mention pavucontrol = pulse audio volume control
-that you can see only headphone

I assume you mean----tab=output devices you can only pulldown headphone Yes??

so pls tab to configuration and select analog stereo duplux reclick output devices tab----and see if it changes
IF no, back to config tab and select analog stereo output back to devices tab any changes?

###############

If no changes we may need to do a model=string but no CX20641 in
https://www.kernel.org/doc/Documenta...dio-Models.txt

we could force a setting as a last resort

let me know if you wish to try it, at your own risk of course!
suggested string to try model=dell-laptop
full line to read
options snd_hda_intel model=dell-laptop
file to append --not sure with fedora hopefully /etc/modprobe.d/alsa-base.conf
or we could create a file with root powers.

andymck 10-13-2013 12:40 AM

1) Okay, I created .asoundrc in my home directory; its contents are:

[andy@andy-Inspiron-620 ~]$ cat .asoundrc
pcm.!default {
type hw
card 0
device 0
}
[andy@andy-Inspiron-620 ~]$

(the "echo" didn't work, so I used vi).

Rebooting didn't change the "alsamixer -c 0" output; it still points to the "Intel CougarPoint HDMI" device. Note, BTW, I didn't say I only have one device, but that I only have one "card" (which is actually part of the motherboard).

********
[andy@andy-Inspiron-620 ~]$ ll -d /proc/asound/card*
dr-xr-xr-x. 6 root root 0 Oct 13 00:10 /proc/asound/card0
-r--r--r--. 1 root root 0 Oct 13 00:10 /proc/asound/cards

[andy@andy-Inspiron-620 ~]$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xfe500000 irq 46
********

2) I also use vlc.

3) All of the PA utilities you mention are present. I can easily select either analog output or analog duplex in pavucontrol, but both result on only the "headphones" port being selectable, which does no good unless the speakers are plugged into the front "headphones" jack.

4) I'd REALLY rather not force any module changes that might damage the audio hardware. Remember, it's motherboard audio; I can't just swap out a $20 SoundBlaster card.

5) In Fedora 19, per the "info pulseaudio" docs, the user PA files go in .config/pulse/ rather than in .pulse/ so that's what I did. Please don't be offended that I changed what you suggested. the contents are:
*************************************************************
[andy@andy-Inspiron-620 ~]$ cat .config/pulse/daemon.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out. Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-3
; enable-remixing = yes
; enable-lfe-remixing = no

; flat-volumes = yes

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 1000000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0
[andy@andy-Inspiron-620 ~]$
*************************************************************************
[andy@andy-Inspiron-620 ~]$ cat .config/pulse/default.pa
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
#load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Load DBus protocol
.ifexists module-dbus-protocol.so
load-module module-dbus-protocol
.endif

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=bell-windowing-system

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

load-module module-switch-on-port-available

### Make some devices default
#set-default-sink output
#set-default-source input
[andy@andy-Inspiron-620 ~]$
***************************************************************

If I've missed doing something or telling you some result, please say so. (And I really need to learn how to use scroll boxes in these posts...)


All times are GMT -5. The time now is 07:50 AM.