[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hodhrttz1.wl%tiwai@suse.de>
Date: Wed, 01 Aug 2007 12:44:18 +0200
From: Takashi Iwai <tiwai@...e.de>
To: RafaĆ Bilski <rafalbilski@...eria.pl>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>,
Jaroslav Kysela <perex@...e.cz>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: CS5530 Alsa driver fails
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists