/etc/init.d/alsasound fails to restore the four VIA DXS mixer levels on a reboot. All the other mixer levels are restored correctly. So every time I reboot I need to run alsamixer to restore the VIA DXS levels manually. After that using aplay works. This problem does not occur if I do /etc/init.d/alsasound restart. Other than this problem alsa seems to be working fine. mobo: Abit KV7 northbridge: VIA KT600 southbridge: VIA VT8237 I am using the motherboard audio and alsa drivers from the gentoo-dev-sources 2.6.7-r11 kernel compiled as modules. relevant output of lspci -v ----------------------------- 0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) Subsystem: ABIT Computer Corp.: Unknown device 1408 Flags: medium devsel, IRQ 22 I/O ports at dc00 Capabilities: [c0] Power Management version 2 relevant content of /etc/modules.d/alsa ----------------------------------------- alias snd-card-0 snd-via82xx options snd-via82xx dxs_support=4 The dxs_support parameter is needed to work around hardware problems lsmod output ------------------------------------------------------ Module Size Used by nfsd 90888 8 exportfs 5184 1 nfsd lockd 58248 2 nfsd sunrpc 131748 2 nfsd,lockd ehci_hcd 25924 0 uhci_hcd 28688 0 snd_via82xx 23684 0 snd_ac97_codec 65860 1 snd_via82xx snd_mpu401_uart 6144 1 snd_via82xx snd_rawmidi 20580 1 snd_mpu401_uart snd_seq_oss 31616 0 snd_seq_midi_event 6272 1 snd_seq_oss snd_seq 49744 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 6792 3 snd_rawmidi,snd_seq_oss,snd_seq snd_pcm_oss 49576 0 snd_pcm 85512 2 snd_via82xx,snd_pcm_oss snd_page_alloc 9032 2 snd_via82xx,snd_pcm snd_timer 21572 2 snd_seq,snd_pcm snd_mixer_oss 17728 1 snd_pcm_oss snd 48228 12 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 7328 1 snd psmouse 18056 0 # emerge info Portage 2.0.50-r9 (gcc34-x86-2004.2, gcc-3.3.3, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://linux.nctu.net/dists/gentoo/ http://www.zentek-international.com/mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="3dnow X acl acpi alsa apache2 apm arts avi berkdb bzlib cdr cjk crypt cups doc dvd encode esd ethereal fbcon foomaticdb freetype gdbm gif glade gmp gnome gpg gphoto2 gpm gtk gtk2 imap imlib innodb jabber java jpeg kde ldap libg++ libwww mad maildir mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime radeon readline samba scanner sdl slang speedo spell sse ssl svga tcpd tiff truetype type1 unicode usb videos x86 xml2 xmms xv yahoo zlib"
*** Bug 60118 has been marked as a duplicate of this bug. ***
sorry about posting the bug twice. I thought I had stopped it in time but obviously not. I will include the extra information from Bug 60118 here as well I forgot to say I am using: alsa-lib 1.0.5-r3 alsa-headers 1.0.5a alsa-utils-1.0.5 I am not using other alsa packages
Created attachment 37268 [details] alsasound state file
Can you please open a bug report upstream and let me know the bug number so I can follow it? Thanks.
please report this upstream and let me know the bug #. I cannot reproduce this as I don't have your hardware.
file the bug report upstream.
Sorry for the delay. I was doing some searching in the upstream bugs database before submitting the bug. I found this bug https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000346 which seems like a duplicate of what I am reporting. I tried the first piece of advice which was to try to restore the levels using alsactl restore. This restored the correct levels after a reboot. The same was true for the original reporter. The above bug claims it is a gentoo specific problem. I had a look at /etc/init.d/alsasound but nothing sticks out to me as wrong. But my shell scripting is not very good. $ cat /proc/asound/cards returns 0 [rev60 ]: VIA8233 - VIA 823x rev60 VIA 823x rev60 at 0xdc00, irq 22 $ CARDS="$(cat /proc/asound/cards | awk '/: / { print $1 }')" $ echo $CARDS returns 0 both of which seem ok I am now using gentoo-dev-sources-2.6.8-r1 but this seems to make no difference
i don't see how it restores some, but not all of the volumes... I can't reproduce this at all...
the only thing I can say is that I have a via chipset, and it's working for me... unless you can provide me with a patch, there's nothing I can do. =(
I have just found out that this is a problem with kde rather than with alsasound. The boot process is restoring the mixer levels correctly. Then when kde starts it is setting the four VIA DXS levels to zero. The other mixer levels are unchanged by kde. There is sound for the first half of the kde splash screen and then it dies. I didn't notice this before because normally I access the desktop from vnc. Googling finds quite few people with this problem on various distros. For example see SiegeX's post halfway down in http://dot.kde.org/1070894366/1071099818/ currently I am using gentoo-dev-sources 2.6.9-r9, alsa-utils 1.0.6 and kde 3.3.1