From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Linux-Kernel <linux-kernel@vger.kernel.org>
Cc: Johannes Goecke <goecke@upb.de>
Subject: Re: Patch: MSI-K8T-Neo2-Fir OnboardSound and additional Soundcard
Date: Mon, 13 Mar 2006 09:14:06 +0100 [thread overview]
Message-ID: <20060313081406.GX4297@lug-owl.de> (raw)
In-Reply-To: <20060313075741.GA31459@uni-paderborn.de>
[-- Attachment #1: Type: text/plain, Size: 1984 bytes --]
On Mon, 2006-03-13 08:57:42 +0100, Johannes Goecke <goecke@upb.de> wrote:
> On Sat, Mar 11, 2006 at 10:41:29PM -0500, Lee Revell wrote:
> > On Sat, 2006-03-11 at 20:28 +0100, Johannes Goecke wrote:
> > This has been discussed on LKML recently, it's not 2.6.16 material
> > because it might break working setups when the previously disabled
> > device becomes the default sound card. Of course the same setup would
> > have broken if we added a driver for a previously unsupported soundcard,
> > so I'm not sure how this fits in with the "don't break userspace" rule.
>
> would it be useful to add a compile-time-option and additionally
> a kernel-command-line option for some bogus-code like
>
> if ( commandline-enable || compiletime-enable )
> {
> /* Enable all Soundcards- Found */
> }
Well, the whole collection of Quirks isn't based on a device-type
model, but purely on IDs. So either there's a workaround for some
oddity, or there isn't.
Though it may make sense to re-submit if right after 2.6.16 is out.
> can someone give me a (kernel-programming-beginner-level) hint, for the first
> question how to ensure to only execute if running on the right Mother-board?
> Af far as I believe the quirk so-far only checks the cipset, so it might
> behave wrong on other Mainborads!
That depends on wether the soundchip is inside the chipset. If it is,
you can just ignore that and run the quirk if the proper device was
found (as you do it right now.) If you really need to verify the
mainboard (as per name/vendor), have a look at
./arch/i386/kernel/{reboot,apm}.c . They both are DMI users.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-03-13 8:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-11 19:28 Johannes Goecke
2006-03-12 3:41 ` Lee Revell
2006-03-13 7:57 ` Johannes Goecke
2006-03-13 8:14 ` Jan-Benedict Glaw [this message]
2006-03-13 17:02 ` Lee Revell
[not found] <5Pi6J-1yd-1@gated-at.bofh.it>
[not found] ` <5PpKN-48S-7@gated-at.bofh.it>
[not found] ` <5PQ8u-qa-17@gated-at.bofh.it>
2006-03-13 9:23 ` Bodo Eggert
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=20060313081406.GX4297@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=goecke@upb.de \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome