Skip to contentSkip to conversation

Hammerfall configuration

DISCUSSION patrick reardon 2 participants 2 messages Dec 19, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 200212190924.18p4pc1V73NZFji0@eagle

#1 lore raw

it works! disks burn correctly now. thanks to everyone who helped me get this straightened out, especially paul davis and joerg shilling. in case it might help someone else, i'm running a redhat based system and load the hammerfall modules at boot time with this line added to /etc/rc.d/rc.sysinit:

action "Loading ALSA Hammerfall driver" modprobe snd-rme9652

/etc/modules.conf is set to load soundcore and snd-rme9652-mem before snd-rme9652, so this takes care of it. to automatically set the hammerfall's internal clock as master (or use any non-default configuration) , the line

action "Setting Hammerfall as master clock" alsactl restore snd-rme9652

can be added after the modprobe command.

patrick

Quoted 18 lines · Paul Davis
Quoted 7 lines

by hand, changing the 'Sync Mode' value from AutoSync to Master (should these values be in quotes?), ran "alsactl store hammerfall", unloaded then reloaded the alsa m odules, then ran "alsactl restore hammerfall. ("hammerfall" is the card's id.) but asound .state still indicates Sync Mode is set to AutoSync. "vi /proc/asound/hammerfall/rme 9652" reads

you got the process wrong.

1) alsactl store hammerfall
2) edit file
3) alsactl restore hammerfall

no driver unload/load is needed. each time you reload the module without the 3rd step, you get back to the driver's own default settings.

Quoted 7 lines
Quoted 3 lines

i'm also curious if the "IEC958 sample rate: error flag set" is normal and if not, what to
look at to fix it. asound.state says

it means you have no s/pdif input.

--p

-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating? Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/

#2 lore raw
Quoted 10 lines

it works! disks burn correctly now. thanks to everyone who helped me get thi s straightened out, especially paul davis and joerg shilling. in case it might help someone else, i'm running a redhat based system and load the hammerfall modules at boo t time with this line added to /etc/rc.d/rc.sysinit:

action "Loading ALSA Hammerfall driver" modprobe snd-rme9652

/etc/modules.conf is set to load soundcore and snd-rme9652-mem before snd-rme9 652, so this takes care of it.

this is not quite right. rc.sysint should load just snd-rme9652-mem. it will work the way you have it, but there is no reason to load snd-rme9652 in rc.sysinit - this (unlike snd-rme9652-mem) will require loading of all of the ALSA infrastructure as well.

Quoted 3 lines

action "Setting Hammerfall as master clock" alsactl restore snd-rme9652

can be added after the modprobe command.

this will happen anyway if /etc/asound.state contains the relevant setting for the card. that is, if you've set it to master, and ALSA is shutdown normally, then /etc/asound.state will be used to reset the state when the alsasound init script runs.

--p

-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating? Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/