El día Wednesday, April 11, 2012 a las 08:39:52PM +0200, Simon Busch escribió:
> > 1. How this is done exactly (in SHR) and by which piece of software? > > It's done by fsodeviced (the router_alsa plugi) or fsoaudiod and is > initiated by libphone-ui. > > > 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? > > No. The SHR UI directly adjusts the mixer settings of the ALSA sound > card here. In /etc/phonefsod.conf or /etc/phoneuid.conf is written down > which name this control have. I made a call to my desk phone and moved the slider for Volume; the gsmhandset file changed: before call: root@om-gta02 ~ # ls -l /etc/freesmartphone/conf/openmoko_gta/alsa-2.6.29/gsmhandset -r--r--r-- 1 root root 2906 Apr 11 12:18 /etc/freesmartphone/conf/openmoko_gta/alsa-2.6.29/gsmhandset after call: root@om-gta02 ~ # ls -l /etc/freesmartphone/conf/openmoko_gta/alsa-2.6.29/gsmhandset -r--r--r-- 1 root root 2906 Apr 12 14:20 /etc/freesmartphone/conf/openmoko_gta/alsa-2.6.29/gsmhandset diff shows: -4:'Speaker Playback Volume':2:106,106 +4:'Speaker Playback Volume':2:115,115 Thanks 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 community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community