Re: ld10k1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 May 2007 17:14:43 +0200
kreon28@xxxxxxxxx wrote:

> 
> 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
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user

This statement has errors.  There are unmatched double quote,
left paren, and single quote match that I suspect is wrong.
local CARDS="$(cat /proc/asound/cards | awk '/: / { print $1 }'$ local
CARDNUM

I'd have to do research to figure out what is wrong, and whether some
of those are OK (I'll let you do that, info bash or man bash and info
awk or man awk), but you obviously need at least the right paren as bash
is complaining about it.

-------------------------------------------------------------------------
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
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux