From: Takashi Iwai Subject: Re: Re: alsa 0.9.5 - ymfpci - Yay! Date: Thu, 17 Jul 2003 16:49:03 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: multipart/mixed; boundary="Multipart_Thu_Jul_17_16:49:02_2003-1" Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: tom burkart Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Thu_Jul_17_16:49:02_2003-1 Content-Type: text/plain; charset=US-ASCII 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 --Multipart_Thu_Jul_17_16:49:02_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="ymfpci-dump.dif" Content-Transfer-Encoding: 7bit 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) --Multipart_Thu_Jul_17_16:49:02_2003-1-- ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0