From alsa-user-owner@alsa.jcu.cz  Wed Jan 20 20:35:53 1999
Received: from post.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id UAA14603
	for <alsa-user@alsa.jcu.cz>; Wed, 20 Jan 1999 20:29:19 +0100
Received: from [194.222.223.87] (helo=gedamo.demon.co.uk)
	by post.mail.demon.net with esmtp (Exim 2.10 #1)
	id 1033JJ-0003JN-00
	for alsa-user@alsa.jcu.cz; Wed, 20 Jan 1999 19:29:05 +0000
Received: from gedamo.demon.co.uk (gdm@localhost [127.0.0.1])
	by gedamo.demon.co.uk (8.8.7/8.8.7) with ESMTP id TAA06765
	for <alsa-user@alsa.jcu.cz>; Wed, 20 Jan 1999 19:29:01 GMT
Message-ID: <36A61413.F79B29D4@gedamo.demon.co.uk>
Date: Wed, 20 Jan 1999 17:36:19 +0000
From: George David Morrison <gdm@gedamo.demon.co.uk>
MIME-Version: 1.0
To: alsa-user@alsa.jcu.cz
Subject: Re: Sound Blaster 2 : no sound
References: <369B9834.37C1FCC8@gedamo.demon.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

More information; it finally occured to me to compile the drivers with
debug=full. When I tried play a PCM sound I got
snd_sb_dsp_command:timeout(0xa5). This function used a timeout loop of
10000. I increased the loop to 100000 and now sound starts but I get
continuous timeout errors with command codes d0, d3 and d4. I could just
increase the timeout value again but this seems a bit of a kludge. Is
there any other way to know when the card is ready?

George David Morrison wrote:
> 
> I have a Sound Blaster 2 (the box claims 2.0, ALSA 2.01+ and OSS/Free
> 2.1; take your choice) and I get no pcm sound from either native or OSS
> utilities. I'm not convinced that this card has a mixer (neither ALSA or
> OSS/Free detects one) although the snd-mixer module is loaded by
> modprobe.
> /proc/asound/card1/pcm0 appears to contain correct information during
> playback.
> 
> Any ideas?
> 
> alsa-driver-0.3.0-pre2, alsa-lib-0.3.0pre2, alsa-utils-0.0.8
> 
> /proc/asound/cards:
> 0 [card1          ]: SB - Sound Blaster 2.01+
>                      Sound Blaster 2.01+ at 0x220, irq 5, dma 1
> 
> /proc/asound/devices:
> 144: [0]   : control
> 168: [0- 0]: digital audio
> 200: [0- 0]: raw midi
> 
> /proc/asound/pcm:
> 00-00: SB DSP : DSP v2.1
> 
> /proc/asound/card1/pcm0 (during playback):
> DSP v2.1
> 
> Playback
>   Mode           : native
>   Format         : Unsigned 8-bit
>   Rate           : 10989Hz [requested 11025Hz]
>   Channels       : 1
>   Buffer size    : 65536
>   Buffer used    : 65536
>   Fragments      : 32
>   Fragment size  : 2048
>   Fragments room : 1
>   Fragments max  : 31
>   Underruns      : 0
>   Total underruns: 0
> Record isn't active.
> 
> /etc/conf.modules:
> alias char-major-14 snd
> alias snd-minor-oss-3 snd-pcm1-oss
> alias snd-minor-oss-4 snd-pcm1-oss
> alias snd-minor-oss-5 snd-pcm1-oss
> alias snd-minor-oss-12 snd-pcm1-oss
> alias snd-card-0 snd-sb8
> options snd-sb8 snd_index=1 snd_port=0x220 snd_irq=5 snd_dma8=1
> 
> uname -a:
> Linux gedamo 2.0.36 #1 Tue Oct 13 22:17:11 EDT 1998 i586 unknown
> 

-- 
George David Morrison
mailto:gdm@gedamo.demon.co.uk
http://www.gedamo.demon.co.uk



