Since update to kernel 2.6.32 I get the following when booting: # /etc/init.d/alsasound restart * WARNING: you are stopping a boot service. * Storing ALSA Mixer Levels ... [ ok ] * Loading ALSA modules ... * Loading: snd-card-0 ... [ ok ] * Loading: snd-card-0 ... [ ok ] * Restoring Mixer Levels ... Unknown hardware: "VIA8237" "Realtek ALC658D" "AC97a:414c4781" "0x147b" "0x1415" Hardware is initialized using a guess method * Errors while restoring defaults, ignoring [ ok ] My card is: 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) It works fine with 2.6.31, I hit the same error on 2.6.32 with media-sound/alsa-utils-1.0.20-r5 and 1.0.21-r1 My emerge --info: Portage 2.1.7.15 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.32-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13 Timestamp of tree: Fri, 01 Jan 2010 19:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/distfiles" FEATURES="assume-digests autoaddcvs ccache cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign strict test test-fail-continue unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org" LANG="es_ES.UTF-8" LC_ALL="es_ES.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="es es_ES en_US" MAKEOPTS="-j2" 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="/usr/portage/local/layman/sunrise /usr/portage/local/layman/suka /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick java jpeg kdehiddenvisibility kpathsea latex libnotify lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads thunar tiff truetype unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
Do you have sound?
Do you have pulseaudio installed?
Yes, I have sound :-) And no, I don't have pulseaudio at all :-/
What's in /usr/share/alsa/init ? Is VIA8237 in a any of the files?
(In reply to comment #4) > What's in /usr/share/alsa/init ? > > Is VIA8237 in a any of the files? > $ ls -l /usr/share/alsa/init/ total 36 -rw-r--r-- 1 root root 1808 dic 20 18:47 00main -rw-r--r-- 1 root root 7271 dic 20 18:47 default -rw-r--r-- 1 root root 1519 dic 20 18:47 hda -rw-r--r-- 1 root root 391 dic 20 18:47 help -rw-r--r-- 1 root root 932 dic 20 18:47 info -rw-r--r-- 1 root root 10759 dic 20 18:47 test $ grep VIA /usr/share/alsa/init/* $ Seems that not :-(
I see similar messages on my systems yet I also have sound. So if you have sound, is this a problem?
I agree that it's a minor problem, but it's still a problem (more since I see that also one of my laptops gives a similar message with kernels 2.6.32) I can send this to upstream if you want...
alsautils/alsactl/init/00main: # steps are: # 1) look for preinit subdirectory and parse all files in it # 2) if RESULT=="skip", skip ALSA standard configuration files # 3) do ALSA standard configuration # 4) look for postinit subdirectory and parse all files in it # 5) if RESULT!="true", initialize hardware using a guess method, # print an error message and return with exit code 99 # 6) return with exit code 0 (success) # Step 5's error message is: ERROR="Hardware is initialized using a guess method\n" I tried to find what the 'preinit subdirectory' or the 'guess method' is in the internets, but I had no luck. I'll CC the alsa team to shed some light on whether the guess method (which seems to be the default) is normal or not.
http://bugzilla.kernel.org/show_bug.cgi?id=15107#c5 kernel people think it's an alsactl problem
Sound still works, but volume levels are not recorded, every time alsasound is restarted, I get volume levels reset :-/
Same issue here on kernel-2.6.32. Upgraded to alsa-utils-1.0.23 with no result. Attached debug info to the upstream bug tracker: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4901
I am still suffering this :-(
I had the same problem (AMD64 and audio VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)). A workaround is posted at http://bugs.gentoo.org/show_bug.cgi?id=281631#c9 : ---- Trouble can fixed with workaround: in /etc/init.d/alsasound - alsactl -f "${alsastatedir}/asound.state" restore ${cardnum} \ + alsactl -I -f "${alsastatedir}/asound.state" restore ${cardnum} \ ---- For me, it works fine with the workaround (tested with recent stable kernel 2.6.34-gentoo-r1), but in my opinion the audio card should be detected properly nonetheless.
This still seems to happen with gentoo-sources-2.6.34-r1 and alsa-utils-1.0.21-r1 & alsa-lib-1.0.21a. A fix I found elsewhere which prevents the "Unknown hardware" and "guess method" lines from being output is by prefixing calls to 'alsactl' in /etc/init.d/alsasound with "CMD=default", or indeed by simply doing 'export CMD=default' beforehand. Because the machine this was tested on is a remote server, I've no idea whether this had any effect beyond not printing the error messages ;)
I'm not sure if it's relevant, but I just ran into this message when configuring sound for the first time on an intel hda realtek card. I got it to go away by removing the generic audio codec module so only the realtek codec is an option. Does this help?
Not for me, I don't understand why it's "unknown hardware" even seeing some quirks for that device in via driver source :-(
+*alsa-utils-1.0.23-r1 (07 Sep 2010) + + 07 Sep 2010; Pacho Ramos <pacho@gentoo.org> +alsa-utils-1.0.23-r1.ebuild, + +files/alsa-utils-1.0.23-alsactl-output.patch, + +files/alsa-utils-1.0.23-alsactl-output2.patch: + Revision bump to fix bug #299362 following upstream indications and + applying upstream patches that will be included in 1.0.24. +