All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: tom burkart <alsa@aussec.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Re: alsa 0.9.5 - ymfpci - Yay!
Date: Thu, 17 Jul 2003 16:49:03 +0200	[thread overview]
Message-ID: <s5hy8yxyzs0.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0307172107260.1505-100000@home.aussec.com>

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

At Thu, 17 Jul 2003 21:09:05 +1000 (EST),
tom burkart wrote:
> 
> Today, Takashi Iwai wrote:
> 
> > could you try once whether the oss ymfpci driver works?
> > if it works, then unload it and start the ALSA again?
> works, works.

ok, then please try the following
- apply the attach patch
- reboot your machine and load the (non-working) alsa driver first.
  check whether it really doesn't work
- get the register dump from /proc/asound/card0/ymfpci
- get the pci registers via "lspci -vvxxx" (only for the ymfpci
  device)
- unload alsa module, load oss, check the performance
- unload oss, and reload the alsa again.
  check the performance.
- if it works at this stage, get the reg dump.
  also, get pci registers.
- compare the two dumps.


TIA.

Takashi

[-- Attachment #2: ymfpci-dump.dif --]
[-- Type: application/octet-stream, Size: 887 bytes --]

Index: alsa-kernel/pci/ymfpci/ymfpci_main.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/ymfpci/ymfpci_main.c,v
retrieving revision 1.38
diff -u -r1.38 ymfpci_main.c
--- alsa-kernel/pci/ymfpci/ymfpci_main.c	23 Jun 2003 09:19:29 -0000	1.38
+++ alsa-kernel/pci/ymfpci/ymfpci_main.c	17 Jul 2003 14:42:23 -0000
@@ -1880,9 +1880,12 @@
 static void snd_ymfpci_proc_read(snd_info_entry_t *entry, 
 				 snd_info_buffer_t * buffer)
 {
-	// ymfpci_t *chip = snd_magic_cast(ymfpci_t, private_data, return);
+	ymfpci_t *chip = snd_magic_cast(ymfpci_t, entry->private_data, return);
+	int i;
 	
 	snd_iprintf(buffer, "YMFPCI\n\n");
+	for (i = 0; i <= YDSXGR_WORKBASE; i += 4)
+		snd_iprintf(buffer, "%04x: %04x\n", i, snd_ymfpci_readl(chip, i));
 }
 
 static int __devinit snd_ymfpci_proc_init(snd_card_t * card, ymfpci_t *chip)

  reply	other threads:[~2003-07-17 14:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-13 12:28 PATCH: acore/wrappers.c hosed snprintf Matthias Andree
2003-07-15 23:33 ` alsa 0.9.5 - ymfpci - Yay! tom burkart
2003-07-17  1:11   ` tom burkart
2003-07-17  8:50     ` Takashi Iwai
2003-07-17 11:09       ` tom burkart
2003-07-17 14:49         ` Takashi Iwai [this message]
2003-07-18  4:08           ` tom burkart
2003-07-17 11:17       ` tom burkart
2003-09-01 15:40 ` PATCH: acore/wrappers.c hosed snprintf Matthias Andree
2003-09-01 16:32   ` Takashi Iwai
2003-09-01 17:38     ` Matthias Andree

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=s5hy8yxyzs0.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=alsa@aussec.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 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.