[pulseaudio-discuss] Sound Volume Setting At Login

Mark LaPierre marklapier at aol.com
Thu Nov 7 01:55:04 CET 2013


On 11/06/2013 07:02 PM, Mark LaPierre wrote:
> On 11/06/2013 03:05 PM, Weedy wrote:
>>
>> On 5 Nov 2013 22:48, "Mark LaPierre" <marklapier at aol.com
>> <mailto:marklapier at aol.com>> wrote:
>>>
>>> On 11/05/2013 11:39 AM, Weedy wrote:
>>>> On Tue, Nov 5, 2013 at 9:23 AM, Tanu Kaskinen
>>>> <tanu.kaskinen at linux.intel.com
>> <mailto:tanu.kaskinen at linux.intel.com>
>> <mailto:tanu.kaskinen at linux.intel.com
>> <mailto:tanu.kaskinen at linux.intel.com>>>
>>>> wrote:
>>>>
>>>>     On Sat, 2013-11-02 at 16:57 -0400, Mark LaPierre wrote:
>>>>     > On 10/25/2013 07:19 AM, Arun Raghavan wrote:
>>>>     > > On Mon, 2013-10-14 at 19:23 -0400, Mark LaPierre wrote:
>>>>     > >> On 10/12/2013 07:37 PM, Mark LaPierre wrote:
>>>>     > >>>
>>>>     > >>> Hey all,
>>>>     > >>>
>>>>     > >>> When I log on my sound level is set at about 35%.  I have to
>>>>     use the
>>>>     > >>> sound preferences to turn the sound level up every time I
>> log in.
>>>>     > >>>
>>>>     > >>> Other users on this same system do not have this issue.  When
>>>>     they log
>>>>     > >>> in their volume is set at 100%.
>>>>     > >>>
>>>>     > >>> This leads me to believe that there must be something in
>> my local
>>>>     > >>> settings that is turning down my sound volume settings.
>>>>     > >>>
>>>>     > >>> Does anyone have a clue were the config file might be that is
>>>>     causing
>>>>     > >>> this to happen to me and not to others?  Maybe it's not
>>>>     located in my
>>>>     > >>> home because I've searched for it but I've come up empty.
>>>>     > >>>
>>>>     > >>>
>>>>     > >>
>>>>     > >> It has occured to me that I didn't include any information
>> about my
>>>>     > >> system.  Maybe this will help one of you to find an answer to
>>>>     my problem.
>>>>     > >>
>>>>     > >> CentOS release 6.4 (Final)
>>>>     > >>
>>>>     > >> Linux mushroom.patch 2.6.32-358.18.1.el6.i686 #1 SMP Wed Aug 28
>>>>     14:27:42
>>>>     > >> UTC 2013 i686 i686 i386 GNU/Linux
>>>>     > >>
>>>>     > >> [mlapier at mushroom ~]$ rpm -qa | grep -i pulse
>>>>     > >> alsa-plugins-pulseaudio-1.0.21-3.el6.i686
>>>>     > >> pulseaudio-utils-0.9.21-14.el6_3.i686
>>>>     > >> pulseaudio-module-x11-0.9.21-14.el6_3.i686
>>>>     > >> pulseaudio-libs-zeroconf-0.9.21-14.el6_3.i686
>>>>     > >> pulseaudio-libs-0.9.21-14.el6_3.i686
>>>>     > >> pulseaudio-module-gconf-0.9.21-14.el6_3.i686
>>>>     > >> pulseaudio-libs-devel-0.9.21-14.el6_3.i686
>>>>     > >> pulseaudio-gdm-hooks-0.9.21-14.el6_3.i686
>>>>     > >> pulseaudio-libs-glib2-0.9.21-14.el6_3.i686
>>>>     > >> pulseaudio-0.9.21-14.el6_3.i686
>>>>     > >> [mlapier at mushroom ~]$
>>>>     > >
>>>>     > > Wow, those are old versions of PulseAudio indeed. Don't suppose
>>>>     you can
>>>>     > > move to something newer?
>>>>     > >
>>>>     > > A few options:
>>>>     > >
>>>>     > > 1. Enable verbose logging (log-level = debug in
>>>>     /etc/pulse/daemon.conf)
>>>>     > > and see what is changing the volume
>>>>     > >
>>>>     > > 2. Wipe out ~/.pulse (which will remove all your settings) and
>>>>     see if
>>>>     > > that “fixes” it
>>>>     > >
>>>>     > > -- Arun
>>>>     > >
>>>>     >
>>>>     > I tried the possible solutions suggested by Arun but the effort
>>>>     was not
>>>>     > successful.
>>>>     >
>>>>     > I tried to give it a file in my home,
>>>>     > log-target = /home/mlapier/.pulse/log,
>>>>     > but it was not happy with that.  I left it at log-target = auto.
>>>>      Where
>>>>     > does the log file live?
>>>>
>>>>     The "auto" target uses syslog, when pulseaudio is not run from an
>>>>     interactive shell (otherwise "auto" uses stderr).
>>>>
>>>>     Syslog has the problem that it ignores debug level messages (at
>> least on
>>>>     some systems, I'd guess it's the default behaviour). Syslog can
>> probably
>>>>     be configured to not ignore them, but I don't know how to do that.
>>>>
>>>>
>>>> destination _syslog { file("/var/log/syslog"); };
>>>> filter f_syslog { not facility(authpriv, mail); };
>>>> log { source(src); filter(f_syslog); destination(_syslog); };
>>>
>>> I guess that I don't have syslog running on my system because there is
>>> no /var/log/syslog file on my system.  I'll have to see what it takes to
>>> get it running.
>>>
>>> Thanks for the tip.
>>
>> Wat?
>> I can't think of a distro that doesn't ship logging. You sure it's not
>> just off? Anything in init.d/ have syslog in the name?
>>
>>
> 
> I've got:
> Rsyslog is an enhanced multi-threaded syslogd supporting, among others,
> MySQL, syslog/tcp, RFC 3195, permitted sender lists, filtering on any
> message part, and fine grain output format control.
> 
> I guess I've got some research to do.
> 
> I'm running:
> CentOS release 6.4 (Final)
> 
> Linux mushroom.patch 2.6.32-358.23.2.el6.i686 #1 SMP Wed Oct 16 17:21:31
> UTC 2013 i686 i686 i386 GNU/Linux
> 
> 
> 

