Audio settingns for next release.

Mattes Sarcander info at risom.de
Wed Jul 14 02:14:10 EDT 2010


Xiangfu Liu <xiangfu at sharism.cc> wrote:

> On 07/14/2010 12:26 AM, Mattes Sarcander wrote:
> > Rafael Ignacio Zurita<rafaelignacio.zurita at gmail.com>  wrote:
> >
> >> On Tue, Jul 13, 2010 at 11:26:40PM +0800, Xiangfu Liu wrote:
> >>> On 07/13/2010 08:35 PM, Mattes Sarcander wrote:
> >>>> Hi,
> >>>>
> >>>> while I don't know the proper openwrt way either, putting the
> >>>> command into /etc/rc.local seems to do the trick for now. Perhaps
> >>>> it's possible to change that file accordingly for the next
> >>>> release?
> >>>>
> >>>> cheers,
> >>>> Mattes (proud new ben nanonote owner for half a week now :))
> >>>>
> >>>
> >>> Hi Mattes
> >>>
> >>> problem is the /etc/rc.local is called before the sound module
> >>> load to kernel. so if we add 'alsactl restore' to /etc/rc.local.
> >>> the alsactl will not work correct.
> >>
> >> Is not /etc/rc.local the last script run?
> >
> > I think so. And it works fine on my ben (latest official firmware).
> >
> > Mattes
> 
> Hi all
> oh. I will test again. maybe I make some mistake. :)
> what about 'alsactl store'?

Hi,
I did 'alsactl store' manually before. It created a file with the
current alsamixer state in /etc/asound.state in plain text (I think).
Perhaps we could just take the asound.state of an unmuted ben and put
that file into the firmware image. Then the automatically called
'alsactl restore' should work from the start.

cheers,
Mattes


-- 

http://risom.de
http://cryptocd.org




More information about the discussion mailing list


interactive