----- Forwarded message from Matthias Apitz <g...@unixarea.de> ----- Date: Wed, 11 Apr 2012 15:09:03 +0200 From: Matthias Apitz <g...@unixarea.de> To: Radek Polak <pson...@seznam.cz> Cc: commun...@lists.openmoko.org Subject: Re: FR && audio subsystem: gsmhandset ... files
El día Wednesday, April 11, 2012 a las 02:47:34PM +0200, Radek Polak escribió: > > http://wiki.openmoko.org/wiki/Neo1973_audio_subsystem > > http://hnet.endofinternet.net/elektro/Freerunner/ALSA/sound_setting.html > > > > I'd like to have a general understanding and in detail how the > > gsmhandset (...) files are used in the FR, for example in the SHR > > distribution. > > Before you answer or make a call you do: > > alsactl -f gsmheadset.state restore > > and after hanging up do: > > alsactl -f stereoout.state restore > > I don't think there's any magic involved there... In theory I was thinking the same; I even renamed alsactl to alsactl.orig and created a shell wrapper /usr/sbin/alsactl which should log the args and call alsactl.orig to do the work; nothing appeared in my log file while doing a call.... 1. How this is done exactly (in SHR) and by which piece of software? 2. The SHR GUI while calling (see http://www.unixarea.de/Screenshot-7.png) has some sliders for Volume and Mic; and to enable the Speaker or mute the Mic... how do they work? Do they change 'gsmhandset' file? Thanks for your reply in any case! matthias -- Matthias Apitz e <g...@unixarea.de> - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 _______________________________________________ Openmoko community mailing list commun...@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ----- End forwarded message ----- _______________________________________________ Shr-devel mailing list Shr-devel@lists.shr-project.org http://lists.shr-project.org/mailman/listinfo/shr-devel