Re: CS5530 Alsa driver fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux