Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev, alsa, and irqs
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
prodrunkbot
n00b
n00b


Joined: 24 Apr 2005
Posts: 29
Location: up my own ass

PostPosted: Thu May 26, 2005 12:43 am    Post subject: udev, alsa, and irqs Reply with quote

ok im about at the end of my rope. ive been working on this problem with my sound card for more than a month now and im gonna freak out.i keep telling myself to just go use slack but i cant talk myself into it so here we go one more time.
needless to say, it dont work! it is a soundblaster audigy 2 (emu10k1) i think all the alsa stuff is right but the card isnt getting an irq. maby someone has some ideas.
Code:
# uname -a 
Linux samuri 2.6.11-gentoo-r9 #2 SMP Wed May 25 19:46:20 EST 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux


Code:
# lspci | grep audio
0000:00:0c.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)


Code:
# cat /proc/interrupts
           CPU0       CPU1       
  0:    3061277                     0          XT-PIC  timer
  1:       4402                        0          XT-PIC  i8042
  2:          0                           0          XT-PIC  cascade
  3:      10191                       0          XT-PIC  eth0
 11:     229557                     0          XT-PIC  nvidia
 12:      89349                      0          XT-PIC  i8042
 14:      60019                      0          XT-PIC  ide0
 15:         11                         0          XT-PIC  ide1
NMI:          0                         0
LOC:    3061321      3061320
ERR:          0
MIS:          0


Code:
# /etc/init.d/alsasound start
* Loading ALSA modules...
 *   Loading: snd-card-0...                                               [ 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


if there is anything else that will help please just let me know.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Thu May 26, 2005 12:48 am    Post subject: Reply with quote

What does your ALSA configuration look like?
Back to top
View user's profile Send private message
prodrunkbot
n00b
n00b


Joined: 24 Apr 2005
Posts: 29
Location: up my own ass

PostPosted: Thu May 26, 2005 12:52 am    Post subject: Reply with quote

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.co$

# ALSA portion
# OSS/Free portion

##
## 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
## OSS/Free portion
alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
## 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

im try ing to avoid oss emulation ( i have tryed with and without) but ill use it if it will make things work
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Thu May 26, 2005 2:04 am    Post subject: Reply with quote

Enabling OSS emulation is usually a good idea, it makes older applications work. And it doesn't hurt, since ALSA-aware apps should still use ALSA.

Try this: (taken from alsa-project homepage)

Code:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
   
# 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


Also, make sure the module is loaded:

Code:
modprobe snd-emu10k1


You can put this module in your /etc/modules.autoload.d/kernel-$VER file if you want it to be loaded automatically at boot time.
Back to top
View user's profile Send private message
prodrunkbot
n00b
n00b


Joined: 24 Apr 2005
Posts: 29
Location: up my own ass

PostPosted: Thu May 26, 2005 2:31 am    Post subject: Reply with quote

i tried the config from the alsa page that you suuggested but it doesnt seem to help. i really am not convinced that the problem is actualy alsa as if you look you can see

Code:
# lsmod
Module                  Size  Used by
snd_emu10k1            96644  0
snd_rawmidi            19584  1 snd_emu10k1
snd_ac97_codec         74496  1 snd_emu10k1
snd_pcm                82180  2 snd_emu10k1,snd_ac97_codec
snd_timer              22788  2 snd_emu10k1,snd_pcm
snd_page_alloc          8708  2 snd_emu10k1,snd_pcm
snd_util_mem            4480  1 snd_emu10k1
snd_hwdep               8096  1 snd_emu10k1
nvidia               3918588  12


the mod is loaded ( i did this by hand. #modprobe snd-emu10k1), but


# cat /proc/interrupts
CPU0 CPU1
0: 9660435 0 XT-PIC timer
1: 7606 0 XT-PIC i8042
2: 0 0 XT-PIC cascade
3: 18330 0 XT-PIC eth0
11: 738121 0 XT-PIC nvidia
12: 195521 0 XT-PIC i8042
14: 61754 0 XT-PIC ide0
15: 11 0 XT-PIC ide1
NMI: 0 0
LOC: 9660764 9660763
ERR: 1
MIS: 0

there is no irq for the card. #cat /proc/pci confirms this.

really untill just over a month ago i thought that an irq was required for a module to load.
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