Hi,
Recently I decided to install ld10k1, just to have some better sound. I'm using
Gentoo 2007.1 ,SB Audigy 2 and all alsa 1.0.14rc3.
I edited /etc/make.conf and defined:
ALSA_TOOLS="as10k1 ld10k1 lo10k1 qlo10k1"
Then I deleted ALSA_TOOLS in the ebuild
I emerged alsa tools with a command:
MOC="/usr/qt/3/bin/moc" UIC="/usr/qt/3/bin/uic" emerge alsa-tools
Everything went pretty good. Unfortunately after editing /etc/init.d/alsasound:
restore() {
ebegin "Restoring Mixer Levels"
#Demon ld10k1 i skrypt init_live
/usr/sbin/ld10k1 -d
/bin/sh /usr/bin/init_audigy_eq10
local val=0
if [[ ! -r ${asoundcfg} ]] ; then
ewarn "No mixer config in ${asoundcfg}, you have to unmute your$
elif [[ -x ${alsactl} ]] ; then
local CARDS="$(cat /proc/asound/cards | awk '/: / { print $1 }'$
local CARDNUM
for CARDNUM in ${CARDS}
do
[[ -e /dev/snd/controlC0 ]] || sleep 2
[[ -e /dev/snd/controlC0 ]] || sleep 2
[[ -e /dev/snd/controlC0 ]] || sleep 2
[[ -e /dev/snd/controlC0 ]] || sleep 2
${alsactl} -f ${asoundcfg} restore ${CARDNUM} || ewarn $
done
and doing:
/etc/init.d/alsasound restart
I got an error
/etc/init.d/alsasound: line 147: unexpected EOF while looking for matching `)'
/etc/init.d/alsasound: line 226: syntax error: unexpected end of file
* ERROR: /etc/init.d/alsasound has syntax errors in it; aborting ...
and ld10k1 doesn't work.
Also after every reboot my mixer is muted.
Anyone could help?
----------------------------------------------------------------------
Cywilizacje powstaja z gliny i zelaza. Travian
>>> http://link.interia.pl/f1a7e
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user