RMI9652 ALSA driver Installation Guide
this procedure is based on installing the version 0.9 beta 10 and
refers to the following link .
- get the ALSA driver/library/utility packages from
ALSA official website.
- place the packages into $(ALSA_DIRECTORY).
- if there's no directory or symbolic link /usr/src/linux,
make a symbolic link to the current installed linux source directory.
e.g. ln -s /usr/src/linux-2.4 /usr/src/linux.
- install alsa driver.
- cd $(ALSA_DIRECTORY)alsa-driver-0.9beta10
- ./configure --with-cards=rme9652
- make clean all install
- ./snddevices
- install alsa library.
- cd $(ALSA_DIRECTORY)alsa-lib-0.9beta10a
- ./configure
- vi $(ALSA_DIRECTORY)alsa-lib-0.9beta10a/src/pcm/Makefile
- add "-I/usr/src/linux/include" to $(INCLUDES)
- make clean all install
- install alsa utilities.
- cd $(ALSA_DIRECTORY)alsa-utils-0.9beta10a
- ./configure
- make clean all install
- configure the alsa drivers at /etc/modules.conf.
cat >> /etc/modules.conf << "EOF"
alias char-major-14 soundcore
alias char-major-116 snd
alias snd-card-0 snd-card-rme9652
alias sound-slot-0 snd-card-0
EOF
- register at the startup directory.
cd /etc/rc.d/init.d
ln -sf ../init.d/alsasound ../rc0.d/K35alsa
ln -sf ../init.d/alsasound ../rc1.d/K35alsa
ln -sf ../init.d/alsasound ../rc2.d/S40alsa
ln -sf ../init.d/alsasound ../rc3.d/S40alsa
ln -sf ../init.d/alsasound ../rc4.d/S40alsa
ln -sf ../init.d/alsasound ../rc5.d/S40alsa
ln -sf ../init.d/alsasound ../rc6.d/K35alsa
- reboot the machine
- create "/etc/asound.state"
touch /etc/asound.state && alsactl store
-
change "/etc/asound.state"
- find the lines containing value AutoSync
- change AudoSync to 'Word Clock'
- reload alsa setting alsactl blah blah