Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762895AbXHAKo1 (ORCPT ); Wed, 1 Aug 2007 06:44:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753531AbXHAKoU (ORCPT ); Wed, 1 Aug 2007 06:44:20 -0400 Received: from mail.suse.de ([195.135.220.2]:60177 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753356AbXHAKoT (ORCPT ); Wed, 1 Aug 2007 06:44:19 -0400 Date: Wed, 01 Aug 2007 12:44:18 +0200 Message-ID: From: Takashi Iwai To: =?ISO-8859-2?Q?Rafa=B3?= Bilski Cc: Alan Cox , Jaroslav Kysela , Linux Kernel Mailing List Subject: Re: CS5530 Alsa driver fails In-Reply-To: <20070801005310.1ef01458@the-village.bc.nu> References: <46AFC017.8090805@interia.pl> <20070801005310.1ef01458@the-village.bc.nu> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta27) (fiddleheads) (+CVS-20060704) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1377 Lines: 40 At Wed, 1 Aug 2007 00:53:10 +0100, Alan Cox wrote: > > > After "modprobe snd-cs5530" I have: > > CS5530: XpressAudio at 0x220 > > CS5530: MPU at 0x330 > > CS5530: IRQ: 9 DMA8: 0 DMA16: 5 > > sb: can't grab irq 9 > > CS5530: Could not create SoundBlaster > > CS5530_Audio: probe of 0000:00:12.3 failed with error -16 > > Might be worth setting the IRQ to sharable. I've never seen a 5530 with > the sound IRQ shared so I don't know if that works and is a valid > configuration for the VSA firmware The relevant patch is below. Please give it a try. Takashi diff -r e173dbb87aa6 sound/isa/sb/sb_common.c --- a/sound/isa/sb/sb_common.c Wed Aug 01 12:22:07 2007 +0200 +++ b/sound/isa/sb/sb_common.c Wed Aug 01 12:42:39 2007 +0200 @@ -234,7 +234,9 @@ int snd_sbdsp_create(struct snd_card *ca chip->dma16 = -1; chip->port = port; - if (request_irq(irq, irq_handler, hardware == SB_HW_ALS4000 ? + if (request_irq(irq, irq_handler, + (hardware == SB_HW_ALS4000 || + hardware == SB_HW_CS5530) ? IRQF_SHARED : IRQF_DISABLED, "SoundBlaster", (void *) chip)) { snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq); - 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/