Topic: 9632 on fc15/fc16 - can't get any sound

Hey guys,

I've seen some topics on how to get RME's Hammerfall DSP 9632 working on Linux, but none worked for me yet. I don't necessarily need to have all system or browser sounds on the card. I would just like to play some songs with the card, using a player like vlc, but I can't hear anything.
I tried 'aplay' in console, I even got it playing without errors, but there's no sound output at all. I read about muted channels and this could of course be the reason. Unfortunately the 'hdspmixer' tool can't find the card. This seems weird to me, as the 'hdspconf' tool recognizes the card and shows up a dialog very similar to the one I know from Windows. See console output below.

I've the latest Firmware (v154) and I'm currently using Fedora 16 (Linux 3.1.5-6.fc16.x86_64) with alsa 1.0.24. It was the same situation on Fedora 15 before.

hdspmixer won't start, hdspconf works fine:

[rumpelzwo@sr-desktop ~]$ hdspmixer

HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details

Looking for RME cards :
Card 0 : HDA Intel at 0xfa200000 irq 46
Card 1 : RME Hammerfall HDSP 9632 at 0xfa100000, irq 19
No RME cards found.
[rumpelzwo@sr-desktop ~]$ hdspconf

HDSPConf 1.4 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
This program comes WITH ABSOLUTELY NO WARRANTY
HDSPConf is free software, see the file copying for details

Looking for HDSP cards :
Card 0 : HDA Intel at 0xfa200000 irq 46
Card 1 : RME Hammerfall HDSP 9632 at 0xfa100000, irq 19
HDSP 9632 found !
1 Hammerfall DSP card found.

Alsa configuration:

/proc/asound/cards:
0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfa200000 irq 46
1 [DSP            ]: H-DSP - Hammerfall DSP
                      RME Hammerfall HDSP 9632 at 0xfa100000, irq 19

/proc/asound/devices:
  1:        : sequencer
  2: [ 1- 0]: raw midi
  3: [ 1- 0]: digital audio playback
  4: [ 1- 0]: digital audio capture
  5: [ 1- 0]: hardware dependent
  6: [ 1]   : control
  7: [ 0- 2]: digital audio capture
  8: [ 0- 1]: digital audio playback
  9: [ 0- 1]: digital audio capture
10: [ 0- 0]: digital audio playback
11: [ 0- 0]: digital audio capture
12: [ 0- 2]: hardware dependent
13: [ 0]   : control
33:        : timer

/proc/asound/hwdep:
01-00: HDSP hwdep interface
00-02: HDA Codec 2

/proc/asound/modules:
0 snd_hda_intel
1 snd_hdsp

/proc/asound/pcm:
00-00: ALC889A Analog : ALC889A Analog : playback 1 : capture 1
00-01: ALC889A Digital : ALC889A Digital : playback 1 : capture 1
00-02: ALC889A Analog : ALC889A Analog : capture 2
01-00: RME Hammerfall HDSP 9632 : RME Hammerfall HDSP 9632 : playback 1 : capture 1

/proc/asound/timers:
G0: system timer : 1000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
P0-1-1: PCM capture 0-1-1 : SLAVE
P0-2-1: PCM capture 0-2-1 : SLAVE
P0-2-3: PCM capture 0-2-3 : SLAVE
P1-0-0: PCM playback 1-0-0 : SLAVE
P1-0-1: PCM capture 1-0-1 : SLAVE

Re: 9632 on fc15/fc16 - can't get any sound

Hello,

Try first to disable your ALC889A in the bios to make only the hdsp 9632 running in the system and so snd_hdsp will be 0 instead of 1.

/proc/asound/modules:
0 snd_hda_intel
1 snd_hdsp

About hdspmixer that does'nt open the mixer: with alsa 1.0.24 theyr is or whas (?) a bug with the /hdspmixer in /usr/bin/ (ubuntu 10.10 here) that didn't open it! The solution was to take the hdspmixer (launcher) from alsa 1.0.23 and replace the one from alsa 1.0.24. You should be able to take it from an alsa 1.0.23 .deb>extract it> and replace the hdspmixer from 1.0.24 with 1.0.23. and try if it launch hdspmixer.

