Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sb live 5.1 and alsa
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
2crazy
n00b
n00b


Joined: 07 Apr 2003
Posts: 54

PostPosted: Fri Dec 17, 2004 5:34 am    Post subject: sb live 5.1 and alsa Reply with quote

Hi all,

for some reason I can't get my Soundblaster to work. Everything seems to
be just fine, but all the devices nodes are missing under /dev/snd, and the only clue about my soundcard in dmesg is

Code:
ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 19 (level, low) -> IRQ 169


Strangely enough, I can access the soundcard using the OSS compatibility
layer.

Well, here comes the rest

Code:
# lspci | grep audio
0000:00:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)


Code:
# lsmod | grep snd
snd_mixer_oss          17216  2
snd_emu10k1            65512  2
snd_rawmidi            22372  1 snd_emu10k1
snd_pcm                92108  1 snd_emu10k1
snd_timer              22280  1 snd_pcm
snd_seq_device          7180  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         73728  1 snd_emu10k1
snd_page_alloc          8528  2 snd_emu10k1,snd_pcm
snd_util_mem            3904  1 snd_emu10k1
snd_hwdep               8392  1 snd_emu10k1
snd                    48552  8 snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_hwdep


Code:
# cat /proc/asound/cards
0 [Live           ]: EMU10K1 - Sound Blaster Live!
                     Sound Blaster Live! (rev.10) at 0xe000, irq 169


Code:
# grep SND .config
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
# CONFIG_SND_SEQUENCER_OSS is not set
# CONFIG_SND_BIT32_EMUL is not set
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set


Code:
# alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or directory


Furthermore, I'm using udev 049 and as I said, all the device nodes under
/dev/snd are missing, even the directory itself doesn't exist :-(

Coldplug is started during boot btw.

Does anyone got an idea?

Thanks
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Fri Dec 17, 2004 5:38 am    Post subject: Reply with quote

Instead of compiling the ALSA stuff as modules, compile it into the kernel. It works really great that way for me. If you do not want do that for some reason, try /etc/init.d/alsasound start . Cheers.
Back to top
View user's profile Send private message
2crazy
n00b
n00b


Joined: 07 Apr 2003
Posts: 54

PostPosted: Fri Dec 17, 2004 5:53 am    Post subject: Reply with quote

hi, thanks for the advice. I might give that a shot.

Just for clarification, alsasound is started. The only error message I get, ist that my sound devices need to be unmuted.

An alsa restart after the system started shows me this

Code:
# /etc/init.d/alsasound restart
 * Unloading ALSA ...                                                                                                 [ ok ] * Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...                                                            [ ok ] * Unloading modules 


and some more info

Code:
# cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.2 2004/07/18 03:40:55 dragonheart Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 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 snd-card-0 snd-emu10k1
## alias snd-card-1 snd-ens1371
##  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-3 snd-pcm-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=1


Code:
# uname -a
Linux NoiR 2.6.9-nitro4 #5 Thu Dec 16 22:42:09 CST 2004 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux


Code:
# emerge info
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-nitro4 x86_64)
=================================================================
System uname: 2.6.9-nitro4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  9 2004, 07:05:41)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2, 2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-march=athlon64 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.server4you.net http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/misc"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa avi berkdb bitmap-fonts cdparanoia cdr cjk crypt cups divx4linux dmx dvd dvdr dvdread encode esd f77 fam flac fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk2 imagemagick imlib java jp2 jpeg libwww lzw lzw-tiff mad matroska mikmod mono mozilla moznocompose moznoirc moznomail mozsvg mpeg multilib mysql ncurses nls nntp no-old-linux no_wxgtk1 nptl nptlonly nvidia offensive oggvorbis opengl pam perl pic png python quicktime readline rtc samba sdl slang spell ssl svg tcpd tiff transcode truetype unicode usb userlocales v4l2 xinerama xml xml2 xpm xprint xrandr xv xvid zlib"
Back to top
View user's profile Send private message
2crazy
n00b
n00b


Joined: 07 Apr 2003
Posts: 54

PostPosted: Fri Dec 17, 2004 6:21 am    Post subject: Reply with quote

I managed to solve it. Somehow udev simply doesn't create the devices.

Although udev was running

Code:
# ps -ef | grep udev
root      2027     1  0 Dec16 ?        00:00:00 udevd


a simple

Code:
# /sbin/udevstart

did the trick

Code:
ls /dev/snd/
controlC0  hwC0D0  midiC0D0  pcmC0D0c  pcmC0D0p  pcmC0D1c  pcmC0D2c  pcmC0D2p  timer


Thanks anyway
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