From: Takashi Iwai Subject: Re: alsa and 2.6.25.4 kernel Date: Mon, 16 Jun 2008 12:35:12 +0200 Message-ID: References: <1213376560.4852a830e906b@imp.free.fr> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id AB2842454B for ; Mon, 16 Jun 2008 12:35:12 +0200 (CEST) In-Reply-To: <1213376560.4852a830e906b@imp.free.fr> 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: linuxconsole@free.fr Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 13 Jun 2008 19:02:40 +0200, linuxconsole@free.fr wrote: > > Hi, > > I can't play sound or use mixer with alsa on 2.6.25.4 kernel. > > I tried all alsa-libs (1.16, 1.17rc1, hg) without success. > > the file /proc/asound/cards is : > > cat /proc/asound/cards > 0 [NVidia ]: HDA-Intel - HDA NVidia > HDA NVidia at 0xf0100000 irq 18 > > strace -e open amixer : > > ... > open("/dev/snd/controlC0", O_RDONLY) = -1 ENODEV (No such device) > open("/dev/aloadC0", O_RDONLY) = -1 ENODEV (No such device) > > ls -l /dev/snd/controlC0 > crw-rwxrw- 1 root users 116, 0 Aug 23 2004 /dev/snd/controlC0 > > > what happens ??? My wild guess is that the device file doesn't match with the kernel setting. You can build ALSA drivers with dynamic minor numbers. In this case, the minor numbers of device files are assigned dynamically, and thus the device files must be handled via udev. If you have static device files with different numbers, this won't match properly. Takashi