[Pkg-pulseaudio-devel] Processed: (no subject)

2009-12-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 package pulseaudio
Limiting to bugs with field 'package' containing at least one of 'pulseaudio'
Limit currently set to 'package':'pulseaudio'

 merge 556971 562086
Bug#556971: pulseaudio does not remember volume settings, always set to 0
Bug#562086: [pulseaudio] pulseaudio muted and 0 volume on gnome login
Merged 556971 562086.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)

___
Pkg-pulseaudio-devel mailing list
Pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel


[Pkg-pulseaudio-devel] Bug#556971: #556971: pulseaudio does not remember volume settings, always set to 0

2009-12-23 Thread Ludovico Cavedon
Hi,
I found the cause of the issue. This is what happens of first boot/login
(i.e., when there is no ~/.pulse directory).

* boot:
/etc/init.d/alsa-utils start # set volume to default levels
* login:
pulseaudio --start # keep current volume (no saved one available)
* logout:
#pulseaudio keeps running!!
* reboot
/etc/init.d/alsa-utils stop # save current volume and mute mixer
kill pulseudio # save current volume (oops, mixer is mute!)


Second boot/login:
* boot:
/etc/init.d/alsa-utils start # set volume to saved one (good!)
* login:
pulseaudio --start # restore volume to saved one (oops, muted!)

Note that alsa and pulseaudio store volume separately.

I am attaching an easy proof-of-concept fix: prevent alsa-utils from
zeroing the mixer. It work for me.

But I would not blame alsa for doing that. I'd rather think that we
should ensure that pulseaudio gets stopped before alsa-utils stop is
called or when the user is logged out.

Thanks,
Ludovico

--- /etc/init.d/alsa-utils.orig	2009-12-24 01:42:33.0 +0100
+++ /etc/init.d/alsa-utils	2009-12-24 01:43:29.0 +0100
@@ -349,7 +349,7 @@
 	esac
 	card_OK $TARGET_CARD || log_action_end_msg_and_exit $( [ ! $2 ] ; echo $? ; ) none loaded
 	store_levels $TARGET_CARD || EXITSTATUS=1
-	mute_and_zero_levels $TARGET_CARD || EXITSTATUS=1
+	#mute_and_zero_levels $TARGET_CARD || EXITSTATUS=1
 	log_action_end_msg_and_exit $EXITSTATUS
 	;;
   restart|force-reload)



signature.asc
Description: OpenPGP digital signature
___
Pkg-pulseaudio-devel mailing list
Pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel