[ale] Problems with soundcard

Trey Sizemore trey at fastmail.fm
Sun May 4 15:11:59 EDT 2003


I am trying to get sound working on my machine via ALSA.  I have a
SoundBlaster Live! 5.1 PCI card installed and am running Gentoo with
kernel 2.4.20.  I have been working at this for several days with much
googling(?).  I have compiled the kernel with Sound Card Support both as
a module (M) and in the kernel (*).  It is currently set up as in the
kernel.  I have copied this to my /boot/bzImage (and verified the
simlink to my kernel is correct).  I have compiled the emu10k1 driver
and manually (via insmod) installed all drivers that should(?) be
required.  However, I cannot get the emu10k1 driver loaded.  Here is
some relevant output:

1) root at salamander trey # lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            40164   0  (autoclean) (unused)
snd-hwdep               5312   0
snd-pcm                64704   0  [snd-pcm-oss]
snd-timer              15656   0  [snd-pcm]
snd-util-mem            1408   0
snd-rawmidi            14592   0
snd-ac97-codec         38016   0
snd-seq-device          4384   0  [snd-rawmidi]
snd-page-alloc          5292   0  [snd-pcm]
snd-mixer-oss          13880   0  (autoclean) [snd-pcm-oss]
snd                    32260   0  (autoclean) [snd-pcm-oss snd-hwdep
snd-pcm snd-timer snd-util-mem snd-rawmidi snd-ac97-codec snd-seq-device
snd-mixer-oss]
root at salamander trey #

2)  root at salamander trey # cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
(rev 2).
      Master Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xe4000000 [0xe7ffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev
2).
      Master Capable.  Latency=64.  Min Gnt=128.
  Bus  0, device   4, function  0:
    ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 2).
  Bus  0, device   4, function  1:
    IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 1).
      Master Capable.  Latency=32.
      I/O at 0xd800 [0xd80f].
  Bus  0, device   4, function  2:
    USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
      IRQ 12.
      Master Capable.  Latency=32.
      I/O at 0xd400 [0xd41f].
  Bus  0, device   4, function  3:
    Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 2).
      IRQ 9.
  Bus  0, device   9, function  0:
    Ethernet controller: Digital Equipment Corporation DECchip 21041
[Tulip Pass 3] (rev 33).
      IRQ 12.
      Master Capable.  Latency=96.
      I/O at 0xd000 [0xd07f].
      Non-prefetchable 32 bit memory at 0xdb000000 [0xdb00007f].
  Bus  0, device  10, function  0:
    Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 7).
      IRQ 9.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=20.
      I/O at 0x9800 [0x981f].
  Bus  0, device  10, function  1:
    Input device controller: Creative Labs SB Live! MIDI/Game Port (rev
7).
      I/O at 0x9400 [0x9407].
  Bus  0, device  11, function  0:
    VGA compatible controller: ATI Technologies Inc Rage 128 RE/SG (rev
0).
      IRQ 10.
      Master Capable.  Latency=32.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xdc000000 [0xdfffffff].
      I/O at 0xb000 [0xb0ff].
      Non-prefetchable 32 bit memory at 0xda800000 [0xda803fff].
  Bus  0, device  12, function  0:
    Unknown mass storage controller: Promise Technology, Inc. 20262 (rev
1).
      IRQ 11.
      Master Capable.  Latency=32.
      I/O at 0xa800 [0xa807].
      I/O at 0xa400 [0xa403].
      I/O at 0xa000 [0xa007].
      I/O at 0x1000 [0x1003].
      I/O at 0x1040 [0x107f].
      Non-prefetchable 32 bit memory at 0xda000000 [0xda01ffff].

3)  root at salamander trey # insmod snd-emu10k1
Using
/lib/modules/2.4.20-gentoo-r2/kernel/sound/pci/emu10k1/snd-emu10k1.o
/lib/modules/2.4.20-gentoo-r2/kernel/sound/pci/emu10k1/snd-emu10k1.o:
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg

I have also attached my /etc/modules.conf and /etc/modules.d/alsa. 
Sorry for the long post and any help is greatly appreciated.  Oh, and
just to see if it had any effect, I change my BIOS for PNP OS from 'no'
to 'yes', but this didn't have any effect.

-Trey



### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modules.d and read
# the manpage for modules-update.
#
### modules-update: start processing /etc/modules.d/aliases
# Aliases to tell insmod/modprobe which modules to use

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off		# Unix
# alias net-pf-2 off		# IPv4
# alias net-pf-3 off		# Amateur Radio AX.25
# alias net-pf-4 off		# IPX
# alias net-pf-5 off		# DDP / appletalk
# alias net-pf-6 off		# Amateur Radio NET/ROM
# alias net-pf-9 off		# X.25
# alias net-pf-10 off		# IPv6
# alias net-pf-11 off		# ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off		# Acorn Econet

alias char-major-10-175	agpgart
alias char-major-10-200	tun
alias char-major-81	bttv
alias char-major-108	ppp_generic
alias /dev/ppp		ppp_generic
alias tty-ldisc-3	ppp_async
alias tty-ldisc-14	ppp_synctty
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate
alias ppp-compress-26	ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0	loop_gen
alias loop-xfer-3	loop_fish2
alias loop-xfer-gen-10	loop_gen
alias cipher-2		des
alias cipher-3		fish2
alias cipher-4		blowfish
alias cipher-6		idea
alias cipher-7		serp6f
alias cipher-8		mars6
alias cipher-11		rc62
alias cipher-15		dfc2
alias cipher-16		rijndael
alias cipher-17		rc5

# Support for i2c and lm_sensors
alias char-major-89    i2c-dev


### modules-update: end processing /etc/modules.d/aliases

### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin 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
 options emu10k1 snd_extin=0x3fx3 snd_extout=0x1fff
## 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

### modules-update: end processing /etc/modules.d/alsa

### modules-update: start processing /etc/modules.d/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### modules-update: end processing /etc/modules.d/i386



# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin 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
options emu10k1 snd_extin=0x3fx3 snd_extout=0x1fff
## 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





More information about the Ale mailing list