Jump to content

ALSA


rsanjiv
 Share

Recommended Posts

Hi,

I just installed the alsa drivers (0.9.8), alsa lib and the alsa utils. However, when I issue modprobe snd-emu10k1, this is what I get :

 

 
[root@localhost alsa]# modprobe snd-emu10k1 
/lib/modules/2.4.21-0.13mdk/kernel/sound/acore/snd.o: unresolved symbol snd_verbose_printk 
modprobe: insmod /lib/modules/2.4.21-0.13mdk/kernel/sound/acore/snd.o failed 
modprobe: insmod snd-emu10k1 failed

 

In fact, this is the message I get when I also issue the commands "modprobe snd-pcm-oss; modprobe snd-mixer-oss; modprobe snd-seq-oss"

 

The soundcard I have is Soundblaster Live! 5.1 and I believe the module is emu10k1.

 

Could somebody help me out with this ?

 

Regards,

 

Sanjiv

Link to comment
Share on other sites

Hi,

Here is some output I should have posted last time itself. Only the relevant portion of /proc/pci is shown. FYI, my soundcard is Soundblaster Live! 5.1

 

  Bus  2, device   2, function  0:
   Multimedia audio controller: PCI device 1102:0006 (Creative Labs) (rev 0).
     IRQ 17.
     Master Capable.  Latency=64.  Min Gnt=2.Max Lat=20.
     I/O at 0xdf20 [0xdf3f].
 Bus  2, device   2, function  1:
   Input device controller: PCI device 1102:7004 (Creative Labs) (rev 0).
     Master Capable.  Latency=64.
     I/O at 0xdf18 [0xdf1f].

 

[sanjiv@localhost sanjiv]$ cat /etc/modules.conf
#### Modified by oss-install ####

# Note! OSS/Linux doesn't use this file. All kernel sound
# services have just been disabled during oss installation.

alias char-major-14 off
alias sound off
alias midi off
alias sound-slot-0 off
alias sound-service-0-0 off
alias sound-service-0-1 off
alias sound-service-0-3 off
alias sound-service-0-8 off
alias sound-service-0-11 off
alias sound-service-0-12 off
alias sound-slot-1 off
alias sound-service-1-0 off
alias sound-service-1-1 off
alias sound-service-1-3 off
alias sound-service-1-8 off
alias sound-service-1-11 off
alias sound-service-1-12 off
alias sound-slot-2 off
alias sound-service-2-0 off
alias sound-service-2-1 off
alias sound-service-2-3 off
alias sound-service-2-8 off
alias sound-service-2-11 off
alias sound-service-2-12 off
alias sound-slot-3 off
alias sound-service-3-0 off
alias sound-service-3-1 off
alias sound-service-3-3 off
alias sound-service-3-8 off
alias sound-service-3-11 off
alias sound-service-3-12 off
alias char-major-116 off
alias snd-card-0 off
alias snd-card-1 off
alias snd-card-2 off
alias snd-card-3 off
alias snd-card-4 off

probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-uhci ehci-hcd
above snd-emu10k1 snd-pcm-oss
alias eth0 e100

 

[sanjiv@localhost sanjiv]$ cat /proc/modules
soundcore               6308   0
isofs                  28020   1 (autoclean)
zlib_inflate           21156   0 (autoclean) [isofs]
udf                    90496   0 (autoclean)
parport_pc             25128   1 (autoclean)
lp                      8128   0 (autoclean)
parport                34208   1 (autoclean) [parport_pc lp]
nfsd                   74288   8 (autoclean)
af_packet              14984   1 (autoclean)
sr_mod                 16952   4 (autoclean)
floppy                 55164   0
e100                   56996   1 (autoclean)
nls_cp850               4316   1 (autoclean)
vfat                   11820   1 (autoclean)
fat                    37976   0 (autoclean) [vfat]
nls_iso8859-1           3516   3 (autoclean)
ntfs                   76844   1 (autoclean)
supermount             15296   3 (autoclean)
ide-cd                 33856   0
cdrom                  31680   0 [sr_mod ide-cd]
ide-scsi               11312   2
scsi_mod              103316   2 [sr_mod ide-scsi]
keybdev                 2720   0 (unused)
mousedev                5300   1
hid                    20932   0 (unused)
usbmouse                2936   0 (unused)
input                   5696   0 [keybdev mousedev hid usbmouse]
ehci-hcd               18568   0 (unused)
usb-uhci               24684   0 (unused)
usbcore                73024   1 [hid usbmouse ehci-hcd usb-uhci]
rtc                     8092   0 (autoclean)
ext3                   59916   3
jbd                    38972   3 [ext3]

 