Re: 9632 on fc15/fc16 - can't get any sound

Hello foucon50, thanks for your help!

I took hdspmixer from alsa-tools-1.0.23-1.fc14.x86_64.rpm. First it complained:

hdspmixer: error while loading shared libraries: libfltk.so.1.1: cannot open shared object file: No such file or directory

My system only had the more current libfltk.so.1.3. So I tried it with libfltk.so.1.1, but...

[root@sr-desktop lib64]# hdspmixer

HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details

Looking for HDSP cards :
Card 0 : RME Hammerfall HDSP 9632 at 0xfa100000, irq 19
HDSP 9632 found !
1 Hammerfall DSP card found.
*** buffer overflow detected ***: hdspmixer terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x30b8f07027]
/lib64/libc.so.6[0x30b8f04fa0]
/lib64/libc.so.6[0x30b8f04409]
/lib64/libc.so.6(_IO_default_xsputn+0xdd)[0x30b8e7988d]
/lib64/libc.so.6(_IO_vfprintf+0x1ff1)[0x30b8e49431]
/lib64/libc.so.6(__vsprintf_chk+0x97)[0x30b8f044a7]
/lib64/libc.so.6(__sprintf_chk+0x7d)[0x30b8f043ed]
hdspmixer[0x4088cd]
hdspmixer[0x407c60]
hdspmixer[0x406e69]
hdspmixer[0x40372c]
/lib64/libc.so.6(__libc_start_main+0xed)[0x30b8e2169d]
hdspmixer[0x403479]
======= Memory map: ========
[...]

At least it said it would find the card now. The error could be caused by only adding this single library, not using the package manager and thus provoking incompatibilities.
Therefore I removed libfltk.so.1.1 and created a symbolic link with this name instead, linking to the current libfltk.so.1.3. This looked somewhat better, but ...

[root@sr-desktop lib64]# hdspmixer
hdspmixer: Symbol `_ZTV11Fl_Menu_Bar' has different size in shared object, consider re-linking
hdspmixer: Symbol `_ZTV16Fl_Return_Button' has different size in shared object, consider re-linking

HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details

Looking for HDSP cards :
Card 0 : RME Hammerfall HDSP 9632 at 0xfa100000, irq 19
HDSP 9632 found !
1 Hammerfall DSP card found.
hdspmixer: malloc.c:2453: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Abgebrochen

So I still can't start hdspmixer...
And I still can't get any sound.
Any further ideas?

Re: 9632 on fc15/fc16 - can't get any sound

Hello rumpelzwo

Do you have alsa-utils alsa-base libasound2 linux-sound-base alsa-tools-gui alsa-firmware-loaders lib32asound2 installed? This is the stuff I have and it works very very well.

First, if some of them are not installed, do it and then if it wont load I would try to remove all this reboot and install them again. I have you disabled your on board SC?

An important detail...I have upgraded (compiled) alsa yesterday 1.0.23>1.0.24 and even the hdspmixer works now (fixed)! At your place I would do it this way because during the compilation ./configure you will see if it complains about missing library and you can install them. Sorry for my poor help!

If your don't miss any of the library above, this is the howto I used to compile:

http://duopetalflower.blogspot.com/2011 … -1010.html

Re: 9632 on fc15/fc16 - can't get any sound

Hey,

the packages/package groups seem to have slightly different names on Fedora. Anyway I'm quite sure that I have all of them. I already tried reinstalling and rebooting...

The card is detected and somehow configured by alsa, as /proc/asound/cards and the other files in asound are saying.
I managed to play songs with the card, which means that I selected the card output in a player (I used aplay in console and deadbeef on the desktop) and it played the song without any error coming up, showing the progress respectively the time running up - but without sound output. Somewhere I read, that the card's outputs are muted on startup / card initialization and need to be unmuted by starting hdspmixer. Therefore I focussed on getting this tool running...

I'll try compiling alsa from source if I have a little more time.

