From: Lee Revell Subject: Re: [PATCH] emu10k1: add per-voice PTR register dump to /proc entry Date: Fri, 19 Nov 2004 19:10:24 -0500 Message-ID: <1100909425.13712.50.camel@krustophenia.net> References: <1100394086.2458.18.camel@krustophenia.net> <1100709062.6930.5.camel@krustophenia.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel , James Courtier-Dutton List-Id: alsa-devel@alsa-project.org On Thu, 2004-11-18 at 14:22 +0100, Takashi Iwai wrote: > > > > Sure, will do. One file per voice for the PTR registers (and one file > > for FN0) might actually be most useful. This way you can diff them. > > Yes, that makes sense. > OK regarding the previous message, I figured out how to create a directory under the card root (just set S_IFDIR). However there is no way to create files under that directory because snd_card_proc_new makes the following assumption (from alsa-kernel/core/info.c): 852 * 853 * The parent is assumed as card->proc_root. 854 * So, I think the API has to be modified to allow a parent to be specified. Lee ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8