[PlanetCCRMA] hdsp initialisation

Iain Mott mott@reverberant.com
Wed Jun 11 16:27:01 2003


Hello

I'm new to this list, new to alsa and to the hdsp. I have a multiface 
hdsp with a pci card and can't initialise the hdsp from a cold start.

Must point out i'm not currently using the ccrma rpms (although have 
tried at various points) - the alsa-users list doesn't seem to be taking 
subscriptions so i'm posting here - the problem is probably still 
relevant. Perhaps the rpms will solve my problem?

Currently i'm running alsa 0.9.4 compiled against a vanilla 2.4.20-8 
kernel. The multiface came with firmware revision 11. Have had no success 
getting alsa to run with this and downgraded to 10 using the rme win2k 
executable.

I can get alsa to work by running hdsploader and rebooting. Hdsploader 
produces errors however:

hdsploader - firmware loader for RME Hammerfall DSP cards
Looking for HDSP + Multiface or Digiface cards :
Card 0 : RME Hammerfall DSP at 0xea800000, irq 10
Upload firmware for card hw:0
Hwdep ioctl error on card hw:0 : Input/output error.

I've just seen Fernando's post from 11 April and have added post-install 
line to the modules.conf. The alsa part of this file is:

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hdsp
# module options should go here
options snd-hammerfall-mem enable=1

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
	
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

post-install snd-hdsp /usr/local/bin/hdsploader  


>From a cold start, dmesg reveals:

Hammerfall memory allocator: buffers allocated for 1 cards
PCI: Found IRQ 10 for device 02:0c.0
PCI: Sharing IRQ 10 with 02:05.0
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:4107: card initialization 
pending : waiting for firmware
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:644: wait for FIFO status <= 0 
failed
after 30 iterations
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:3803: initializing firmware 
upload
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:522: loading firmware
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:644: wait for FIFO status <= 0 
failed
after 5000 iterations
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:543: timeout at end of firmware 
loading

If the machine is rebooted, alsa works ie. i can adjust amixer settings 
and use aplay etc. The dmesg shows:

Hammerfall memory allocator: buffers allocated for 1 cards
PCI: Found IRQ 10 for device 02:0c.0
PCI: Sharing IRQ 10 with 02:05.0
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:4114: Firmware already loaded, 
initializing card.
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:3803: initializing firmware 
upload
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:558: firmware loaded from 
cache, restoring defaults

Can anyone suggest what might be wrong?

Cheers,

Iain

Iain Mott
www.reverberant.com