* [ptxdist] [PATCH] alsa-utils: add /usr/share/alsa/ dir
@ 2012-09-19 9:10 Christoph Fritz
2012-09-19 9:43 ` Juergen Beisert
2012-09-19 10:47 ` Jan Weitzel
0 siblings, 2 replies; 3+ messages in thread
From: Christoph Fritz @ 2012-09-19 9:10 UTC (permalink / raw)
To: j.beisert, Michael Olbrich; +Cc: ptxdist
This patch fixes error:
restoring mixer state.../usr/sbin/alsactl: parse:1655: Unable to open file
'/usr/share/alsa/init/00main': No such file or directory
Same error as:
https://bugs.busybox.net/show_bug.cgi?id=1573
http://git.buildroot.net/buildroot/commit/?id=5ad2672470109ddea4c467a67b0d
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
rules/alsa-utils.make | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/rules/alsa-utils.make b/rules/alsa-utils.make
index e62e3be..3b8ca14 100644
--- a/rules/alsa-utils.make
+++ b/rules/alsa-utils.make
@@ -97,6 +97,8 @@ $(STATEDIR)/alsa-utils.targetinstall:
@$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/aseqdump)
@$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/aseqnet)
+ @$(call install_tree, alsa-utils, 0, 0, -, /usr/share/alsa/)
+
ifdef PTXCONF_ALSA_UTILS_ALSAMIXER
@$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/alsamixer)
endif
--
1.7.2.5
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH] alsa-utils: add /usr/share/alsa/ dir
2012-09-19 9:10 [ptxdist] [PATCH] alsa-utils: add /usr/share/alsa/ dir Christoph Fritz
@ 2012-09-19 9:43 ` Juergen Beisert
2012-09-19 10:47 ` Jan Weitzel
1 sibling, 0 replies; 3+ messages in thread
From: Juergen Beisert @ 2012-09-19 9:43 UTC (permalink / raw)
To: Christoph Fritz; +Cc: ptxdist
Hi Christoph,
Christoph Fritz wrote:
> This patch fixes error:
>
> restoring mixer state.../usr/sbin/alsactl: parse:1655: Unable to open file
> '/usr/share/alsa/init/00main': No such file or directory
>
> Same error as:
> https://bugs.busybox.net/show_bug.cgi?id=1573
> http://git.buildroot.net/buildroot/commit/?id=5ad2672470109ddea4c467a67b0d
>
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> ---
> rules/alsa-utils.make | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/rules/alsa-utils.make b/rules/alsa-utils.make
> index e62e3be..3b8ca14 100644
> --- a/rules/alsa-utils.make
> +++ b/rules/alsa-utils.make
> @@ -97,6 +97,8 @@ $(STATEDIR)/alsa-utils.targetinstall:
> @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/aseqdump)
> @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/aseqnet)
>
> + @$(call install_tree, alsa-utils, 0, 0, -, /usr/share/alsa/)
> +
Hmm, I'm using these tools on the Mini2440 and I have never seen such an error
message. The directory "/usr/share/alsa" itself is created within the package
alsa-lib.
> ifdef PTXCONF_ALSA_UTILS_ALSAMIXER
> @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/alsamixer)
> endif
I will have a closer look to this issue.
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | Phone: +49-5121-206917-5128 |
Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH] alsa-utils: add /usr/share/alsa/ dir
2012-09-19 9:10 [ptxdist] [PATCH] alsa-utils: add /usr/share/alsa/ dir Christoph Fritz
2012-09-19 9:43 ` Juergen Beisert
@ 2012-09-19 10:47 ` Jan Weitzel
1 sibling, 0 replies; 3+ messages in thread
From: Jan Weitzel @ 2012-09-19 10:47 UTC (permalink / raw)
To: ptxdist; +Cc: j.beisert, Michael Olbrich
Am Mittwoch, den 19.09.2012, 11:10 +0200 schrieb Christoph Fritz:
> This patch fixes error:
>
> restoring mixer state.../usr/sbin/alsactl: parse:1655: Unable to open file
> '/usr/share/alsa/init/00main': No such file or directory
This is only needed if you don't provide a valid asound.state. So I
would prefer a configuration option for this.
Jan
> Same error as:
> https://bugs.busybox.net/show_bug.cgi?id=1573
> http://git.buildroot.net/buildroot/commit/?id=5ad2672470109ddea4c467a67b0d
>
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> ---
> rules/alsa-utils.make | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/rules/alsa-utils.make b/rules/alsa-utils.make
> index e62e3be..3b8ca14 100644
> --- a/rules/alsa-utils.make
> +++ b/rules/alsa-utils.make
> @@ -97,6 +97,8 @@ $(STATEDIR)/alsa-utils.targetinstall:
> @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/aseqdump)
> @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/aseqnet)
>
> + @$(call install_tree, alsa-utils, 0, 0, -, /usr/share/alsa/)
> +
> ifdef PTXCONF_ALSA_UTILS_ALSAMIXER
> @$(call install_copy, alsa-utils, 0, 0, 0755, -, /usr/bin/alsamixer)
> endif
> --
> 1.7.2.5
>
>
>
>
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-19 10:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-19 9:10 [ptxdist] [PATCH] alsa-utils: add /usr/share/alsa/ dir Christoph Fritz
2012-09-19 9:43 ` Juergen Beisert
2012-09-19 10:47 ` Jan Weitzel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox