View previous topic :: View next topic |
Author |
Message |
hlevyn Apprentice
Joined: 14 Jan 2005 Posts: 240 Location: Santa Clara, California
|
Posted: Sat Dec 31, 2011 7:49 pm Post subject: [Solved] ALSA Mixer Cannot find Soundcards |
|
|
Hello all,
So this is a bit of a weird issue. When I run alsaconf it is able to detect my soundcards, the kernel modules are all loaded, yet when I start alsasound it is not able to find the soundcards:
Code: | * Loading ALSA modules ...
* Loading: snd-card-0 ... [ ok ]
* Loading: snd-card-1 ... [ ok ]
* Restoring Mixer Levels ...
alsactl: load_state:1652: Cannot find soundcard '0'...
* Errors while restoring defaults, ignoring
alsactl: load_state:1652: Cannot find soundcard '1'...
* Errors while restoring defaults, ignoring [ ok ] |
Below are the soundcards as seen by lspci:
Code: | 00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:10.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster |
Below are all of the audio kernel modules (as shown by lsmod):
Code: | snd_opl3_synth 7954 0
snd_seq_midi_emul 3360 1 snd_opl3_synth
snd_seq_midi 3228 0
snd_seq_oss 19731 0
snd_seq_midi_event 3764 2 snd_seq_midi,snd_seq_oss
snd_seq 33124 7 snd_opl3_synth,snd_seq_midi_emul,snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 26064 0
snd_mixer_oss 9940 1 snd_pcm_oss
snd_cmipci 21914 0
gameport 5376 1 snd_cmipci
snd_opl3_lib 5874 2 snd_opl3_synth,snd_cmipci
snd_hwdep 3816 1 snd_opl3_lib
snd_mpu401_uart 3999 1 snd_cmipci
snd_ca0106 24861 0
snd_rawmidi 12238 3 snd_seq_midi,snd_mpu401_uart,snd_ca0106
snd_seq_device 3677 6 snd_opl3_synth,snd_seq_midi,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd_ac97_codec 78184 1 snd_ca0106
ac97_bus 718 1 snd_ac97_codec
snd_pcm 43446 4 snd_pcm_oss,snd_cmipci,snd_ca0106,snd_ac97_codec
snd_timer 12027 3 snd_seq,snd_opl3_lib,snd_pcm
snd_page_alloc 4845 2 snd_ca0106,snd_pcm |
Below is the contents of /etc/modprobe.d/alsa.conf:
Code: | # Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 snd #soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-ca0106
alias snd-card-1 snd-cmipci
options snd-ca0106 index=0
options snd-cmipci index=1
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=2 |
And lastly, here is my emerge --info:
Code: | Portage 2.1.10.44 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r1, 3.1.5-gentoo i686)
=================================================================
System uname: Linux-3.1.5-gentoo-i686-AMD_Athlon-TM-_XP_2100+-with-gentoo-2.1
Timestamp of tree: Fri, 30 Dec 2011 06:00:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r3, 3.2.2
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1
sys-apps/openrc: 0.9.7
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13::<unknown repository>, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 3.4.6-r2, 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r1
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/apache2/vhosts.d /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/media/portage/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache apache2 apng audiofile avi berkdb branding browserplugin bzip2 cairo cdda cdrom cli consolekit cracklib crypt cups curl cxx dbus device-mapper dri dts dvd dvdr encode esd exif fam firefox flac fortran gdbm gdu gif gmp gnome-print gnutls gpm gtk hal iconv java6 java7 jce jpeg kerberos lame lcms libnotify mad mng modules moonlight mozdevelop mozilla mp3 mp4 mpeg mpeg2 mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pam pango pcre pdf perl php png policykit ppds pppd qt3support readline samba sdl session spell ssl startup-notification svg sysfs tcltk tcpd tiff truetype udev unicode usb vim vorbis win32codecs x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ca0106 cmipci" 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="alias auth_basic auth_digest authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dir disk_cache env file_cache include log_config logio mem_cache mime mime_magic negotiation setenvif unique_id vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Any and all help is much appreciated. Thanks! _________________ Madness takes its toll. Please have exact change.
Last edited by hlevyn on Wed Jan 04, 2012 11:40 pm; edited 1 time in total |
|
Back to top |
|
|
hlevyn Apprentice
Joined: 14 Jan 2005 Posts: 240 Location: Santa Clara, California
|
Posted: Wed Jan 04, 2012 11:39 pm Post subject: |
|
|
Finally figured out what the problem was. For some reason udev was no longer included in the default run level. Once I added the service and started it, everything seems to be working fine. _________________ Madness takes its toll. Please have exact change. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|