[sanjiv@localhost sanjiv]$ ls -l /dev/dsp*
lr-xr-xr-x    1 root     root            9 Nov 29 06:47 /dev/dsp -> /dev/dsp0
crw-------    1 sanjiv   audio     14,   3 Nov 29 06:47 /dev/dsp0
crw-------    1 sanjiv   audio     14,  19 Nov 29 06:47 /dev/dsp1
crw-------    1 sanjiv   audio     14, 163 Nov 29 06:47 /dev/dsp10
crw-------    1 sanjiv   audio     14, 179 Nov 29 06:47 /dev/dsp11
crw-------    1 sanjiv   audio     14, 195 Nov 29 06:47 /dev/dsp12
crw-------    1 sanjiv   audio     14, 211 Nov 29 06:47 /dev/dsp13
crw-------    1 sanjiv   audio     14, 227 Nov 29 06:47 /dev/dsp14
crw-------    1 sanjiv   audio     14, 243 Nov 29 06:47 /dev/dsp15
crw-------    1 sanjiv   audio     14,  35 Nov 29 06:47 /dev/dsp2
crw-------    1 sanjiv   audio     14,  51 Nov 29 06:47 /dev/dsp3
crw-------    1 sanjiv   audio     14,  67 Nov 29 06:47 /dev/dsp4
crw-------    1 sanjiv   audio     14,  83 Nov 29 06:47 /dev/dsp5
crw-------    1 sanjiv   audio     14,  99 Nov 29 06:47 /dev/dsp6
crw-------    1 sanjiv   audio     14, 115 Nov 29 06:47 /dev/dsp7
crw-------    1 sanjiv   audio     14, 131 Nov 29 06:47 /dev/dsp8
crw-------    1 sanjiv   audio     14, 147 Nov 29 06:47 /dev/dsp9
lr-xr-xr-x    1 root     root           10 Nov 29 06:47 /dev/dspW -> /dev/dspW0
crw-------    1 sanjiv   audio     14,   5 Nov 29 06:47 /dev/dspW0
crw-------    1 sanjiv   audio     14,  21 Nov 29 06:47 /dev/dspW1
crw-------    1 sanjiv   audio     14, 165 Nov 29 06:47 /dev/dspW10
crw-------    1 sanjiv   audio     14, 181 Nov 29 06:47 /dev/dspW11
crw-------    1 sanjiv   audio     14, 197 Nov 29 06:47 /dev/dspW12
crw-------    1 sanjiv   audio     14, 213 Nov 29 06:47 /dev/dspW13
crw-------    1 sanjiv   audio     14, 229 Nov 29 06:47 /dev/dspW14
crw-------    1 sanjiv   audio     14, 245 Nov 29 06:47 /dev/dspW15
crw-------    1 sanjiv   audio     14,  37 Nov 29 06:47 /dev/dspW2
crw-------    1 sanjiv   audio     14,  53 Nov 29 06:47 /dev/dspW3
crw-------    1 sanjiv   audio     14,  69 Nov 29 06:47 /dev/dspW4
crw-------    1 sanjiv   audio     14,  85 Nov 29 06:47 /dev/dspW5
crw-------    1 sanjiv   audio     14, 101 Nov 29 06:47 /dev/dspW6
crw-------    1 sanjiv   audio     14, 117 Nov 29 06:47 /dev/dspW7
crw-------    1 sanjiv   audio     14, 133 Nov 29 06:47 /dev/dspW8
crw-------    1 sanjiv   audio     14, 149 Nov 29 06:47 /dev/dspW9

 

Thanks

 

Sanjiv

Link to comment
Share on other sites

Hi,

I re-configured with the switch you suggested. Am getting same messages again. When I try to run alsamixer, this is the error message I get :

 

 

[root@localhost alsa]# alsamixer

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

 

Regards,

 

Sanjiv

Link to comment
Share on other sites

snd isn't loaded.

 

modprobe snd

 

and try again.

[root@ml root]# lsmod
Module                  Size  Used by
snd_seq_oss            31104  0
snd_seq_midi_event      7456  1 snd_seq_oss
snd_seq                50992  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            51012  0
snd_mixer_oss          17280  2 snd_pcm_oss
snd_via82xx            23072  1
snd_pcm                93092  2 snd_pcm_oss,snd_via82xx
snd_timer              23812  2 snd_seq,snd_pcm
snd_ac97_codec         49828  1 snd_via82xx
snd_page_alloc         11492  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6976  1 snd_via82xx
snd_rawmidi            23552  1 snd_mpu401_uart
snd_seq_device          7880  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    48836  12 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd
_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               8576  2 snd

Link to comment
Share on other sites

bvc,

your statement was right. After modprobe snd, the compilation went smoothly and these are some outputs

 

[root@localhost alsa-utils-0.9.8]# cat /proc/asound/cards
0 [Live           ]: EMU10K1 - Sound Blaster Live!
                    Sound Blaster Live! (rev.0) at 0xdf20, irq 17
[root@localhost alsa-utils-0.9.8]# cat /proc/asound/pcm
00-00: emu10k1 : EMU10K1 : playback 32 : capture 1
00-01: emu10k1 mic : EMU10K1 MIC : capture 1
00-02: emu10k1 efx : EMU10K1 EFX : capture 1
00-03: emu10k1 : EMU10K1 FX8010 : playback 8

 

Now, how do I go about playing an audio CD ? If I open preferences, under the list of output drivers, there is no alsa driver listed.

 

Thanks a lot for your help.

 

Regards,

 

Sanjiv

Link to comment
Share on other sites

is esd (gnome soundserver -real name=Enlightenment Sound Daemon) running? KDE? Gnome? In gnome esd has to be disabled to use the alsa plugin. In kde I'm not sure. In SuSE9/kde, I can run artsd as a soundserver and use alsa as the plugin for xmms but I d/k about mandrake, I use gnome2.4 there. My xmms in 9.2rc2 worked til I went 9.2 with cooker. Now I have version 1.2.8 from cooker-mandrake-10 and xmms is working again.

Link to comment
Share on other sites

snd_via82xx            23072  1

snd_pcm                93092  2 snd_pcm_oss,snd_via82xx

snd_timer              23812  2 snd_seq,snd_pcm

snd_ac97_codec      49828  1 snd_via82xx

 

You have on board sound AC-97 enabled? Do you?

May be you can try disable it.

Link to comment
Share on other sites

I did try 1.2.8. Now, it wouldn't freeze. Instead, there would be no sound and the tracks would play at lightning speed (something like 10 sec per track and then the next track). As each track started, I would get a message saying "output format :7". I have no clue what this is supposed to mean.

 

Regarding the ac97 module, I tried disabling it. However, I get the message "device or resource busy". Do I have to unload some other module before unloading ac97 ?

 

Regards,

 

Sanjiv

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...