FR && audio subsystem: gsmhandset ... files

Matthias Apitz guru at unixarea.de
Thu Apr 12 14:27:59 CEST 2012


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 at 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 at 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 <guru at 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



More information about the community mailing list