[pulseaudio-discuss] ALSA with UCM, localized names, nice icons and form factor
contact at paulk.fr
Thu Sep 22 16:07:23 UTC 2016
over the past few days, I have been working on integrating the Chromebook 13
CB5-311 from Acer with userspace ALSA and Pulseaudio. Support for it using the
alsa-mixer module is far from perfect, so I decided to go with ALSA UCM instead.
There are a few things that I currently can't get working with alsa-ucm as well
First, the device names are taken as provided from the UCM config and are not
localized. alsa-mixer.c's path_verify and option_verify functions provide
description maps that lead to using localized names for devices, which is much
nicer for users. I would like to have a similar feature for UCM. Can anyone
suggest a proper way to do this?
Also, alsa-mixer's configuration will provide a device.icon_name that is
appropriate for each type of device, which results in such nice icons being
displayed in e.g. GNOME's sound control settings. There is no mechanism in place
to have something equivalent with UCM. Can anyone suggest a proper way to get
Similarly, there is no way to report the form factor of a device, which is used
by e.g. GNOME-Shell volume control in the tray. It falls back to matching a
"headphone" string to decide whether to go with a headphones or speaker icon.
Note that there is no better way to do this in alsa-mixer and the only form
factors reported currently come from the udev module, that gets the info from
udev matching USB/PCI/etc device strings.
Paul Kocialkowski, developer of low-level free software for embedded devices
Coding blog: https://code.paulk.fr/
Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: This is a digitally signed message part
More information about the pulseaudio-discuss