You are not logged in.

#1 2010-03-07 05:24:56

Dawei87
Member
Registered: 2009-04-08
Posts: 23

[Solved] volume control broken after pulseaudio install

ok. so i have finally made the switch to arch and have configured my computer pretty much exactly as i want it. i have only noticed one problem so far, and that is after i installed pulseaudio and got it running, i could no longer control the volume with my volume keys. i can still use the applet, but when i use the keyboard it controls my internal sound card (snd-hda-intel) (it is supposed to control my other soundcard as that is what pulseaudio is using). i have been searching through the forums and wikis with no luck, if any gurus out there could help me out that would be great!

EDIT: ok, so now im not sure if the volume keys are changing the volume on anything at all. but the point is when i press volume up or down on the keyboard the notification pops up and the slider moves but the volume doesnt actually get any louder or softer.

Last edited by Dawei87 (2010-03-09 05:26:22)

Offline

#2 2010-03-07 09:13:32

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: [Solved] volume control broken after pulseaudio install

Try not loading the internal sound card's modules at all.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-03-07 10:02:17

Dawei87
Member
Registered: 2009-04-08
Posts: 23

Re: [Solved] volume control broken after pulseaudio install

thanks for the quick response! unfortunately, i have tried this with no luck. i have removed the module from the modeprobe.conf and i also blacklisted it in /etc/rc.conf. but the problem is the same. has anyone else had this problem?

Offline

#4 2010-03-07 10:25:50

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: [Solved] volume control broken after pulseaudio install

Did you rebuild the necessary gnome packages? Gnome, and its volume applet, still uses gstreamer so a rebuild with small modifications is required to fully integrate pulseaudio in gnome. You can find more information here: http://www.nepherte.be/featuring-pulsea … nome-2-26/ (it also applies to gnome 2.28)

Offline

#5 2010-03-07 11:39:59

Dawei87
Member
Registered: 2009-04-08
Posts: 23

Re: [Solved] volume control broken after pulseaudio install

i have not tried that, as i am really clueless when it comes to doing that sort of thing. but i did install gnome-media-pulse, which gave me a working volume applet that controls the volume well, so im not sure if rebuilding stuff like gnome-applets would help either...

Offline

#6 2010-03-07 14:50:49

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: [Solved] volume control broken after pulseaudio install

If you installed gnome-media-pulse, no rebuild of gnome-media is necessary. If the volume osd doesn't work, you need to rebuild gnome-settings-daemon (and remove the gstreamer-volume patch from the pkgbuild). If you don't know how to rebuild a package, see http://wiki.archlinux.org/index.php/ABS

Offline

#7 2010-03-07 19:26:52

Dawei87
Member
Registered: 2009-04-08
Posts: 23

Re: [Solved] volume control broken after pulseaudio install

ok. that helped a lot. after rebuilding the package i can now control the volume with the osd and keyboard. unfortunately, this started another bit of weird behavior. when i adjust the master volume, it also adjust the volume sliders for all the individual applications. so if i set the master volume to 25%, rhythmbox also gets set to 25%, this cause the volume to step greatly and be inaudible at levels below 25%. it also does this if i slide the actual slider on the sound preferences screen. is there something else i should change in the PKGBUILD to fix this? here is what my PKGBUILD looks like so far:

# $Id: PKGBUILD 56418 2009-10-21 20:31:13Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-settings-daemon
pkgver=2.28.1
pkgrel=1
pkgdesc="The GNOME Settings daemon"
arch=(i686 x86_64)
license=('GPL')
depends=('libgnomekbd>=2.28.0' 'gnome-desktop>=2.28.0' 'libnotify>=0.4.5' 'libx$
makedepends=('intltool' 'pkgconfig')
conflicts=('gnome-control-center<2.22.0')
options=(!emptydirs !libtool)
install=gnome-settings-daemon.install
url="http://www.gnome.org"
groups=('gnome')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.28/${pkgname}-${pkg$
        gstreamer-volume.patch)
sha256sums=('1267ef7d4069189b6bd05b915586b5b323688a136d394e571d29991d59bbadb2'
            'b0a77d17b095432b4c3858dff0ba192578d8ae92705e5b23f636268684fab516')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  libtoolize --force || return 1
  aclocal || return 1
  autoconf || return 1
  automake || return 1
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
      --libexecdir=/usr/bin --disable-static || return 1

  make || return 1
  make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || r$

  install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --d$
  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}

Last edited by Dawei87 (2010-03-07 19:27:54)

Offline

#8 2010-03-08 18:23:40

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: [Solved] volume control broken after pulseaudio install

I think what you describe is the the behavior of the flat-volumes option. Uncomment the line in /etc/pulse/daemon.conf so it says:

flat-volumes = no

Offline

#9 2010-03-08 21:50:28

Dawei87
Member
Registered: 2009-04-08
Posts: 23

Re: [Solved] volume control broken after pulseaudio install

that was definitely it! thank you so much for all the help and the quick responses! i think this is the first thread i've ever made that i can mark as solved lol

EDIT: i feel kinda dumb, but how do i mark this thread as solved?

Last edited by Dawei87 (2010-03-08 21:55:17)

Offline

#10 2010-03-09 02:48:46

uwinkelvos
Member
Registered: 2009-06-07
Posts: 129

Re: [Solved] volume control broken after pulseaudio install

edit your first post and prefix the topic with [solved] smile

Offline

Board footer

Powered by FluxBB