I found the log file.  Here's what it has to say:

Nov  6 16:54:09 mushroom pulseaudio[15011]: client.c: Freed 0
"ConsoleKit Session /org/freedesktop/ConsoleKit/Session15"
Nov  6 16:54:12 mushroom spice-vdagent[15162]: Missing virtio device
'/dev/virtio-ports/com.redhat.spice.0': No such file or directory
Nov  6 16:54:12 mushroom seahorse-daemon[15171]: init gpgme version 1.1.8
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c:
setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
Nov  6 16:54:13 mushroom rtkit-daemon[2576]: Sucessfully made thread
15197 of process 15197 (/usr/bin/pulseaudio) owned by '500' high
priority at nice level -11.
Nov  6 16:54:13 mushroom pulseaudio[15197]: core-util.c: Successfully
gained nice level -11.
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: This is PulseAudio
0.9.21
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: Page size is 4096 bytes
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: Machine ID is
bccf73f6ec99054cdabc83b500000017.
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: Session ID is
bccf73f6ec99054cdabc83b500000017-1383774850.188645-1322346147.
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: Using runtime
directory /home/mlapier/.pulse/bccf73f6ec99054cdabc83b500000017-runtime.
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: Using state
directory /home/mlapier/.pulse.
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: Using modules
directory /usr/lib/pulse-0.9.21/modules.
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: Running in system
mode: no
Nov  6 16:54:13 mushroom pulseaudio[15197]: main.c: Fresh
high-resolution timers available! Bon appetit!
Nov  6 16:54:13 mushroom pulseaudio[15197]: cpu-x86.c: CPU flags: CMOV
MMX SSE SSE2 SSE3 MMXEXT 3DNOW 3DNOWEXT
Nov  6 16:54:13 mushroom pulseaudio[15197]: svolume_mmx.c: Initialising
MMX optimized functions.
Nov  6 16:54:13 mushroom pulseaudio[15197]: remap_mmx.c: Initialising
MMX optimized remappers.
Nov  6 16:54:13 mushroom pulseaudio[15197]: svolume_sse.c: Initialising
SSE2 optimized functions.
Nov  6 16:54:13 mushroom pulseaudio[15197]: remap_sse.c: Initialising
SSE2 optimized remappers.
Nov  6 16:54:13 mushroom pulseaudio[15197]: sconv_sse.c: Initialising
SSE2 optimized conversions.
Nov  6 16:54:13 mushroom pulseaudio[15197]: module-device-restore.c:
Sucessfully opened database file
'/home/mlapier/.pulse/bccf73f6ec99054cdabc83b500000017-device-volumes'.
Nov  6 16:54:13 mushroom pulseaudio[15197]: module.c: Loaded
"module-device-restore" (index: #0; argument: "").
Nov  6 16:54:13 mushroom pulseaudio[15197]: module-stream-restore.c:
Sucessfully opened database file
'/home/mlapier/.pulse/bccf73f6ec99054cdabc83b500000017-stream-volumes'.
Nov  6 16:54:13 mushroom pulseaudio[15197]: module.c: Loaded
"module-stream-restore" (index: #1; argument: "").
Nov  6 16:54:13 mushroom pulseaudio[15197]: module-card-restore.c:
Sucessfully opened database file
'/home/mlapier/.pulse/bccf73f6ec99054cdabc83b500000017-card-database'.
Nov  6 16:54:13 mushroom pulseaudio[15197]: module.c: Loaded
"module-card-restore" (index: #2; argument: "").
Nov  6 16:54:13 mushroom pulseaudio[15197]: module.c: Loaded
"module-augment-properties" (index: #3; argument: "").
Nov  6 16:54:13 mushroom pulseaudio[15197]: alsa-util.c: Failed to set
hardware parameters on plug:iec958:2: Invalid argument
Nov  6 16:54:13 mushroom pulseaudio[15197]: alsa-util.c: Failed to set
hardware parameters on plug:iec958:2: Invalid argument
Nov  6 16:54:13 mushroom pulseaudio[15197]: alsa-util.c: Failed to set
hardware parameters on plug:surround40:2: Invalid argument
Nov  6 16:54:13 mushroom pulseaudio[15197]: alsa-util.c: Failed to set
hardware parameters on plug:surround40:2: Invalid argument
Nov  6 16:54:13 mushroom pulseaudio[15197]: alsa-util.c: Failed to set
hardware parameters on plug:surround40:2: Invalid argument
Nov  6 16:54:13 mushroom pulseaudio[15197]: alsa-util.c: Failed to set
hardware parameters on plug:surround40:2: Invalid argument
Nov  6 16:54:13 mushroom rsyslogd-2177: imuxsock begins to drop messages
from pid 15197 due to rate-limiting
Nov  6 16:54:13 mushroom rsyslogd-2177: imuxsock begins to drop messages
from pid 15011 due to rate-limiting
Nov  6 16:54:13 mushroom pulseaudio[15195]: main.c: Daemon startup
successful.
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c:
setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
Nov  6 16:54:14 mushroom rtkit-daemon[2576]: Sucessfully made thread
15231 of process 15231 (/usr/bin/pulseaudio) owned by '500' high
priority at nice level -11.
Nov  6 16:54:14 mushroom pulseaudio[15231]: core-util.c: Successfully
gained nice level -11.
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c: This is PulseAudio
0.9.21
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c: Page size is 4096 bytes
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c: Machine ID is
bccf73f6ec99054cdabc83b500000017.
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c: Session ID is
bccf73f6ec99054cdabc83b500000017-1383774850.188645-1322346147.
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c: Using runtime
directory /home/mlapier/.pulse/bccf73f6ec99054cdabc83b500000017-runtime.
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c: Using state
directory /home/mlapier/.pulse.
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c: Using modules
directory /usr/lib/pulse-0.9.21/modules.
Nov  6 16:54:14 mushroom pulseaudio[15231]: main.c: Running in system
mode: no
Nov  6 16:54:14 mushroom pulseaudio[15231]: pid.c: Daemon already running.
Nov  6 16:54:18 mushroom rsyslogd-2177: imuxsock lost 71 messages from
pid 15011 due to rate-limiting
Nov  6 16:54:23 mushroom rsyslogd-2177: imuxsock lost 2706 messages from
pid 15197 due to rate-limiting
Nov  6 16:54:23 mushroom pulseaudio[15197]: client.c: Created 8 "Native
client (UNIX socket client)"
Nov  6 16:54:23 mushroom pulseaudio[15197]: protocol-native.c: Got
credentials: uid=500 gid=500 success=1
Nov  6 16:54:30 mushroom pulseaudio[15011]: core.c: We are idle, quitting...
Nov  6 16:54:30 mushroom pulseaudio[15011]: main.c: Daemon shutdown
initiated.
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-device-restore" (index: #0).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-device-restore" (index: #0).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-card-restore" (index: #1).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-card-restore" (index: #1).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-alsa-card" (index: #2).
Nov  6 16:54:30 mushroom pulseaudio[15011]: sink.c: Freeing sink 0
"alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00-CODEC.analog-stereo"
Nov  6 16:54:30 mushroom pulseaudio[15011]: source.c: Freeing source 0
"alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00-CODEC.analog-stereo.monitor"
Nov  6 16:54:30 mushroom pulseaudio[15011]: source.c: Freeing source 1
"alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00-CODEC.analog-stereo"
Nov  6 16:54:30 mushroom pulseaudio[15011]: card.c: Freed 0
"alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00-CODEC"
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-alsa-card" (index: #2).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-alsa-card" (index: #3).
Nov  6 16:54:30 mushroom pulseaudio[15011]: source.c: Freeing source 2
"alsa_input.usb-AKM_AK5370-00-AK5370.analog-mono"
Nov  6 16:54:30 mushroom pulseaudio[15011]: card.c: Freed 1
"alsa_card.usb-AKM_AK5370-00-AK5370"
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-alsa-card" (index: #4).
Nov  6 16:54:30 mushroom pulseaudio[15011]: source.c: Freeing source 3
"alsa_input.usb-Vimicro_Corp._Venus_USB2.0_Camera-02-Camera.analog-mono"
Nov  6 16:54:30 mushroom pulseaudio[15011]: card.c: Freed 2
"alsa_card.usb-Vimicro_Corp._Venus_USB2.0_Camera-02-Camera"
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-alsa-card" (index: #4).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-alsa-card" (index: #5).
Nov  6 16:54:30 mushroom pulseaudio[15011]: sink.c: Freeing sink 1
"alsa_output.pci-0000_00_11.5.analog-stereo"
Nov  6 16:54:30 mushroom pulseaudio[15011]: source.c: Freeing source 4
"alsa_output.pci-0000_00_11.5.analog-stereo.monitor"
Nov  6 16:54:30 mushroom pulseaudio[15011]: source.c: Freeing source 5
"alsa_input.pci-0000_00_11.5.analog-stereo"
Nov  6 16:54:30 mushroom pulseaudio[15011]: card.c: Freed 3
"alsa_card.pci-0000_00_11.5"
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-alsa-card" (index: #5).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-udev-detect" (index: #6).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-udev-detect" (index: #6).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-native-protocol-unix" (index: #7).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-native-protocol-unix" (index: #7).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-default-device-restore" (index: #8).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-default-device-restore" (index: #8).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-rescue-streams" (index: #9).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-rescue-streams" (index: #9).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-always-sink" (index: #10).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-always-sink" (index: #10).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-intended-roles" (index: #11).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-intended-roles" (index: #11).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-suspend-on-idle" (index: #12).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-console-kit" (index: #13).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-console-kit" (index: #13).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloading
"module-position-event-sounds" (index: #14).
Nov  6 16:54:30 mushroom pulseaudio[15011]: module.c: Unloaded
"module-position-event-sounds" (index: #14).
Nov  6 16:54:30 mushroom pulseaudio[15011]: main.c: Daemon terminated.

I see further down the list the interaction with the volume control
where I turn up the volume.

Do you see anything in this that would indicate why my volume defaults
to such a low setting?

Is there more that I could share that might help?

-- 
    _
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/
****


More information about the pulseaudio-discuss mailing list