From: Tobin Davis <tdavis@dsl-only.net>
To: Marco Schuster <marco@harddisk.is-a-geek.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: Splitting up the HDA-INTEL modules
Date: Tue, 15 Jan 2008 11:15:01 -0800 [thread overview]
Message-ID: <1200424501.27806.101.camel@razman.gruemaster.com> (raw)
In-Reply-To: <478CFD32.50405@harddisk.is-a-geek.org>
I don't think that it would be very easy, as there are several instances
where code relies on other codec definitions.
In all actuality, what is needed is a more generic driver that is driven
by userspace tools. Takashi and I worked on this a little last year,
but we have become too busy with new system influx (and I have other
projects outside Alsa consuming my time). Maybe we can get a core group
together and actually define and implement an API for this.
My idea is a driver that takes settings from a config file that are
either 32bit register values (aka Sigmatel), or individual Node
parameters (Realtek, Conexant, etc). This way we can define model
config files, and associate their PCI Quirk in a central config file
that can be edited in userspace. This would be much easier to support,
for users, distro vendors, hardware vendors, and us.
I'll try to write up a proposal in the next few weeks, if we can get
others on board to work on this.
Tobin
On Tue, 2008-01-15 at 19:36 +0100, Marco Schuster wrote:
> Hi all,
>
> when I looked today through the files of the snd-hda-intel module, I
> was a bit shocked by this complex amount of code (patch_realtek.c for
> example). I would think about splitting up the code in a way each
> chipset gets its own .c file - which will make debugging, patching or
> editing a lot easier IMO, and for second people can then comment on
> just their specific chipset in config.
>
> What do you think about this?
>
> Marco
>
> PS: If there are no objections, I'll start working on realtek.c on
> weekend.
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
--
Tobin Davis
forget this, i've misread my own code. how could i think i could be wrong? ;)
@cooker ML from Pixel
next prev parent reply other threads:[~2008-01-15 19:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-15 18:36 Splitting up the HDA-INTEL modules Marco Schuster
2008-01-15 19:15 ` Tobin Davis [this message]
2008-01-16 11:44 ` Takashi Iwai
2008-01-15 19:20 ` Claudio Matsuoka
2008-01-15 20:06 ` Andrew Paprocki
2008-01-15 20:08 ` Marco Schuster
2008-01-15 21:23 ` Tobin Davis
2008-01-16 12:01 ` Takashi Iwai
2008-01-16 11:56 ` Takashi Iwai
2008-01-16 11:54 ` Takashi Iwai
2008-01-16 12:51 ` Claudio Matsuoka
2008-01-16 14:54 ` Takashi Iwai
2008-01-19 19:19 ` Claudio Matsuoka
2008-01-21 13:32 ` Takashi Iwai
2008-01-23 19:46 ` Claudio Matsuoka
2008-01-24 16:12 ` Claudio Matsuoka
2008-01-24 16:24 ` Takashi Iwai
2008-01-24 17:20 ` Claudio Matsuoka
2008-01-24 16:22 ` Takashi Iwai
2008-01-16 11:47 ` Takashi Iwai
[not found] <mailman.344.1200429836.2119.alsa-devel@alsa-project.org>
2008-01-15 22:56 ` Jonathan Woithe
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=1200424501.27806.101.camel@razman.gruemaster.com \
--to=tdavis@dsl-only.net \
--cc=alsa-devel@alsa-project.org \
--cc=marco@harddisk.is-a-geek.org \
/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.