All of lore.kernel.org
 help / color / mirror / Atom feed
* RME HDSP9652
@ 2002-11-27 17:21 Justin Cormack
  2002-11-27 18:27 ` Justin Cormack
  2002-11-28 13:42 ` Paul Davis
  0 siblings, 2 replies; 9+ messages in thread
From: Justin Cormack @ 2002-11-27 17:21 UTC (permalink / raw)
  To: alsa-devel



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

I will happily test any patches, or given the formware could prbbaly fix
it...

Justin




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RME HDSP9652
  2002-11-27 17:21 Justin Cormack
@ 2002-11-27 18:27 ` Justin Cormack
  2002-11-28 13:42 ` Paul Davis
  1 sibling, 0 replies; 9+ messages in thread
From: Justin Cormack @ 2002-11-27 18:27 UTC (permalink / raw)
  To: alsa-devel; +Cc: pbd

On Wed, 2002-11-27 at 17:21, Justin Cormack 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)?

I just found the earlier message saying "It should work" ex the mixer.
Well, it doesnt seem to, but which driver should work, the hdsp driver
or rme9652?




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RME HDSP9652
  2002-11-27 17:21 Justin Cormack
  2002-11-27 18:27 ` Justin Cormack
@ 2002-11-28 13:42 ` Paul Davis
  1 sibling, 0 replies; 9+ messages in thread
From: Paul Davis @ 2002-11-28 13:42 UTC (permalink / raw)
  To: Justin Cormack; +Cc: alsa-devel

>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.

--p


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RME HDSP9652
       [not found] <200211281337.gASDbvf00556@tench.street-vision.com>
@ 2002-11-28 14:39 ` Justin Cormack
  2002-11-28 15:10   ` Martin Langer
  2002-11-28 15:40   ` Takashi Iwai
  0 siblings, 2 replies; 9+ messages in thread
From: Justin Cormack @ 2002-11-28 14:39 UTC (permalink / raw)
  To: Paul Davis; +Cc: alsa-devel

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...

[root@marlin root]# lspci -v -s 04:02.0 -n
04:02.0 Class 0401: 10ee:3fc5 (rev 64)
        Flags: bus master, medium devsel, latency 64, IRQ 19
        Memory at e8300000 (32-bit, non-prefetchable) [size=64K]

[root@marlin root]# lspci -v -s 04:02.0
04:02.0 Multimedia audio controller: Xilinx, Inc. RME Hammerfall DSP
(rev 64)
        Flags: bus master, medium devsel, latency 64, IRQ 19
        Memory at e8300000 (32-bit, non-prefetchable) [size=64K]




ksymoops output:

ksymoops 2.4.5 on i686 2.4.20-rc4.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.20-rc4/ (default)
     -m /boot/System.map-2.4.20-rc4 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Unable to handle kernel NULL pointer dereference at virtual address
00000040
f8a0643d
*pde = 00000000
Oops: 0002
CPU:    2
EIP:    0010:[<f8a0643d>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: 00000000   ebx: f48781a8   ecx: c19ad080   edx: 00000000
esi: ffffffed   edi: c19ce400   ebp: f48781a8   esp: f4a33e94
ds: 0018   es: 0018   ss: 0018
Process modprobe (pid: 782, stackpage=f4a33000)
Stack: ffffffed c19ce400 f4878000 f8975c7a f48781a8 00000002 c19ce400
f4878000
       f8a065fe f4878000 f48781a8 00000000 000010e8 400676b0 f8a38620
f8a38b20
       c19ce400 00000000 c01efc05 c19ce400 f8a38620 c19ce400 f8a38b20
00000000
Call Trace:    [<f8975c7a>] [<f8a065fe>] [<f8a38620>] [<f8a38b20>]
[<c01efc05>]
  [<f8a38620>] [<f8a38b20>] [<c01efcac>] [<f8a38b20>] [<f8a06653>]
[<f8a38b20>]
  [<c011e004>] [<f8a02060>] [<f8a07604>] [<f8a02060>] [<c010774f>]
Code: 89 50 40 8b 83 c4 00 00 00 85 c0 78 0c 89 04 24 89 5c 24 04


>>EIP; f8a0643d <[snd-hdsp]snd_hdsp_free+1d/90>   <=====

>>ebx; f48781a8 <_end+34516cf0/384aaba8>
>>ecx; c19ad080 <_end+164bbc8/384aaba8>
>>esi; ffffffed <END_OF_CODE+75c74a2/????>
>>edi; c19ce400 <_end+166cf48/384aaba8>
>>ebp; f48781a8 <_end+34516cf0/384aaba8>
>>esp; f4a33e94 <_end+346d29dc/384aaba8>

Trace; f8975c7a <[snd]snd_card_free+12a/1d0>
Trace; f8a065fe <[snd-hdsp]snd_hdsp_probe+12e/140>
Trace; f8a38620 <[snd-hdsp]snd_hdsp_ids+0/38>
Trace; f8a38b20 <[snd-hdsp]driver+0/27>
Trace; c01efc05 <pci_announce_device+35/80>
Trace; f8a38620 <[snd-hdsp]snd_hdsp_ids+0/38>
Trace; f8a38b20 <[snd-hdsp]driver+0/27>
Trace; c01efcac <pci_register_driver+5c/60>
Trace; f8a38b20 <[snd-hdsp]driver+0/27>
Trace; f8a06653 <[snd-hdsp]alsa_card_hdsp_init+13/60>
Trace; f8a38b20 <[snd-hdsp]driver+0/27>
Trace; c011e004 <sys_init_module+4f4/660>
Trace; f8a02060 <[snd-hdsp]hdsp_hw_pointer+0/40>
Trace; f8a07604 <[snd-hdsp]__module_license+9d1/1dcd>
Trace; f8a02060 <[snd-hdsp]hdsp_hw_pointer+0/40>
Trace; c010774f <system_call+33/38>

Code;  f8a0643d <[snd-hdsp]snd_hdsp_free+1d/90>
00000000 <_EIP>:
Code;  f8a0643d <[snd-hdsp]snd_hdsp_free+1d/90>   <=====
   0:   89 50 40                  mov    %edx,0x40(%eax)   <=====
Code;  f8a06440 <[snd-hdsp]snd_hdsp_free+20/90>
   3:   8b 83 c4 00 00 00         mov    0xc4(%ebx),%eax
Code;  f8a06446 <[snd-hdsp]snd_hdsp_free+26/90>
   9:   85 c0                     test   %eax,%eax
Code;  f8a06448 <[snd-hdsp]snd_hdsp_free+28/90>
   b:   78 0c                     js     19 <_EIP+0x19>
Code;  f8a0644a <[snd-hdsp]snd_hdsp_free+2a/90>
   d:   89 04 24                  mov    %eax,(%esp,1)
Code;  f8a0644d <[snd-hdsp]snd_hdsp_free+2d/90>
  10:   89 5c 24 04               mov    %ebx,0x4(%esp,1)


1 warning issued.  Results may not be reliable.




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RME HDSP9652
  2002-11-28 14:39 ` RME HDSP9652 Justin Cormack
@ 2002-11-28 15:10   ` Martin Langer
  2002-11-28 15:40   ` Takashi Iwai
  1 sibling, 0 replies; 9+ messages in thread
From: Martin Langer @ 2002-11-28 15:10 UTC (permalink / raw)
  To: Justin Cormack; +Cc: paul, alsa-devel

On Thu, Nov 28, 2002 at 02:39:41PM +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...
> 

Maybe there is a difference in the revision number. RME had used this way to
separate between Digi 96/8 PAD and Digi 96/8 PST in the past. 

martin


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RME HDSP9652
  2002-11-28 14:39 ` RME HDSP9652 Justin Cormack
  2002-11-28 15:10   ` Martin Langer
@ 2002-11-28 15:40   ` Takashi Iwai
  2002-11-28 16:22     ` Justin Cormack
  2002-11-29 17:20     ` Paul Davis
  1 sibling, 2 replies; 9+ messages in thread
From: Takashi Iwai @ 2002-11-28 15:40 UTC (permalink / raw)
  To: Justin Cormack; +Cc: Paul Davis, alsa-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RME HDSP9652
  2002-11-28 15:40   ` Takashi Iwai
@ 2002-11-28 16:22     ` Justin Cormack
  2002-11-28 16:52       ` Justin Cormack
  2002-11-29 17:20     ` Paul Davis
  1 sibling, 1 reply; 9+ messages in thread
From: Justin Cormack @ 2002-11-28 16:22 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Paul Davis, alsa-devel

On Thu, 2002-11-28 at 15:40, Takashi Iwai wrote:

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

Thanks, this fixes the segfault, and adding the rev 0x64 in
snd_hdsp_create makes it work... It recognises the IO box as a digiface
which I think is ok (3x adat + midi + 2 * spdif). Playback works, and
the mixer is recognised - will test it further.

thanks for everyones help.

Justin




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RME HDSP9652
  2002-11-28 16:22     ` Justin Cormack
@ 2002-11-28 16:52       ` Justin Cormack
  0 siblings, 0 replies; 9+ messages in thread
From: Justin Cormack @ 2002-11-28 16:52 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai, Paul Davis

On Thu, 2002-11-28 at 16:22, Justin Cormack wrote:

> Thanks, this fixes the segfault, and adding the rev 0x64 in
> snd_hdsp_create makes it work... It recognises the IO box as a digiface
> which I think is ok (3x adat + midi + 2 * spdif). Playback works, and
> the mixer is recognised - will test it further.

ok, the mixer doesnt actually appear to do anything (as hinted in Paul's
email a while back). What needs to be done to support it?

Justin




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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RME HDSP9652
  2002-11-28 15:40   ` Takashi Iwai
  2002-11-28 16:22     ` Justin Cormack
@ 2002-11-29 17:20     ` Paul Davis
  1 sibling, 0 replies; 9+ messages in thread
From: Paul Davis @ 2002-11-29 17:20 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Justin Cormack, alsa-devel

>> 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 - thanks for this patch. i didn't understand that
snd_hdsp_free() could be called when no hardware was detected. now i do :)

--p


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-11-29 17:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.