At Tue, 27 Jun 2006 15:22:30 +0100, Barry Scott wrote: > > Takashi Iwai wrote: > > At Tue, 27 Jun 2006 15:12:46 +0100, > > Barry Scott wrote: > > > >> Takashi Iwai wrote: > >> > >>> At Tue, 27 Jun 2006 12:54:05 +0100, > >>> Barry Scott wrote: > >>> > >>> > >>>> I'm using 21.6.17.1 with v1.0.12rc1 drivers, libs and utils on FC4. > >>>> alsamixer reports that the Chip is Realtek ALC260. > >>>> > >>>> Both amixer and alsamixer show that the PCM control is missing after > >>>> booting. > >>>> After playing a wav file with aplay the PCM control shows up in both > >>>> amixer and alsamixer. > >>>> > >>>> Is there something I need to configure or is this a bug in1.0.12rc1? > >>>> > >>>> > >>> The PCM volume is added dynamically by alsa-lib softvol plugin. > >>> Usually your system stores/restores the mixer status so that the PCM > >>> volume reappears again at the next boot. > >>> > >>> > >>> Takashi > >>> > >>> > >> What is it that I need to setup to turn on the PCM? The "system" is me > >> and this > >> is a new setup requirement that I have not seen before. > >> > > > > "alsactl store" at shutdown and "alsactl restore" at boot will recover > > the last mixer status. This also automatically recovers the > > user-space element like "PCM". > > > > How the call of alsactl is implement depends on the distro. > > (E.g. via udev or init script or modprobe hook) > > > > > > Takashi > > > The piece of information I'm missing is how to add PCM in the first place. > What command do I need to issue to add PCM? Play something :) Even the below aplay </dev/null would be enough (although aplay tells an error). More exactly, when you call snd_pcm_open() with "default" PCM device, it'll be added. Takashi Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel