[alsa-devel] [PATCH - amixer] listen to D-Bus for volume-up, volume-down and mute signals.

Lukasz Stelmach stlman at poczta.fm
Mon Aug 3 19:29:17 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lennart Poettering pisze:
> On Mon, 03.08.09 14:13, Takashi Iwai (tiwai at suse.de) 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". These
>>>>> are emmited by the HAL input helper. 
[...]
> Also, HAL is obsoleted by udev these days. Adding new HAL support to
> software at this point in time is certainly a bad idea. On Fedora 12
> we have now considerably dumbed down HAL. It is only shipped as compat
> kludge for user applications. And with other distros this isn't much diffrent:
> 
> https://wiki.ubuntu.com/Halsectomy

I must have been living under a stone. OK I see this is rather strong
point. In fact it seems reasonable to do that stuff in udev, though,
I liked HAL D-Bus interfaces.

> Finally, stuff like this really belongs in the user sessions so that
> OSD feedback and so on can be shown.

I knew I've forgotten something. XOSD!

> In fact most desktops do include a tool for this anyway.

I don't use any of the bloated desktop environments and I couldn't
find a tool that does the job. Can you name one and I promise
I won't trouble any one here with my ideas. If you don't... I won't
be bothering you too much either ;-)

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

iEYEARECAAYFAkp3Hm0ACgkQNdzY8sm9K9ySCwCeJy4oxvK3ACoe7/ABNTm/rl3O
jbYAnAjluQcKpa1UC5toLgzF2jnLt4qL
=Il+R
-----END PGP SIGNATURE-----


----------------------------------------------------------------------
Zostan Dziewczyna lub Chlopakiem lata!
Wygraj skuter >> http://link.interia.pl/f22a7 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stlman.vcf
Type: text/x-vcard
Size: 176 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090803/8c0e270b/attachment.bin 


More information about the Alsa-devel mailing list