All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
To: Rask Ingemann Lambertsen <rask@sygehus.dk>
Cc: Adam Belay <ambx1@neo.rr.com>, alsa-devel@lists.sourceforge.net
Subject: Re: [RFC][RFT] Adding support for Jazz16 based sound cards
Date: Mon, 19 Mar 2007 01:32:15 +0100	[thread overview]
Message-ID: <45FDDA0F.7050503@gmail.com> (raw)
In-Reply-To: <20070311232436.GB9778@sygehus.dk>

On 03/12/2007 12:24 AM, Rask Ingemann Lambertsen wrote:

> Below is a patch against linux-2.6.20 to add support for Jazz16 sound
> cards. It consists of changes to ALSA's SoundBlaster support and a
> new PnP protocol for detecting the card, setting resources and such.
> Before submitting a patch for inclusion into Linux, I would like to
> have a few comments and perhaps a test report from someone else.

I just now tested this on a standalone Jazz16 and it seems to be working 
fine for me. I once had ogg123 segfault on me at the end of playback but 
was unsuccesful in reproducing -- may have been a fluke.

As to the comments...

The changes to the SB code to support the Jazz16 I ofcourse agree with. 
Supporting a new card is great. I am however not a huge fan of the new 
PnP protocol. It's cute, but I feel it's a little over-engineered and 
could just as well live directly in snd-jazz16.

Currently you have jazz16 specific code in drivers/pnp. It's not code 
that can be more generally used so snd-jazz16 is the correct place for 
it I feel. Right now you've essentially just split one driver into two 
pieces and placed the pieces in different corners of the tree.

In snd-jazz16, you'd take port= as a parameter (or autoprobe 220-260 as 
you do now; not a fan of autoprobing but that's not the issue now) same 
as other alsa drivers do and take irq/dma8/dma16 parameters as requests 
to use those specified resources and program the card for it. sgalaxy 
does this as well for irq and dma for example.

This setup also shares that same problem with the BIOS generally not 
having reserved/routed the resources -- on a general PCI/ISA system the 
user needs to go into the BIOS setup and reserve the resources the card 
is (or will be, in this case) set to. So now the user really needs to 
know what resources are going to be assigned, destroying the plug and 
play idea...

A while ago when I was doing the isa_bus thing I also looked into 
integrating plain old ISA with PnP and ran into those same issues. 
Basically, there are no practical advantages, and a few disadvantages 
(user needing to have reserved the resources, not being able to keep all 
code specific to one piece of hardware in one place, needing to invent 
PnP IDs).

Yes, the setup is sort of nice conceptually, so I hope you don't too 
much mind me not liking it in practice.

Rene.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  parent reply	other threads:[~2007-03-19  0:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-11 23:24 [RFC][RFT] Adding support for Jazz16 based sound cards Rask Ingemann Lambertsen
2007-03-12 11:28 ` Takashi Iwai
2007-03-12 23:23   ` Rask Ingemann Lambertsen
2007-03-13  9:34     ` Takashi Iwai
2007-03-19  0:32 ` Rene Herman [this message]
2007-03-19 20:52   ` Rene Herman
2007-03-19 21:06   ` Rene Herman
2007-03-19 21:22     ` Rene Herman
2007-03-19 21:40       ` Rene Herman
2007-03-20 12:12         ` Takashi Iwai
2007-03-20 12:28           ` Broken moderation Takashi Iwai
2007-03-20 12:35             ` Takashi Iwai
2007-03-20 12:57               ` Rene Herman
2007-03-20 14:58                 ` RESUBSCRIBE - New alsa-devel mailing list Jaroslav Kysela
2007-03-20 15:09                   ` Benoit Fouet
2007-03-20 15:38                     ` Jaroslav Kysela
2007-03-20 15:21                   ` Tobin Davis
2007-03-20 15:35                     ` Ingo Müller
2007-03-20 16:18                   ` Rene Herman
2007-03-20 17:25                     ` Jaroslav Kysela
2007-03-21  0:49                   ` [Alsa-devel] " Ed Wright
2007-03-21  9:10                     ` Rene Herman
2007-03-19 22:46   ` [RFC][RFT] Adding support for Jazz16 based sound cards Rask Ingemann Lambertsen
2007-03-20 21:23     ` [Alsa-devel] " Rene Herman

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=45FDDA0F.7050503@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=ambx1@neo.rr.com \
    --cc=rask@sygehus.dk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.