Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA fails to load necessary drivers (unsolved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
btsht23
n00b
n00b


Joined: 25 Aug 2005
Posts: 37

PostPosted: Sat Sep 16, 2006 2:06 pm    Post subject: ALSA fails to load necessary drivers (unsolved) Reply with quote

Hiho @all!

I am confused :-/ I was trying to set up ALSA to work with my CMEDIA CM8737 soundcard but it doesn't function - neither with alsa compiled into the kernel as modules (and also enabling the CMEDIA drivers as module) nor with alsa-drivers emerged seperately. I always get the same error:

Code:

SpaceStation ~ # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                              [ ok ]
 *   Loading: snd-seq-oss ...                                             [ ok ]
 *   Loading: snd-pcm-oss ...                                             [ ok ]
 * ERROR: Failed to load necessary drivers                                [ ok ]
 * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!    [ ok ]


My /etc/modules.d/alsa looks like this:
Code:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.5 2006/06/13 10:18:25 uberlord 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 `modules-update' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-cmipci
## 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


EDIT: In addition, alsaconf fails saying that there is no soundcard available and in /proc/asound/cards there's no soundcard too...
EDIT2: Here's an extract from dmesg:
Code:

ACPI: PCI Interrupt 0000:04:06.0[?]: no GSI
ALSA /var/tmp/portage/alsa-driver-1.0.12/work/alsa-driver-1.0.12/pci/../alsa-kernel/pci/cmipci.c:2866: unable to grab IRQ 255
C-Media PCI: probe of 0000:04:06.0 failed with error -16


I am using Kernel gentoo-sources 2.6.17-r8. (If you need any other information just ask.)

Do you know what i am doing wrong? How to get that ALSA work with my soundcard?


Thanks for your help :-)
betasheet


Last edited by btsht23 on Sun Sep 17, 2006 9:21 am; edited 1 time in total
Back to top
View user's profile Send private message
mirojira
l33t
l33t


Joined: 18 Feb 2006
Posts: 685

PostPosted: Sat Sep 16, 2006 5:11 pm    Post subject: Reply with quote

ALSA and also your issue is very popular theme here. As there can be many reasons why you have problem as you described I would suggest you to read
http://www.gentoo.org/doc/en/alsa-guide.xml and some threads mainly in "Multimedia forum". I believe that you will gather some more informations. If your problem persists let us know.
Back to top
View user's profile Send private message
btsht23
n00b
n00b


Joined: 25 Aug 2005
Posts: 37

PostPosted: Sat Sep 16, 2006 11:24 pm    Post subject: Reply with quote

Thanks for your answer! :-)

I have been following the instructions in that Gentoo ALSA guide when I tried to set up my soundcard. The problem seems to be, that ALSA does not really detect my soundcard. I don't know how to interprete that line in dmesg, but I don't think that it is unrelevant:
Code:
ACPI: PCI Interrupt 0000:04:06.0[?]: no GSI


This seems to cause the problem, but I don't know what this message does mean nor how to fix it.


It would be great if someone could help me understanding this...

Thank you :-)
betasheet
Back to top
View user's profile Send private message
xevix
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 284
Location: Cali, USA

PostPosted: Sun Sep 17, 2006 9:25 am    Post subject: Reply with quote

ACPI is power management I think, and is sometimes related because ACPI screws up hardware handling often. Being that I have a similar alsa issue as you, I'll tell you that I have no power management features enabled in-kernel, so it's not that.
_________________
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux 2x2.2 ghz
nVidia GeForce 8800 GTS 320Mb
250 gb SATA hd
2gb pc-3200 DDR
Back to top
View user's profile Send private message
btsht23
n00b
n00b


Joined: 25 Aug 2005
Posts: 37

PostPosted: Sun Sep 17, 2006 10:05 am    Post subject: Reply with quote

Hmm... As I read, ACPI also handles that thing with IRQs, and that's the next error coming up in dmesg (unable to grab ICQ 255) which is beeing followed by a c-media pci probe error.

So I would have said, that this is because of something with ACPI...

Could you locate the problem, xevix?
Back to top
View user's profile Send private message
btsht23
n00b
n00b


Joined: 25 Aug 2005
Posts: 37

PostPosted: Sun Sep 17, 2006 11:23 am    Post subject: Reply with quote

good, fixed - due to help of gentoo irc chat :)

the card wasn't plugged in successfully into the motherboard, now the card is beeing listed by alsaconf etc.

thanks for your help :D

betasheet
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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