[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Oh no, not another AWE64 question



Charon hat gesagt: // Charon wrote:

> So my next step was to try ALSA drivers.. 

Good. ALSA rocks! I am using an AWE64 with ALSA here, so maybe I can be of
help. 

But first a question: What ALSA version are you using? Some things
(module options etc.) changed between 0.4 and 0.5, so this is important
to know.

Second question: Did you use the ALSA Plug'n'Play method or do you use a
 /etc/isapnp.conf file with the isapnp-tool?

Third and most important question: I'd like to see your module options
for alsa (in /etc/modules.conf or /etc/modutils/alsa). Could you post
them here, please.

The right module configuration is crucial for ALSA to work and it is _the_
hottest topic on the alsa-user mailing list.

> I've successfully installed
> these before when I ran slackware. I believed I followed the instructions
> accurately.. anyhow, here is some info..
> 
> underworld:/home/charon# lsmod
> Module                  Size  Used by
> fat                    30304   1  (autoclean) [vfat]
> snd-card-sb16           4976   0  (unused)
> snd-mpu401-uart         3300   0  [snd-card-sb16]
> snd-rawmidi            11352   0  [snd-mpu401-uart]
> snd-seq-device          3788   0  [snd-rawmidi]
> isapnp                 27156   0  [snd-card-sb16]
> snd-opl3                2628   0  [snd-card-sb16]
> snd-sb16-csp           17332   0  [snd-card-sb16]
> snd-sb16-dsp           18472   0  [snd-card-sb16 snd-sb16-csp]
> snd-pcm                36696   0  [snd-sb16-dsp]
> snd-timer              10688   0  [snd-opl3 snd-pcm]
> snd-hwdep               3756   0  [snd-opl3 snd-sb16-csp]
> snd-mixer              29552   0  [snd-sb16-csp snd-sb16-dsp]
> snd                    44684   1  [snd-card-sb16 snd-mpu401-uart
> snd-rawmidi snd-seq-device snd-opl3 snd-sb16-csp snd-sb16-dsp snd-pcm
> snd-timer snd-hwdep snd-mixer]
> this is after a modprobe snd-card-sb16 as instructed in the alsa install
> howto ..

I am using the module snd-card-sbawe for the AWE64. Strange thing is: You
seem to not have loaded any OSS compatibility modules from ALSA. I have
this after I do a mpg123 some.mp3:

  snd-pcm-oss            16744   0 (autoclean)
  snd-pcm-plugin         12840   0 (autoclean) [snd-pcm-oss]
  snd-mixer-oss           4244   0 (autoclean) [snd-pcm-oss]
  snd-card-sbawe          4012   0 (autoclean)
  snd-sb16-csp           15124   0 (autoclean) [snd-card-sbawe]
  snd-sb16-dsp           15304   0 (autoclean) [snd-card-sbawe snd-sb16-csp]
  snd-pcm                28600   0 (autoclean) [snd-pcm-oss snd-pcm-plugin snd-sb16-dsp]
  snd-mixer              22608   0 (autoclean) [snd-mixer-oss snd-sb16-csp snd-sb16-dsp]
  snd-opl3                1988   0 (autoclean) [snd-card-sbawe]
  snd-hwdep               2604   0 (autoclean) [snd-sb16-csp snd-opl3]
  snd-timer               8032   0 (autoclean) [snd-pcm snd-opl3]
  snd-mpu401-uart         2212   0 (autoclean) [snd-card-sbawe]
  snd-rawmidi             8920   0 (autoclean) [snd-mpu401-uart]
  snd-seq-device          3392   0 (autoclean) [snd-card-sbawe snd-rawmidi]
  snd                    34572   1 (autoclean) [snd-pcm-oss snd-pcm-plugin snd-mixer-oss snd-card-sbawe snd-sb16-csp snd-sb16-dsp snd-pcm snd-mixer snd-opl3 snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
  soundcore               2372   4 (autoclean) [snd]
  
You see the snd-pcm-oss and snd-mixer-oss? They are responsible for sound in
OSS applications like xmms. Normally you configure this in
/etc/modules.conf (or /etc/modutils/alsa + "do an update-modules as root" for Debian)
For alsa-0.5 make sure you have the following lines there:

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

[plus all the other stuff of course]

> underworld:/home/charon# cat /proc/asound/cards
> 0 [card1          ]: SB16 - Sound Blaster 16
>                      Sound Blaster 16 at 0x220, irq 5, dma 1&5

This looks OK. 

> underworld:/home/charon# amixer set Master 15
> Group 'Master',0
>   Capabilities: volume
>   Channels: Front-Left Front-Right
>   Limits: min = 0, max = 31
>   Front-Left: 15 [48%] [on] [---]
>   Front-Right: 15 [48%] [on] [---]
> 
> Playing a cd in grip works though.. 
> 
> Trying to play an mp3 using xmms gives me an error telling me 3 things,
> the most significantly being that my sound isn't configured properly. I am
> at a loss, and am uncertain how to proceed. I would very much appreciate
> it if some kind soul could offer some assistance.. 

I think this has to do with the missing OSS compatibility.

One more test you could do is to try some ALSA native sound tools like aplay.

bye
-- 
                                                 __    __
 Frank Barknecht       ____ ______   ____ __ trip\ \  / /wire ______
                      / __// __  /__/ __// // __  \ \/ /  __ \\  ___\	
                     / /  / ____/  / /  / // ____// /\ \\  ___\\____ \	
                    /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                /_/    \_\ 


Reply to: