From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: how to create alsa nodes? Date: Thu, 17 Mar 2011 15:26:32 +0100 Message-ID: <4D821A18.30407@ladisch.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by alsa0.perex.cz (Postfix) with ESMTP id 93059243B5 for ; Thu, 17 Mar 2011 15:24:57 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: loody Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org loody wrote: > In destop x86 system, the udev will automatically create the nodes in > snd directory, such as pcmC0D0c, pcmC0D1c, etc. > I try to let the usb sound device work on mips platform, but I have no > idea what is the proper way to create these nodes. > Should I > 1. create them one by one by hand from copying the attributes in my PC > (if I have 2 or more usb sound devices, I have to first plug them > in pc and monitor the nodes) This will not work if the device nodes' minor numbers are allocated dynamically. > 2. smarter way to do so? GregKH would tell you that the smart way would be to run udev. ;-) To use static device nodes, 1) make sure that CONFIG_SND_DYNAMIC_MINORS is disabled, 2) use the snddevices script in the alsa-driver package. Regards, Clemens