Am 12.07.2012 16:59, schrieb Juergen Beisert:
Hi Tom,

tom wrote:
I would like to store my alsa mixer state with
$ alsactl store
permanently!

It prevents this message at start-up -
"restoring mixer state...no /etc/asound.state, aborting"
- an restoring my "basic setup"!

I have no sound working on my Mini6410. So, I cannot reproduce it.

This already works for me ;-) You remember my "6410 sound" Post....!?
Now I playing around with other ASOC and USB CODECS - to see who gives me the lowest latency at 48kHz@24Bit .....

In the next step I copied it to:
./configs/platform-friendlyarm-mini6410/projectroot/etc/asound.state
Hope that this is the right place ;-)

Your "asound.state" is for the Mini6410 platform. So: yes.
;-)

If I running:
$ ptxdist clean root
$ ptxdist images
the /etc/asound.state does not exist in the target root!

Some changes in other Files like /etc/fstab are deployed...

Seems that no rule exists with 'install_alternative' anywhere!

In older PTXdist versions: yes.

Why do you remove it in the newer once?
It's a good Place for a default setup.....

alsactl is part of the alsa-utils - so I guess this is the right rule I
have to change?
But how to manage this??

Take a look into the rule file (alsa-utils.make) and search for the
string "/etc/asound.state". You should find it in the targetinstall stage.
And this line is only activated if PTXCONF_ALSA_UTILS_ASOUND_STATE is
enabled. Did you enable it in your menuconfig?

Great that's the point  - many thanks!!!!

"restoring mixer state...done"

ToM


Reply via email to