From: Lukasz Stelmach <stlman@poczta.fm>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH - amixer] listen to D-Bus for volume-up, volume-down and mute signals.
Date: Mon, 03 Aug 2009 19:07:05 +0200 [thread overview]
Message-ID: <4A771939.3030001@poczta.fm> (raw)
In-Reply-To: <s5hiqh5ccyr.wl%tiwai@suse.de>
[-- Attachment #1: Type: text/plain, Size: 2415 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Takashi Iwai pisze:
> At Mon, 03 Aug 2009 14:04:09 +0200,
> Lukasz Stelmach wrote:
>> Takashi Iwai pisze:
>>> At Mon, 3 Aug 2009 12:43:21 +0200,
>>> Łukasz Stelmach wrote:
>>>> The patch introduces D-Bus support in amixer. With --dbus option given amixer
>>>> works continiously (like with the --stdin) waiting for
>>>> org.freedesktop.Hal.Device.Condition with the first argument "ButtonPressed"
>>>> and the second being one of: "volume-up", "volume-down" and "mute".
[...]
>>>> Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
>>> Thanks for the patch.
>>>
>>> The approach is interesting, but I'm not sure whether we should put
>>> all into amixer in this way since we don't want extra library
>>> dependency. (Note: amixer could be used in initrd.)
>>> I think it's better to split the code and make it as an individual
>>> daemon instead of additional options of amixer.
>> No worries ;) there is --with(out)--dbus option for configure to
>> disable all this code which is enough for initrd because most often
>> (AFAIK) initrd binaries are not the same that in the live system.
>
> Usually same binaries are used for initrd nowadays in many distros.
> So, configure option doesn't help.
Makefile rules to build two different executable files?
> And, I really prefer this as a separate daemon, so it be as small as
> possible.
I've done some testing with all the code unused in dbus scenario
ifdefed out and it was not any smaller than full a mixer with
the patch. In fact I haven't tried to hard to understand all the
string parsing and control code, however, there doesn't seem
to be much to throw out if one wants a flexible D-Bus only tool.
> Seeing amixer as a daemon is somewhat strange...
What about --stdin option?
- --
Było mi bardzo miło. Czwarta pospolita klęska, [...]
>Łukasz< Już nie katolicka lecz złodziejska. (c)PP
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkp3GTkACgkQNdzY8sm9K9xvdgCgh4oQzK7hbkPIbe+pLPbz89ha
ohwAnifsxiAZ1LraJzjdFPjdtR6XWL5k
=fjE8
-----END PGP SIGNATURE-----
----------------------------------------------------------------------
Zostan Dziewczyna lub Chlopakiem lata!
Wygraj skuter >> http://link.interia.pl/f22a7
[-- Attachment #2: stlman.vcf --]
[-- Type: text/x-vcard, Size: 177 bytes --]
begin:vcard
fn;quoted-printable:=C5=81ukasz Stelmach
n;quoted-printable:Stelmach;=C5=81ukasz
email;internet:stlman@poczta.fm
x-mozilla-html:FALSE
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
prev parent reply other threads:[~2009-08-03 22:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-03 10:43 [PATCH - amixer] listen to D-Bus for volume-up, volume-down and mute signals Łukasz Stelmach
2009-08-03 10:51 ` Takashi Iwai
2009-08-03 12:04 ` Lukasz Stelmach
2009-08-03 12:13 ` Takashi Iwai
2009-08-03 12:17 ` Mark Brown
2009-08-03 16:59 ` Lukasz Stelmach
2009-08-03 17:02 ` Mark Brown
2009-08-03 17:34 ` Lukasz Stelmach
2009-08-03 19:29 ` Liam Girdwood
2009-08-03 16:29 ` Lennart Poettering
2009-08-03 17:29 ` Lukasz Stelmach
2009-08-05 12:58 ` Lennart Poettering
2009-08-05 15:58 ` Colin Guthrie
2009-08-03 17:07 ` Lukasz Stelmach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A771939.3030001@poczta.fm \
--to=stlman@poczta.fm \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox