From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: RME HDSP9652 Date: Thu, 28 Nov 2002 16:40:58 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200211281337.gASDbvf00556@tench.street-vision.com> <1038494386.20379.31.camel@lotte> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: multipart/mixed; boundary="Multipart_Thu_Nov_28_16:40:58_2002-1" Return-path: In-Reply-To: <1038494386.20379.31.camel@lotte> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Justin Cormack Cc: Paul Davis , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Thu_Nov_28_16:40:58_2002-1 Content-Type: text/plain; charset=US-ASCII 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 --Multipart_Thu_Nov_28_16:40:58_2002-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="hdsp-fix.dif" Content-Transfer-Encoding: 7bit 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); --Multipart_Thu_Nov_28_16:40:58_2002-1-- ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en