Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81558 - Can't control volume in XMMS (ALSA) but in alsamixer
Summary: Can't control volume in XMMS (ALSA) but in alsamixer
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 18:25 UTC by Sebastian
Modified: 2005-03-17 03:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2005-02-10 18:25:46 UTC
Hello!

I have a Terratec 5.1 USB MKII soundcard which seems to be very well supported by ALSA. But I can't get the volume control to work. I can control the volume in alsamixer with the slider to the right, but I can't in xmms and mplayer. 

I think it is because there are two sliders with the same name. See http://www-users.rwth-aachen.de/sebastian.kemper/amixer_1.png and http://www-users.rwth-aachen.de/sebastian.kemper/amixer_2.png 

In xmms I can choose "Speaker", but everytime I choose the second one it doesn't care, see 
http://www-users.rwth-aachen.de/sebastian.kemper/xmms_alsa_setup.png

Normally when you change the volume in xmms you can watch a slider in alsamixer go up or down, but this doesn't happen on my computer.

Can you guys fix this?

Thank you!

Sebastian

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 12:06:24)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.4_p6, 1.7.9-r1, 1.9.4, 1.6.3, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/video/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="3dnow 3dnowex X alsa crypt cups dvb dvd dvdr foomaticdb gnome gtk gtk2
ithreads jpeg mad mmx mmx2 ncurses nls nodrm nomotif oggvorbis png ppds readline
rtc spell sse ssl truetype truetype-fonts userlocales x86 xml2 xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-10 18:47:06 UTC
I dunno about mplayer, but in the alsa-plugin configuration in xmms you can configure which mixer is used as the main one.  You could try changing it between master/pcm/whatever and see if that helps.  Or does your card's master mixer start off muted?  If so, (as above) you probably want to un-mute it, add /etc/init.d/alsasound (in the alsa-utils package) to the default runlevel, and then run "alsactl -f /etc/asound.state store" to save your current mixer levels as the default.

Hope this helps - if not, good luck. :)
Comment 2 Sebastian 2005-02-10 20:30:49 UTC
:) No, that's not the problem. The card works, I can plug in say my headphones and change the volume in alsamixer. But I can't directly in xmms and the like. As you prolly saw in the picture, I can choose between "Mic" and 2x "Speaker". Not one of them has any effect.

Sebastian
Comment 4 Sebastian 2005-03-17 03:36:42 UTC
Thanks to my own stupidity. Should have just entered a different mixer device Speaker,1.
Sorry