mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Lee Revell <rlrevell@joe-job.com>, Adrian Bunk <bunk@stusta.de>,
	linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	perex@suse.cz
Subject: Re: [Alsa-devel] Re: RFC: OSS driver removal, a slightly	different	approach
Date: Fri, 20 Jan 2006 11:20:12 +0100	[thread overview]
Message-ID: <s5hd5in9p5v.wl%tiwai@suse.de> (raw)
In-Reply-To: <1137708573.8471.65.camel@localhost.localdomain>

At Thu, 19 Jan 2006 22:09:33 +0000,
Alan Cox wrote:
> 
> On Iau, 2006-01-19 at 14:01 -0500, Lee Revell wrote:
> > > > Hmm.  From sound/oss/kahlua.c:
> > > > 
> > > > /*
> > > >  *      Initialisation code for Cyrix/NatSemi VSA1 softaudio
> > > >  *
> > > >  *      (C) Copyright 2003 Red Hat Inc <alan@redhat.com>
> > > >  *
> > > > 
> > > > Why was a new OSS driver written and accepted at such a late date, when
> > > > OSS was already deprecated?
> > > 
> > > You'll find out that it must be pretty easy to write kahlua driver for
> > > ALSA, too, if you look at kahlua.c.  Just need a hardware to certify
> > > if this is really demanded...
> > 
> > Yes, it looks simple enough to write a driver without the hardware, as
> > long as someone volunteers to test it...
> 
> Most of the Kahlua logic is in the SB driver. It was a wrapper added
> later to make autoconfiguration simple for end users. CS55x0 (VSA1
> variants) are generic sound blaster 16 emulation via SMI traps. There
> are certain things you must not do
> 
> 1.	Use a 64K or 128K in 16bit ring buffer
> 2.	Disable/Enable DMA on the sound channel while audio is running
> 
> #1 causes the box to hang dead (firmware emulation bug)
> #2 mistakenly flushes the FIFOs so breaks up the audio
> 
> Otherwise its SB16 compatible.

Thanks for good hints.

BTW, I remember that there was a driver for native geode audio support
at the time of ALSA 0.5.x or earlier.  I must have the code somewhere
in my storage.  The porting would be much much harder than kaulha (sb 
emulation), though.


Takashi

  reply	other threads:[~2006-01-20 10:13 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-19 17:46 Adrian Bunk
2006-01-19 18:22 ` Lee Revell
2006-01-19 18:28   ` Adrian Bunk
2006-01-19 18:39     ` Lee Revell
2006-01-19 19:44       ` Adrian Bunk
2006-01-19 20:22         ` Frédéric L. W. Meunier
2006-01-19 20:45           ` Lee Revell
2006-01-19 22:03             ` Alistair John Strachan
2006-01-20 14:19               ` Jan Engelhardt
2006-01-21  0:30                 ` Lee Revell
2006-01-21  9:06                   ` Jan Engelhardt
2006-01-19 18:54     ` [Alsa-devel] " Lee Revell
2006-01-19 19:04       ` Takashi Iwai
2006-01-19 19:01         ` Lee Revell
2006-01-19 22:09           ` Alan Cox
2006-01-20 10:20             ` Takashi Iwai [this message]
2006-01-20 13:14               ` Alan Cox
2006-01-20 14:30                 ` Takashi Iwai
2006-01-19 19:13         ` David Vrabel
2006-01-19 22:11       ` Alan Cox
2006-01-19 21:28     ` Alan Cox
2006-01-19 18:47 ` [Alsa-devel] " Peter Zubaj
2006-01-20 14:25   ` Jan Engelhardt
2006-01-20 14:56     ` Takashi Iwai
2006-01-20 16:30       ` Jan Engelhardt
2006-01-20 17:44         ` Peter Zubaj
2006-01-21  8:58           ` Jan Engelhardt
2006-01-22 15:34             ` Jaroslav Kysela
2006-01-21  2:27     ` Lee Revell
2006-01-21  9:01       ` Jan Engelhardt
2006-01-19 20:24 ` Krzysztof Halasa
2006-01-19 20:43   ` [Alsa-devel] " Lee Revell
2006-01-19 21:50     ` Bill Nottingham
2006-01-19 22:18       ` Adrian Bunk
2006-01-19 22:18     ` Alan Cox
2006-01-19 22:38       ` Lee Revell
2006-01-19 22:42       ` Dave Jones
2006-01-19 22:51         ` Lee Revell
2006-01-20  1:13           ` Alan Cox
2006-01-20  1:34             ` Dave Jones
2006-01-20 11:20               ` Takashi Iwai
2006-01-21  0:29                 ` Lee Revell
2006-01-21  0:57                   ` Adrian Bunk
2006-01-21  1:03                     ` Lee Revell
2006-01-21  1:01             ` Lee Revell
2006-01-20  8:21     ` Dag Nygren
2006-01-21  3:52       ` Lee Revell
2006-01-19 22:21   ` Alan Cox
2006-01-19 22:45     ` Adrian Bunk
2006-01-20  2:55       ` Erik Andersen
2006-01-21  1:53         ` [Alsa-devel] " Lee Revell
2006-01-19 22:45     ` Lee Revell
2006-01-20  3:46   ` Rene Herman
2006-01-20  7:04     ` [Alsa-devel] " Brent Cook
2006-01-21  0:55       ` Stuffed Crust
2006-01-20 14:32     ` Jan Engelhardt
2006-01-20  8:25   ` [Alsa-devel] " Clemens Ladisch
2006-01-20  9:53     ` Martin Langer
2006-01-20 12:41   ` Jamie Heilman
2006-01-20 16:09   ` Bob Tracy
2006-01-19 21:06 ` Jesper Juhl
2006-01-19 21:43   ` Adrian Bunk
2006-01-20 11:54 ` [Alsa-devel] " Martin Habets
2006-01-20 19:04   ` Adrian Bunk
2006-01-20 21:29     ` Olaf Hering
2006-01-20 23:16       ` Benjamin Herrenschmidt
2006-01-20 23:22         ` Ben Collins
2006-01-23 12:20           ` Takashi Iwai
2006-01-23 13:12             ` Ben Collins
2006-01-20 23:15     ` Benjamin Herrenschmidt
2006-01-21 21:05 ` Ralf Baechle
2006-01-23 14:11   ` Dan Malek
2006-01-23 15:06     ` Jordan Crouse
2006-01-25  2:47 ` Martin Michlmayr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hd5in9p5v.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    --cc=rlrevell@joe-job.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®