6 (edited by faucon50 2012-01-17 23:42:26)

Re: 9632 on fc15/fc16 - can't get any sound

So now you can launch hdspmixer isn'it? If so...great begin! Yes all channels are muted by default! I use deadbeef to...

Go to deadbeef preferences>sound>and look for alsa output>default or try all them out to find the one working and in hdspmixer>submix>out 1 and 2 clik on the black field under and take AN 1+2 on both (channel 1 and 2) and move the volume up, then clik on submix (right above) and in the fields "playback" click again  AN 1+2 under out 1-2 and muve the volume up, then in "output" channels 11-12 (AN 1-2) you get the output volume. Maybe you have to stop and launch deadbeef and hdspmixer by every try to be shure that the changes have been applied. It's a bit complicated but... if you get it sounding, go to File>save preset as> in your /home/user/preset01

7 (edited by rumpelzwo 2012-01-18 17:26:36)

Re: 9632 on fc15/fc16 - can't get any sound

No, I still can't start hdspmixer!

Alsa is detecting the card, as /proc/asound/cards says.

hdspconf is detecting the card and starting up correctly.

but

hdspmixer doesn't start up!
If I call it in a terminal it returns:

Looking for RME cards :
Card 0 : RME Hammerfall HDSP 9632 at 0xfa100000, irq 19
No RME cards found.

That's why I can't turn up the volume. At least I don't know any alternative methods. And it would be a good reason, why I can't get any sound.

I'll try compiling alsa if I have some time. I hope that will fix hdspmixer.

Re: 9632 on fc15/fc16 - can't get any sound

Strange...Here by me, I have the launcher "hdspmixer" in /usr/bin/ and hsdpconf hdsploader to. Are they at the same place by you to? If not, try to see where it is and the other ones to. And try to move it in /usr/bin/. An another try would be to take the hdspmixer from alsa 1.0.24 and see if it's just a (1.0.23) launcher problem...

I think that the fix is not far away without the need of alsa compilation. Try hdspconf in a terminal to see the result. Sorry but I have no experience with Fedora roll

That's why I can't turn up the volume. At least I don't know any alternative methods. And it would be a good reason, why I can't get any sound.

Clear, without hspmixer no sound.

9 (edited by rumpelzwo 2012-01-18 20:24:17)

Re: 9632 on fc15/fc16 - can't get any sound

I have all three tools, located in /usr/bin

[rumpelzwo@sr-desktop ~]$ cd /usr/bin
[rumpelzwo@sr-desktop bin]$ ls -l hdsp*
-rwxr-xr-x. 1 root root 178512 10. Jun 2011  hdspconf
-rwxr-xr-x. 1 root root  13952 10. Jun 2011  hdsploader
-rwxr-xr-x. 1 root root 406472 10. Jun 2011  hdspmixer

I can start hdspconf! If I call it in console, it returns

Looking for HDSP cards :
Card 0 : RME Hammerfall HDSP 9632 at 0xfa100000, irq 19
HDSP 9632 found !
1 Hammerfall DSP card found.

and shows up the settings window, where I can select sample rate, clock, sync and so on.


If I launch hdspmixer in exactly the same way, it returns

Looking for RME cards :
Card 0 : RME Hammerfall HDSP 9632 at 0xfa100000, irq 19
No RME cards found.

which is quite stupid, but it's what it does. It aborts and does not show up the mixer window.

I tried it with hdspmixer from alsa-tools 1.0.23 yesterday. First it returned that it found the card (like the hdspconf above)!
But then it crashed and therefore it also did not show up the mixer window, this time because of missing or incompatible libraries.
It complained about missing libfltk (I guess it's a graphical toolkit to draw the sliders and meters) and I tried providing the requested (older) version, which was not successful. After that I tried a symbolic link, so that it would use the current library, this ended up in other errors. You can find the (console) output of both tries in one of my last posts.

Re: 9632 on fc15/fc16 - can't get any sound

Again strange HeadScratch

I will try to send you my hdspmixer via e-mail...I don't know if it's usable but why not to try.!?