Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA problem - insmod snd-ens1371 failed
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
isoaga
Apprentice
Apprentice


Joined: 31 Oct 2002
Posts: 206
Location: Newcastle, Australia

PostPosted: Wed Mar 05, 2003 3:22 am    Post subject: ALSA problem - insmod snd-ens1371 failed Reply with quote

Ok, i'm following the ALSA guide (i have a Creative Vibra 128 sound card) and i've done the following...

1. Removed all sound driver support from the kernel and only selected the sound support as a module, installed the new modules.

2.
Code:
# grep audio /proc/pci
    Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 2).

3.
Code:
# env ALSA_CARDS='ens1371' emerge alsa-driver

4. /etc/modules.d/alsa says:
Code:
 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-interwave
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

5.
Code:
# update-modules

6.
Code:
# rc-update add alsasound boot

7.
Code:
# /etc/init.d/alsasound start
 * Initialising ALSA....
 * Starting sound driver: snd-ens1371 /lib/modules/2.4.20/kernel/sound/pci/snd-ens1371.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
/lib/modules/2.4.20/kernel/sound/pci/snd-ens1371.o: insmod /lib/modules/2.4.20/kernel/sound/pci/snd-ens1371.o failed
/lib/modules/2.4.20/kernel/sound/pci/snd-ens1371.o: insmod snd-ens1371 failed                                                         [ ok ]



Any ideas as to why this is failing???

Code:
#dmesg
Ensoniq AudioPCI soundcard not found or device busy
Back to top
View user's profile Send private message
baxtor
n00b
n00b


Joined: 05 Mar 2003
Posts: 25
Location: NY

PostPosted: Thu Mar 06, 2003 3:52 pm    Post subject: Reply with quote

Code:

##  ALSA portion
## alias snd-card-0 snd-interwave
alias snd-card-1 snd-ens1371

[/code]

Have you tried the card on snd-card-0 ?

I only set up alsa once, but I seem to remember having to set my card up on snd-card-0 for some reason...
_________________
I'll be ding dong darned...
Back to top
View user's profile Send private message
isoaga
Apprentice
Apprentice


Joined: 31 Oct 2002
Posts: 206
Location: Newcastle, Australia

PostPosted: Tue Mar 11, 2003 7:38 am    Post subject: Reply with quote

Ok, i tried setting it to

Code:
##  ALSA portion
## alias snd-card-0 snd-interwave
alias snd-card-0 snd-ens1371


however i recieved the same errors.

Any more suggestions??
Back to top
View user's profile Send private message
[c4]
n00b
n00b


Joined: 07 Mar 2003
Posts: 43

PostPosted: Wed Mar 12, 2003 2:32 am    Post subject: Reply with quote

i am having the exact same problem using the emu10k1 driver for my soundblaster live
Back to top
View user's profile Send private message
JensZ
Guru
Guru


Joined: 15 Feb 2003
Posts: 339
Location: Freiburg

PostPosted: Wed Mar 12, 2003 12:21 pm    Post subject: Reply with quote

Seems to me as if your soundcard uses the es1373.
http://www.alsa-project.org/alsa-doc/
so try using this driver...
Back to top
View user's profile Send private message
stim
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2003
Posts: 116
Location: Brisbane, Australia

PostPosted: Sat Mar 15, 2003 12:57 pm    Post subject: Reply with quote

For completeness (althought the wrong driver I presume was the problem), I had the exact same problem and followed the instructions given on the Gentoo ALSA guide. However when I first compiled my kernel, I compiled the OSS driver into the kernel (i.e. not module) and so just recompiling the modules for ALSA did not remove the sound card drivers from the kernel (and of course nothing showed up from typing lsmod). I simply had to recompile complete kernel without the drivers, and ALSA worked (after many days of frustration mind you). ALSA isn't actually sounding good now though, so I might go back to OSS.

Stim
Back to top
View user's profile Send private message
ckchensouler
n00b
n00b


Joined: 25 Mar 2003
Posts: 1
Location: Taiwan

PostPosted: Tue Mar 25, 2003 11:44 am    Post subject: Reply with quote

I got exactly the same error messages as you guys had.
And I finally figure out that where the problem is.
We all have the kernel compiled with built-in sound driver in the first,
and them we want to re-compile the kernel just as the alsa doc says
because this way we can follow it blindly.
Then, we all forget one thing: the bzImage should be put into the
/boot in /dev/hda1(the boot partition). If you didn't mount /dev/hda1 first
into /boot, the booting process won't reach your new compiled kernel.
Once you take care of the above problem, you will get the same
output as the alsa doc shows. Good luck!
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