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. > 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. > 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? Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
