Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756853AbYF2Rpo (ORCPT ); Sun, 29 Jun 2008 13:45:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754443AbYF2Rpd (ORCPT ); Sun, 29 Jun 2008 13:45:33 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:45304 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754336AbYF2Rpc (ORCPT ); Sun, 29 Jun 2008 13:45:32 -0400 From: "Rafael J. Wysocki" To: Takashi Iwai Subject: Re: 2.6.26-rc5-git2: snd-emu10k1 does not work Date: Sun, 29 Jun 2008 19:46:49 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: LKML , Andrew Morton References: <200806082303.59245.rjw@sisk.pl> <200806092245.01595.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806291946.50176.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2904 Lines: 70 On Tuesday, 10 of June 2008, Takashi Iwai wrote: > At Mon, 9 Jun 2008 22:45:01 +0200, > Rafael J. Wysocki wrote: > > > > On Monday, 9 of June 2008, Rafael J. Wysocki wrote: > > > On Monday, 9 of June 2008, Takashi Iwai wrote: > > > > At Sun, 8 Jun 2008 23:03:58 +0200, > > > > Rafael J. Wysocki wrote: > > > > > > > > > > Hi, > > > > > > > > > > snd-emu10k1 doesn't work on one of my test boxes. The driver apparently loads, > > > > > but the card is not visible, for example, to any mixer apps (including the ALSA > > > > > mixer). However, YaST correctly detects and reports the card (the system is > > > > > openSUSE 10.3, x86-64). The openSUSE-made kernel (2.6.22-something) does > > > > > correctly work on the same hardware. > > > > > > > > > > Is there anything I should pay attention to, like any options related to /proc > > > > > or sysfs that could have an effect on the audio adapter? > > > > > > > > First off, check /proc/asound/cards whether snd-emu10k1 driver is > > > > really loaded on the first slot. I guess something else occupies the > > > > position. > > > > > > This is quite possible, as there is an on-board audio in this box too and I'm > > > not sure if the setup switch really turns it off. > > > > > > > If yes, a simple solution is to add the following option for snd module: > > > > > > > > options snd slots=snd-emu10k1 > > > > > > > > then the first slot is reserved for emu10k1. Note that this option is > > > > available for 2.6.25 or later kernel. > > > > > > I'll try later today and let you know. > > > > No, it didn't work. > > > > Here's what I got from /proc/asound/cards: > > > > 0 [Audigy ]: Audigy - Audigy 1 [SB0090] > > Audigy 1 [SB0090] (rev.3, serial:0x531102) at 0xa000, irq 17 > > 1 [UART ]: MPU-401 UART - MPU-401 UART > > MPU-401 UART at 0x330, irq 10 > > > > so I think this is correct, and the "options snd slots=snd-emu10k1" thing had > > no visible effect. > > Then this must be OK. Then the remaining possible problems are: > > - Device files and permissions. > Check whether /dev/snd/* files exist and have proper permissions and > ACL (see "getfacl /dev/snd/*") > > - The default ALSA configuration is hijacked, e.g. via pulse plugin. > Try to remove /etc/asound-pulse.conf if present. I've just installed openSUSE 11.0 on this box and the distro kernel 2.6.25.5-something works, but 2.6.26-rc8 doesn't. The symptoms are exactly the same as described in this thread and the kernel is the only system component replaced. So this is a regression from 2.6.25, actually. Do you want me to bisect? Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/