* alsa-tools 1.0.28 regression with sblive/emu10k1: init_live shell script broken.
@ 2014-06-25 16:10 Roc Vallès
0 siblings, 0 replies; 4+ messages in thread
From: Roc Vallès @ 2014-06-25 16:10 UTC (permalink / raw)
To: alsa-devel
I've recently upgraded to alsa-tools 1.0.28. There's apparently a
regression: The script that is bundled for sound blaster live (emu10k1
in my case) soundcard initialization has been broken. Without this,
the soundcard can only be used at a very basic level (just 2 speakers,
no equalization or other effects, most inputs unavailable). Reporting
here as the bugtracker is down.
Correct run (1.0.17):
# sh /usr/bin/init_live
No Emux synth hwdep device is found
Found hardware: "EMU10K1" "SigmaTel STAC9721,23" "AC97a:83847609"
"0x1102" "0x8040"
Hardware is initialized using a generic method
Broken run (1.0.28):
# /usr/bin/init_live
/usr/bin/init_live: line 49: log: command not found
/usr/bin/init_live: line 51: local: can only be used in a function
/usr/bin/init_live: line 55: [: 0: unary operator expected
/usr/bin/init_live: line 60: runlo10k1: command not found
/usr/bin/init_live: line 62: log: command not found
rename: not enough arguments
Usage:
rename [options] expression replacement file...
Options:
-v, --verbose explain what is being done
-s, --symlink act on symlink target
-h, --help display this help and exit
-V, --version output version information and exit
For more details see rename(1).
/usr/bin/init_live: line 79: log: command not found
/usr/bin/init_live: line 81: runlo10k1: command not found
/usr/bin/init_live: line 84: connect: command not found
/usr/bin/init_live: line 90: log: command not found
/usr/bin/init_live: line 92: runlo10k1: command not found
/usr/bin/init_live: line 95: copy: command not found
/usr/bin/init_live: line 97: local: can only be used in a function
/usr/bin/init_live: line 98: local: can only be used in a function
/usr/bin/init_live: line 100: log: command not found
/usr/bin/init_live: line 103: runlo10k1: command not found
/usr/bin/init_live: line 105: connect: command not found
/usr/bin/init_live: line 108: volume: command not found
/usr/bin/init_live: line 110: local: can only be used in a function
/usr/bin/init_live: line 111: local: can only be used in a function
/usr/bin/init_live: line 112: local: can only be used in a function
/usr/bin/init_live: line 113: local: can only be used in a function
/usr/bin/init_live: line 115: log: command not found
/usr/bin/init_live: line 118: runlo10k1: command not found
/usr/bin/init_live: line 120: connect: command not found
/usr/bin/init_live: line 123: master_volume: command not found
/usr/bin/init_live: line 125: local: can only be used in a function
/usr/bin/init_live: line 126: local: can only be used in a function
/usr/bin/init_live: line 127: local: can only be used in a function
/usr/bin/init_live: line 128: local: can only be used in a function
/usr/bin/init_live: line 130: log: command not found
/usr/bin/init_live: line 133: runlo10k1: command not found
/usr/bin/init_live: line 135: connect: command not found
/usr/bin/init_live: line 138: switch: command not found
/usr/bin/init_live: line 140: local: can only be used in a function
/usr/bin/init_live: line 141: local: can only be used in a function
/usr/bin/init_live: line 142: local: can only be used in a function
/usr/bin/init_live: line 144: log: command not found
/usr/bin/init_live: line 148: runlo10k1: command not found
/usr/bin/init_live: line 150: connect: command not found
/usr/bin/init_live: line 153: switch_2x2: command not found
/usr/bin/init_live: line 155: local: can only be used in a function
/usr/bin/init_live: line 156: local: can only be used in a function
/usr/bin/init_live: line 157: local: can only be used in a function
/usr/bin/init_live: line 158: local: can only be used in a function
/usr/bin/init_live: line 160: log: command not found
/usr/bin/init_live: line 163: runlo10k1: command not found
/usr/bin/init_live: line 165: connect: command not found
/usr/bin/init_live: line 166: connect: command not found
/usr/bin/init_live: line 169: switch_5x2: command not found
/usr/bin/init_live: line 171: local: can only be used in a function
/usr/bin/init_live: line 172: local: can only be used in a function
/usr/bin/init_live: line 173: local: can only be used in a function
/usr/bin/init_live: line 174: local: can only be used in a function
/usr/bin/init_live: line 176: log: command not found
/usr/bin/init_live: line 179: runlo10k1: command not found
/usr/bin/init_live: line 181: connect: command not found
/usr/bin/init_live: line 182: connect: command not found
/usr/bin/init_live: line 185: master_switch: command not found
/usr/bin/init_live: line 187: local: can only be used in a function
/usr/bin/init_live: line 188: local: can only be used in a function
/usr/bin/init_live: line 189: local: can only be used in a function
/usr/bin/init_live: line 190: local: can only be used in a function
/usr/bin/init_live: line 192: log: command not found
/usr/bin/init_live: line 195: runlo10k1: command not found
/usr/bin/init_live: line 197: connect: command not found
/usr/bin/init_live: line 200: playback: command not found
/usr/bin/init_live: line 205: log: command not found
/usr/bin/init_live: line 208: switch: command not found
/usr/bin/init_live: line 209: volume: command not found
/usr/bin/init_live: line 211: add_output: command not found
/usr/bin/init_live: line 214: playback_noswitch: command not found
/usr/bin/init_live: line 219: log: command not found
/usr/bin/init_live: line 222: volume: command not found
/usr/bin/init_live: line 224: add_output: command not found
/usr/bin/init_live: line 227: capture: command not found
/usr/bin/init_live: line 232: log: command not found
/usr/bin/init_live: line 235: switch: command not found
/usr/bin/init_live: line 236: volume: command not found
/usr/bin/init_live: line 238: connect: command not found
/usr/bin/init_live: line 241: capture_noswitch: command not found
/usr/bin/init_live: line 246: log: command not found
/usr/bin/init_live: line 249: volume: command not found
/usr/bin/init_live: line 251: connect: command not found
/usr/bin/init_live: line 254: master: command not found
/usr/bin/init_live: line 256: local: can only be used in a function
/usr/bin/init_live: line 257: local: can only be used in a function
/usr/bin/init_live: line 258: local: can only be used in a function
/usr/bin/init_live: line 260: log: command not found
/usr/bin/init_live: line 263: master_volume: command not found
/usr/bin/init_live: line 264: master_switch: command not found
/usr/bin/init_live: line 267: dump_patches: command not found
^ permalink raw reply [flat|nested] 4+ messages in thread
* alsa-tools 1.0.28 regression with sblive/emu10k1: init_live shell script broken.
@ 2014-06-25 16:37 Roc Vallès
2014-06-25 16:57 ` Clemens Ladisch
0 siblings, 1 reply; 4+ messages in thread
From: Roc Vallès @ 2014-06-25 16:37 UTC (permalink / raw)
To: alsa-devel
I've recently upgraded to alsa-tools 1.0.28. There's apparently a
regression: live_init, the script that is bundled for sound blaster
live soundcard initialization, has been broken. Without this, the
soundcard can only be used at a very basic level (just 2 speakers, no
equalization or other effects, most inputs unavailable). Reporting
here as the bugtracker is down.
Correct run (1.0.17):
# sh /usr/bin/init_live
#
Broken run (1.0.28):
# /usr/bin/init_live
/usr/bin/init_live: line 49: log: command not found
/usr/bin/init_live: line 51: local: can only be used in a function
/usr/bin/init_live: line 55: [: 0: unary operator expected
/usr/bin/init_live: line 60: runlo10k1: command not found
/usr/bin/init_live: line 62: log: command not found
rename: not enough arguments
Usage:
rename [options] expression replacement file...
Options:
-v, --verbose explain what is being done
-s, --symlink act on symlink target
-h, --help display this help and exit
-V, --version output version information and exit
For more details see rename(1).
/usr/bin/init_live: line 79: log: command not found
/usr/bin/init_live: line 81: runlo10k1: command not found
/usr/bin/init_live: line 84: connect: command not found
/usr/bin/init_live: line 90: log: command not found
/usr/bin/init_live: line 92: runlo10k1: command not found
/usr/bin/init_live: line 95: copy: command not found
/usr/bin/init_live: line 97: local: can only be used in a function
/usr/bin/init_live: line 98: local: can only be used in a function
/usr/bin/init_live: line 100: log: command not found
/usr/bin/init_live: line 103: runlo10k1: command not found
/usr/bin/init_live: line 105: connect: command not found
/usr/bin/init_live: line 108: volume: command not found
/usr/bin/init_live: line 110: local: can only be used in a function
/usr/bin/init_live: line 111: local: can only be used in a function
/usr/bin/init_live: line 112: local: can only be used in a function
/usr/bin/init_live: line 113: local: can only be used in a function
/usr/bin/init_live: line 115: log: command not found
/usr/bin/init_live: line 118: runlo10k1: command not found
/usr/bin/init_live: line 120: connect: command not found
/usr/bin/init_live: line 123: master_volume: command not found
/usr/bin/init_live: line 125: local: can only be used in a function
/usr/bin/init_live: line 126: local: can only be used in a function
/usr/bin/init_live: line 127: local: can only be used in a function
/usr/bin/init_live: line 128: local: can only be used in a function
/usr/bin/init_live: line 130: log: command not found
/usr/bin/init_live: line 133: runlo10k1: command not found
/usr/bin/init_live: line 135: connect: command not found
/usr/bin/init_live: line 138: switch: command not found
/usr/bin/init_live: line 140: local: can only be used in a function
/usr/bin/init_live: line 141: local: can only be used in a function
/usr/bin/init_live: line 142: local: can only be used in a function
/usr/bin/init_live: line 144: log: command not found
/usr/bin/init_live: line 148: runlo10k1: command not found
/usr/bin/init_live: line 150: connect: command not found
/usr/bin/init_live: line 153: switch_2x2: command not found
/usr/bin/init_live: line 155: local: can only be used in a function
/usr/bin/init_live: line 156: local: can only be used in a function
/usr/bin/init_live: line 157: local: can only be used in a function
/usr/bin/init_live: line 158: local: can only be used in a function
/usr/bin/init_live: line 160: log: command not found
/usr/bin/init_live: line 163: runlo10k1: command not found
/usr/bin/init_live: line 165: connect: command not found
/usr/bin/init_live: line 166: connect: command not found
/usr/bin/init_live: line 169: switch_5x2: command not found
/usr/bin/init_live: line 171: local: can only be used in a function
/usr/bin/init_live: line 172: local: can only be used in a function
/usr/bin/init_live: line 173: local: can only be used in a function
/usr/bin/init_live: line 174: local: can only be used in a function
/usr/bin/init_live: line 176: log: command not found
/usr/bin/init_live: line 179: runlo10k1: command not found
/usr/bin/init_live: line 181: connect: command not found
/usr/bin/init_live: line 182: connect: command not found
/usr/bin/init_live: line 185: master_switch: command not found
/usr/bin/init_live: line 187: local: can only be used in a function
/usr/bin/init_live: line 188: local: can only be used in a function
/usr/bin/init_live: line 189: local: can only be used in a function
/usr/bin/init_live: line 190: local: can only be used in a function
/usr/bin/init_live: line 192: log: command not found
/usr/bin/init_live: line 195: runlo10k1: command not found
/usr/bin/init_live: line 197: connect: command not found
/usr/bin/init_live: line 200: playback: command not found
/usr/bin/init_live: line 205: log: command not found
/usr/bin/init_live: line 208: switch: command not found
/usr/bin/init_live: line 209: volume: command not found
/usr/bin/init_live: line 211: add_output: command not found
/usr/bin/init_live: line 214: playback_noswitch: command not found
/usr/bin/init_live: line 219: log: command not found
/usr/bin/init_live: line 222: volume: command not found
/usr/bin/init_live: line 224: add_output: command not found
/usr/bin/init_live: line 227: capture: command not found
/usr/bin/init_live: line 232: log: command not found
/usr/bin/init_live: line 235: switch: command not found
/usr/bin/init_live: line 236: volume: command not found
/usr/bin/init_live: line 238: connect: command not found
/usr/bin/init_live: line 241: capture_noswitch: command not found
/usr/bin/init_live: line 246: log: command not found
/usr/bin/init_live: line 249: volume: command not found
/usr/bin/init_live: line 251: connect: command not found
/usr/bin/init_live: line 254: master: command not found
/usr/bin/init_live: line 256: local: can only be used in a function
/usr/bin/init_live: line 257: local: can only be used in a function
/usr/bin/init_live: line 258: local: can only be used in a function
/usr/bin/init_live: line 260: log: command not found
/usr/bin/init_live: line 263: master_volume: command not found
/usr/bin/init_live: line 264: master_switch: command not found
/usr/bin/init_live: line 267: dump_patches: command not found
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: alsa-tools 1.0.28 regression with sblive/emu10k1: init_live shell script broken.
2014-06-25 16:37 alsa-tools 1.0.28 regression with sblive/emu10k1: init_live shell script broken Roc Vallès
@ 2014-06-25 16:57 ` Clemens Ladisch
2014-06-27 14:50 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Clemens Ladisch @ 2014-06-25 16:57 UTC (permalink / raw)
To: Roc Vallès, Elimar Riesebieter, Jordi Mallach, Takashi Iwai
Cc: alsa-devel
Roc Vallès wrote:
> I've recently upgraded to alsa-tools 1.0.28. There's apparently a
> regression: live_init, the script that is bundled for sound blaster
> live soundcard initialization, has been broken.
>
> # /usr/bin/init_live
> /usr/bin/init_live: line 49: log: command not found
> /usr/bin/init_live: line 51: local: can only be used in a function
> ...
Broken by the patch below. Where are the parentheses?
commit a17282503f4ceb62f66eb5a28726fd096af0a70b
Author: Elimar Riesebieter <riesebie@lxtec.de>
Date: Wed May 15 19:19:07 2013 +0200
Fix bashisms.
The "function" builtin is a bashism that can be simply omitted with
no behaviour change, if parentheses are supplied.
Signed-off-by: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/ld10k1/setup/init_live.in b/ld10k1/setup/init_live.in
index 70d30c8..5e6580f 100644
--- a/ld10k1/setup/init_live.in
+++ b/ld10k1/setup/init_live.in
@@ -46,7 +46,7 @@ std_playback=playback
std_capture=capture
#std_capture=capture_noswitch
-function log
+log
{
local level=$1
...
Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: alsa-tools 1.0.28 regression with sblive/emu10k1: init_live shell script broken.
2014-06-25 16:57 ` Clemens Ladisch
@ 2014-06-27 14:50 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2014-06-27 14:50 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel, Roc Vallès, Jordi Mallach
At Wed, 25 Jun 2014 18:57:46 +0200,
Clemens Ladisch wrote:
>
> Roc Vallès wrote:
> > I've recently upgraded to alsa-tools 1.0.28. There's apparently a
> > regression: live_init, the script that is bundled for sound blaster
> > live soundcard initialization, has been broken.
> >
> > # /usr/bin/init_live
> > /usr/bin/init_live: line 49: log: command not found
> > /usr/bin/init_live: line 51: local: can only be used in a function
> > ...
>
> Broken by the patch below. Where are the parentheses?
>
>
> commit a17282503f4ceb62f66eb5a28726fd096af0a70b
> Author: Elimar Riesebieter <riesebie@lxtec.de>
> Date: Wed May 15 19:19:07 2013 +0200
>
> Fix bashisms.
>
> The "function" builtin is a bashism that can be simply omitted with
> no behaviour change, if parentheses are supplied.
>
> Signed-off-by: Jordi Mallach <jordi@debian.org>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
>
> diff --git a/ld10k1/setup/init_live.in b/ld10k1/setup/init_live.in
> index 70d30c8..5e6580f 100644
> --- a/ld10k1/setup/init_live.in
> +++ b/ld10k1/setup/init_live.in
> @@ -46,7 +46,7 @@ std_playback=playback
> std_capture=capture
> #std_capture=capture_noswitch
>
> -function log
> +log
> {
> local level=$1
> ...
Indeed. Fixed now in git tree.
thanks,
Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-27 14:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25 16:37 alsa-tools 1.0.28 regression with sblive/emu10k1: init_live shell script broken Roc Vallès
2014-06-25 16:57 ` Clemens Ladisch
2014-06-27 14:50 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2014-06-25 16:10 Roc Vallès
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.