mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "Rafał Bilski" <rafalbilski@interia.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Jaroslav Kysela <perex@suse.cz>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: CS5530 Alsa driver fails
Date: Wed, 01 Aug 2007 12:44:18 +0200	[thread overview]
Message-ID: <s5hodhrttz1.wl%tiwai@suse.de> (raw)
In-Reply-To: <20070801005310.1ef01458@the-village.bc.nu>

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);


  reply	other threads:[~2007-08-01 10:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 23:04 Rafał Bilski
2007-07-31 23:53 ` Alan Cox
2007-08-01 10:44   ` Takashi Iwai [this message]
2007-08-01 12:11     ` Rafał Bilski
2007-08-01 17:41 Ash Willis
2007-08-01 18:51 ` Rafał Bilski
2007-08-01 22:08   ` Alan Cox
2007-08-02 16:18     ` Rafał Bilski
2007-08-02  1:17 Ash Willis
2007-08-02 12:57 ` Alan Cox
2007-08-02 15:23   ` Jordan Crouse
2007-08-02 17:01     ` Alan Cox
2007-08-02 17:00       ` Jordan Crouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hodhrttz1.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    --cc=rafalbilski@interia.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®