From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Date: Thu, 08 Jan 2004 17:33:44 +0000 Subject: Re: [PATCH] sysfs sound class patches - [0/2] Message-Id: List-Id: References: <20040107232137.GC2540@kroah.com> In-Reply-To: <20040107232137.GC2540@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Greg KH Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-hotplug-devel@lists.sourceforge.net At Wed, 7 Jan 2004 15:21:37 -0800, Greg KH wrote: > > Here are 2 sysfs sound class patches against 2.6.1-rc2 (but should apply > to 2.6.0) that add sysfs support for OSS and ALSA drivers. This enables > udev to see sound devices and create nodes for them. > > I've divided it up into 2 patches: > - sound support for OSS drivers > - sound support for ALSA drivers > > The ALSA driver patch requires the OSS driver (due to where struct > sound_class is declared), oh, sound_core.c is not the OSS driver ;) > and it also modifies the i810 ALSA sound > driver to provide a symlink in sysfs to the pci device being controlled > by the device node. it looks nice and easy. i'll do that for all pci drivers, too, once when these patches are merged. > I can provide patches to the other ALSA drivers to also add this > information, as it's quite useful if you have more than one sound device > in your system at once. not only pci but also isapnp devices can provide dev pointer. in that case, should the driver gives symlinks of each isapnp devices, too? a module usually holds one isapnp card struct and several isapnp devices below it. but, hmm, it will need far more codes... -- Takashi Iwai ALSA Developer - www.alsa-project.org ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265687AbUAHRds (ORCPT ); Thu, 8 Jan 2004 12:33:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265689AbUAHRds (ORCPT ); Thu, 8 Jan 2004 12:33:48 -0500 Received: from ns.suse.de ([195.135.220.2]:12958 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S265687AbUAHRdp (ORCPT ); Thu, 8 Jan 2004 12:33:45 -0500 Date: Thu, 08 Jan 2004 18:33:44 +0100 Message-ID: From: Takashi Iwai To: Greg KH Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-hotplug-devel@lists.sourceforge.net Subject: Re: [PATCH] sysfs sound class patches - [0/2] In-Reply-To: <20040107232137.GC2540@kroah.com> References: <20040107232137.GC2540@kroah.com> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 13) (Rational FORTRAN) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At Wed, 7 Jan 2004 15:21:37 -0800, Greg KH wrote: > > Here are 2 sysfs sound class patches against 2.6.1-rc2 (but should apply > to 2.6.0) that add sysfs support for OSS and ALSA drivers. This enables > udev to see sound devices and create nodes for them. > > I've divided it up into 2 patches: > - sound support for OSS drivers > - sound support for ALSA drivers > > The ALSA driver patch requires the OSS driver (due to where struct > sound_class is declared), oh, sound_core.c is not the OSS driver ;) > and it also modifies the i810 ALSA sound > driver to provide a symlink in sysfs to the pci device being controlled > by the device node. it looks nice and easy. i'll do that for all pci drivers, too, once when these patches are merged. > I can provide patches to the other ALSA drivers to also add this > information, as it's quite useful if you have more than one sound device > in your system at once. not only pci but also isapnp devices can provide dev pointer. in that case, should the driver gives symlinks of each isapnp devices, too? a module usually holds one isapnp card struct and several isapnp devices below it. but, hmm, it will need far more codes... -- Takashi Iwai ALSA Developer - www.alsa-project.org