From: Florian Schlichting <Florian.Schlichting@gmx.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: debugging nm256: some results, many questions
Date: Wed, 15 Mar 2006 03:59:46 +0800 [thread overview]
Message-ID: <20060314195946.GA3633@tigerbay> (raw)
In-Reply-To: <s5h7j6yqr7c.wl%tiwai@suse.de>
[-- Attachment #1: Type: text/plain, Size: 2191 bytes --]
On Mon, Mar 13, 2006 at 04:50:31PM +0100, Takashi Iwai wrote:
> How about the patch below? (It's only for CVS version)
very good. It makes the larger changes that I didn't dare to think of
for lack of insight.
There's just another tiny cosmetical change, to the comments:
--- nm256.c.orig 2006-03-15 00:50:55.000000000 +0800
+++ nm256.c 2006-03-15 00:59:28.000000000 +0800
@@ -1157,7 +1157,8 @@
/*
* some nm256 easily crash when reading from mixer registers
- * thus we're caching both read and written values for reading
+ * thus we're treating it as a write-only mixer and cache the
+ * written values
*/
static unsigned short
snd_nm256_ac97_read(struct snd_ac97 *ac97, unsigned short reg)
@@ -1200,9 +1201,6 @@
}
/*
- * below copied from OSS driver
- * this list could perhaps be fused with mixer_regs[] ??
- *
* Initial register values to be written to the AC97 mixer.
* While most of these are identical to the reset values, we do this
* so that we have most of the register contents cached--this avoids
NB: while trying to compile from CVS with ./cvscompile [...]
-----------
patching file usbaudio.c
Hunk #2 FAILED at 70.
-----------
Running the command again it aparently ignored this problem
Also, there are some warnings during compile and a problem with depmod
loops at install
----------
Building modules, stage 2.
MODPOST
*** Warning: "snd_minor_info_oss_init" [/usr/src/cvs/alsa/alsa-driver/acore/snd.ko] undefined!
*** Warning: "snd_lookup_oss_minor_data" [/usr/src/cvs/alsa/alsa-driver/acore/snd.ko] undefined!
*** Warning: "snd_info_minor_unregister" [/usr/src/cvs/alsa/alsa-driver/acore/snd.ko] undefined!
*** Warning: "snd_minor_info_oss_done" [/usr/src/cvs/alsa/alsa-driver/acore/snd.ko] undefined!
*** Warning: "snd_info_minor_register" [/usr/src/cvs/alsa/alsa-driver/acore/snd.ko] undefined!
[...]
WARNING: Loop detected:
/lib/modules/2.6.15-max/kernel/sound/acore/snd.ko which needs snd.ko
again!
----------
(and the rest of the ALSA modules is ignored), so although I could
build things, it wouldn't "make install" and I can't make a final smoke
test :-(
Florian
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-03-14 19:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-23 18:52 debugging nm256: some results, many questions Florian Schlichting
2006-02-24 18:15 ` Takashi Iwai
2006-03-11 17:44 ` Florian Schlichting
2006-03-13 6:46 ` Florian Schlichting
2006-03-13 11:58 ` Takashi Iwai
2006-03-13 14:55 ` Florian Schlichting
2006-03-13 15:50 ` Takashi Iwai
2006-03-14 19:59 ` Florian Schlichting [this message]
2006-03-14 20:16 ` Takashi Iwai
2006-03-15 6:09 ` Florian Schlichting
2006-03-15 9:55 ` Takashi Iwai
2006-03-15 13:23 ` Florian Schlichting
2006-03-15 15:42 ` Takashi Iwai
2006-03-16 1:42 ` thanks Florian Schlichting
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=20060314195946.GA3633@tigerbay \
--to=florian.schlichting@gmx.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=tiwai@suse.de \
/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.