Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Justin Cormack <justin@street-vision.com>
Cc: Paul Davis <paul@linuxaudiosystems.com>,
	alsa-devel@lists.sourceforge.net
Subject: Re: RME HDSP9652
Date: Thu, 28 Nov 2002 16:40:58 +0100	[thread overview]
Message-ID: <s5hwumxzoqd.wl@alsa2.suse.de> (raw)
In-Reply-To: <1038494386.20379.31.camel@lotte>

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

At 28 Nov 2002 14:39:41 +0000,
Justin Cormack wrote:
> 
> On Thu, 2002-11-28 at 13:42, Paul Davis wrote:
> > >I have just got a couple of the new RME Hammerfall HDSP9652 cards, and
> > >find that they are not supported by the snd-hdsp driver yet. The card is
> > >basically the same hardware as the other hdsp cards but with the io
> > >integrated on the card.
> > >
> > >I would guess that it will need a different firmware and another type in
> > >HDSP_Type, plus the channel info.  Does anyone know how to get the
> > >formware from RME (who to contact)?
> > 
> > all i need is the PCI ID from you. i've already spoken to RME about
> > the card, and the claim is that it will with the existing h-dsp
> > driver. the only thing that won't work are the RMS meters. the
> > existing driver, however, doesn't recognize the PCI ID and so it
> > doesn't work.
> > 
> 
> Its the same PCI ID, but insmod segfaults...

does the attched patch cure the segfault?
but it doesn't mean that your card will be supported by it :)


Takashi

[-- Attachment #2: hdsp-fix.dif --]
[-- Type: application/octet-stream, Size: 983 bytes --]

Index: alsa-kernel/pci/rme9652/hdsp.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/rme9652/hdsp.c,v
retrieving revision 1.11
diff -u -r1.11 hdsp.c
--- alsa-kernel/pci/rme9652/hdsp.c	25 Nov 2002 10:13:58 -0000	1.11
+++ alsa-kernel/pci/rme9652/hdsp.c	28 Nov 2002 15:38:07 -0000
@@ -3045,9 +3045,11 @@
 
 static int snd_hdsp_free(hdsp_t *hdsp)
 {
-	/* stop the audio, and cancel all interrupts */
-	hdsp->control_register &= ~(HDSP_Start|HDSP_AudioInterruptEnable|HDSP_Midi0InterruptEnable|HDSP_Midi1InterruptEnable);
-	hdsp_write (hdsp, HDSP_controlRegister, hdsp->control_register);
+	if (hdsp->res_port) {
+		/* stop the audio, and cancel all interrupts */
+		hdsp->control_register &= ~(HDSP_Start|HDSP_AudioInterruptEnable|HDSP_Midi0InterruptEnable|HDSP_Midi1InterruptEnable);
+		hdsp_write (hdsp, HDSP_controlRegister, hdsp->control_register);
+	}
 
 	if (hdsp->irq >= 0)
 		free_irq(hdsp->irq, (void *)hdsp);

  parent reply	other threads:[~2002-11-28 15:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200211281337.gASDbvf00556@tench.street-vision.com>
2002-11-28 14:39 ` RME HDSP9652 Justin Cormack
2002-11-28 15:10   ` Martin Langer
2002-11-28 15:40   ` Takashi Iwai [this message]
2002-11-28 16:22     ` Justin Cormack
2002-11-28 16:52       ` Justin Cormack
2002-11-29 17:20     ` Paul Davis
2002-11-27 17:21 Justin Cormack
2002-11-27 18:27 ` Justin Cormack
2002-11-28 13:42 ` Paul Davis

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=s5hwumxzoqd.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=justin@street-vision.com \
    --cc=paul@linuxaudiosystems.com \
    /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