From alsa-devel-owner@alsa.jcu.cz  Sat Mar  7 20:29:01 1998
Received: from entry.jcu.cz (perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.8.8/8.8.8) with SMTP id UAA25393;
	Sat, 7 Mar 1998 20:28:24 +0100
Date: Sat, 7 Mar 1998 20:28:24 +0100 (MET)
From: Jaroslav Kysela <perex@jcu.cz>
To: Christopher Butler <chrisb@sandy.force9.co.uk>
cc: alsa-devel@alsa.jcu.cz
Subject: Re: Problems with driver version 0.0.5
In-Reply-To: <199803071854.SAA01198@sandy.force9.co.uk>
Message-ID: <Pine.LNX.3.96.980307202028.12053D-100000@entry.jcu.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Sat, 7 Mar 1998, Christopher Butler wrote:

> Hi!
> 
> I've just compiled the 0.0.5 version of the driver, and it won't work
> with my SBPro.. It detects it and installs the driver okay, but when I
> try to play an au file, nothing happens, and cat just blocks.

OK. I should only verify again if it works with ES1688 chip which emulates
SB Pro because I don't have access to old 8-bit SB soundcards.

Please, check if hardware resources (IRQ #, DMA #) are set correctly. You
can verify it by 'cat /proc/interrupts' and 'cat /proc/dma' after driver
is loaded.

This is header from sb8.c file:

/*
 *  Copyright (c) by Jaroslav Kysela <perex@jcu.cz>
 *  Routines for control of 8-bit SoundBlaster cards and clones
 *  Code needs to be debugged... I don't have old SB soundcards.
 */

I looked again to code and I found only this bug, but this bug should not
change anything for command 'cat file > /dev/audio':

--- sb8.c.old   Thu Mar  5 23:47:28 1998
+++ sb8.c       Sat Mar  7 20:10:18 1998
@@ -72,6 +72,7 @@
           codec -> fmt8 = rate > 23000 ? SB_DSP_HI_INPUT_AUTO : SB_DSP_LO_INPUT_AUTO;
         }
       }
+      pchn -> real_rate = 256000000 / (65536 - (codec -> speed8 << 8));
       break;
     default:
       PRINTD( "sound: unknown hardware for sb8 compute rate!!!\n" );


					Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic



