Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound! Error msg says "Cand find device"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ecce
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2005
Posts: 92

PostPosted: Tue Nov 21, 2006 6:58 pm    Post subject: No sound! Error msg says "Cand find device" Reply with quote

I cant get my soundcard working on my laptop.

lspci:

Code:
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)


As you can see it's an ordinary ICH AC97 sound chip. It is compiled as module in the kernel, and I have run make modules_install.

I then run alsaconf, it finds the card, loads the drivers and everything is ok. lsmod show this:

Code:

snd_intel8x0           25372  0
snd_ac97_codec         79072  1 snd_intel8x0
snd_ac97_bus            1856  1 snd_ac97_codec
snd_pcm                56776  2 snd_intel8x0,snd_ac97_codec
snd_page_alloc          6856  2 snd_intel8x0,snd_pcm
ieee80211_crypt_wep     3968  1
ipw2200               124104  0
ieee80211              24840  1 ipw2200
ieee80211_crypt         4672  2 ieee80211_crypt_wep,ieee80211


When I play a video or a music file, like a mp3 file, I hear nothing. I used mplayer in search for an error message and got this:

Code:

==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
alsa-init: using device default
alsa-lib: confmisc.c:670:(snd_func_card_driver) cannot find card '0'
alsa-lib: conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
alsa-lib: confmisc.c:391:(snd_func_concat) error evaluating strings
alsa-lib: conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
alsa-lib: confmisc.c:1070:(snd_func_refer) error evaluating name
alsa-lib: conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
alsa-lib: conf.c:3968:(snd_config_expand) Evaluate error: No such device
alsa-lib: pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default
alsa-init: playback open error: No such device
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...


I know alsa mute soundchannels by default, but that doesn't seem to be the problem here. I emerged aumix and I had to chmod 777 /dev/mixer in order to get aumix started (??) 8O.


Here's emerge --info:
Code:
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18.3 i686)
=================================================================
System uname: 2.6.18.3 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.12.1
Last Sync: Sat, 18 Nov 2006 19:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-fi
le --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclu
de='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa arts berkdb bitmap-fonts cdr cli cracklib crypt cups directfb dlloade
r dri elibc_glibc exif ffmpeg flac fortran ftp gdbm gif gpm hal iconv imlib input_devices_evdev in
put_devices_keyboard input_devices_mouse isdnlog java jpeg jpeg2k kde kernel_linux libg++ lm_senso
rs mime mmx mp3 mpeg mplayer ncurses nls nptl nptlonly opengl pam pcre pdf perl png ppds pppd pyth
on quicktime readline reflection samba session spl sse sse2 ssl svg tcpd truetype truetype-fonts t
ype1-fonts udev unicode usb userland_GNU video_cards_radeon wifi win32codecs wmf xorg xv xvid zlib
"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_
EXTRA_OPTS, PORTDIR_OVERLAY

What now?
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Tue Nov 21, 2006 7:08 pm    Post subject: Reply with quote

Is your user in the audio group?
Back to top
View user's profile Send private message
shivernz
n00b
n00b


Joined: 12 Nov 2006
Posts: 70
Location: New Zealand

PostPosted: Tue Nov 21, 2006 8:52 pm    Post subject: Reply with quote

did you try unmuting with "alsamixer"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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