Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 1998 09:44:06 -0700 (MST)
From:      Atipa <freebsd@atipa.com>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: Vibra16X support
Message-ID:  <Pine.BSF.3.91.980227094302.17130A-100000@dot.ishiboo.com>
In-Reply-To: <199802271246.NAA15760@labinfo.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help

I have one of these that works fine w/ 16-bit playback. I'll get the SNAP 
version when I get into work, and also check the revision of the card. 
Using pcm1 (Luigi).

Kevin

On Fri, 27 Feb 1998, Luigi Rizzo wrote:

> since it looks like there are going to be more and more SB16/AWExx
> cards which are really Vibra16X on the market...
> 
> the ViBRA16X should be a true full duplex card but unfortunately
> has some differences from the SB16 which make my driver not work
> with it (i have reports that it works in 8-bit play mode, but not
> in 16-bit mode and have no reports about capture mode).
> 
> I don't have (and don't plan to buy) that card, so i cannot try
> possible fixes to the driver (i don't have docs either).
> 
> If someone has this card and wants to dedicate a few minutes
> to testing, here is a guess at possible changes needed (in sb_dsp.c)
> 
> 1) remove/disable tests that require the secondary
>    dma channel to be >=4 . the vibra16 uses two 8-bit channel
>    (not such a great idea since it doubles bus traffic, plus there are
>    fewer 8-bit than 16-bit channels typically available...)
> 
> 2) in the code in sb_callback(), in the INIT switch,
>    disable the section which swaps the two dma channels depending
>    on the data format; this code is probably not necessary with
>    the vibra16x (thankfully, since it considerably simplifies the
>    driver)
> 
> 3) in the interrupt driver, consider one of the flags as the read
>    interrupt, the other one as the write interrupt.
>    probably the write flag is the one labeled "8bit" in the current
>    driver, the read flag is the "16bit" one.
> 
> can't be more specific at the moment, but the changes should not be so
> terrible even to those without big knowledge of the driver
> 
> reports or requests for further suggestions are welcome.
> 
> 	cheers
> 	luigi
> -----------------------------+--------------------------------------
> Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
> email: luigi@iet.unipi.it    |  Universita' di Pisa
> tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
> fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
> _____________________________|______________________________________
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.980227094302.17130A-100000>