Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 339732

Summary: >=gnome-base/gnome-settings-daemon-2.30.2-r1 unable to change pulseaudio's output device if current default device volume output is 0%
Product: Gentoo Linux Reporter: Jordan <jordan.w.bradley>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=571145#c45
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 339225    
Attachments: xsession-errors when pulseaudio fails to change default sink

Description Jordan 2010-10-04 18:59:52 UTC
I am unable to change pulseaudio's default output device from my laptop's onboard sound chip to my Logitech ClearChat USB headset if the onboard sound's volume is set to 0%. I have to raise the volume before I am able to change the default device.

Reproducible: Always

Steps to Reproduce:
1. Open gnome-volume-control
2. Go to "Output" tab
3. Try to click the radio button beside "Logitech USB Headset Analog Stereo"
(4.) Sometimes the default will switch to the headset but will switch back to onboard within ~10 seconds. This step does not always happen.
Actual Results:  
Default output returned to onboard sound

Expected Results:  
Default device should be changed to USB headset

# emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-zen2 x86_64)
=================================================================
System uname: Linux-2.6.35-zen2-x86_64-Intel-R-_Core-TM-_i3_CPU_M_350_@_2.27GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 01 Oct 2010 15:30:22 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages mini-manifest news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/  http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/  "
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/wirelay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi additions alsa amd64 aspell bzip2 cairo cdda cdparanoia cleartype consolekit css cups dbus device-mapper dhcpcd dri dvd exif expat ffmpeg firefox fontconfig foomaticdb fuse gdbm gdu gecko gif glib gnome gstreamer gtk java jpeg libnotify live mad midi mmx mp3 mpeg multilib nautilus ncurses network networkmanager nls nptl opengl openmp pam pcre pdf pnf png policykit ppds pulseaudio python samba sdl smp spell sse sse2 ssl ssse3 svg tcpd threads threadsafe tiff truetype udev unicode usb wifi x264 xcb xinerama xml xorg xpdf-headers xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jordan 2010-10-04 22:40:07 UTC
I tried again and I found I can only change the default device successfully by increasing the volume with my keyboard's Fn+Up keys, using the slider in gnome-media doesn't work.
Comment 2 Pacho Ramos gentoo-dev 2010-10-05 07:28:55 UTC
I guess do you get the same with gnome-base/gnome-settings-daemon-2.30.2 (instead of its -r1 revision), do you get the same problem on a new created user account? In that case, could you attach ~/.xsession-errors file just after reproducing the bug?
Comment 3 Pacho Ramos gentoo-dev 2010-10-17 18:56:08 UTC
(In reply to comment #2)
> I guess do you get the same with gnome-base/gnome-settings-daemon-2.30.2
> (instead of its -r1 revision), do you get the same problem on a new created
> user account? In that case, could you attach ~/.xsession-errors file just after
> reproducing the bug?
> 

Please get back to us
Comment 4 Jordan 2010-10-17 19:51:06 UTC
The issue does not occur with gnome-base/gnome-settings-daemon-2.30.2.
Comment 5 Pacho Ramos gentoo-dev 2010-10-18 17:32:11 UTC
And, do you get the same on a new created user account with offending -r1 revision? Could you provide ~/.xsession-errors file when it has just failed?
Comment 6 Jordan 2010-10-18 22:51:02 UTC
>And, do you get the same on a new created user account with offending -r1
revision?
Yes
>Could you provide ~/.xsession-errors file when it has just failed?
See attachment.
Comment 7 Jordan 2010-10-18 22:52:44 UTC
Created attachment 251189 [details]
xsession-errors when pulseaudio fails to change default sink
Comment 8 Pacho Ramos gentoo-dev 2010-10-19 18:37:55 UTC
I think this is caused then by the new patch from:
https://bugzilla.gnome.org/show_bug.cgi?id=571145#c45

I will probably have to revert to a less modified version of previous patch for solving bug #327609 if possible for 2.32
Comment 9 Pacho Ramos gentoo-dev 2010-10-19 18:38:27 UTC
(In reply to comment #8)
> I think this is caused then by the new patch from:
> https://bugzilla.gnome.org/show_bug.cgi?id=571145#c45

Please comment on that upstream bug report about your issues with latest patch. Thanks
Comment 10 Pacho Ramos gentoo-dev 2010-12-04 16:49:18 UTC
+*gnome-settings-daemon-2.32.1 (04 Dec 2010)
+
+  04 Dec 2010; Pacho Ramos <pacho@gentoo.org>
+  +gnome-settings-daemon-2.32.1.ebuild:
+  Version bump with bugfixes and translation updates, use old gst patch as
+  newer one was causing more important problems (bug #339732) and then, bug
+  #327609 is back again. Also include upstream patches from master to improve
+  lcdfilter experience and stop monitoring some network filesystems.
+