diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-01 20:34:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-01 21:38:22 +0100 |
commit | 784ac5b0da4f510232166406b3166fba0bef58e4 (patch) | |
tree | b46c92114f90ed796729d978001ebc14c8481202 /src/modules/hal-util.c | |
parent | cc8d51ad629891b5eb6b355c999c1c1b7e3fb34e (diff) |
get additional device data from udev
Diffstat (limited to 'src/modules/hal-util.c')
-rw-r--r-- | src/modules/hal-util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/hal-util.c b/src/modules/hal-util.c index 82bbc57e..6959a706 100644 --- a/src/modules/hal-util.c +++ b/src/modules/hal-util.c @@ -89,6 +89,9 @@ int pa_hal_get_info(pa_core *core, pa_proplist *p, int card) { pa_proplist_sets(p, "hal.udi", udis[i]); + /* The data HAL stores in info.product is not actually a product + * string but simply the ALSA card name. We will hence not write + * it to PA_PROP_DEVICE_PRODUCT_NAME */ t = libhal_device_get_property_string(hal, udis[i], "info.product", &error); if (dbus_error_is_set(&error)) dbus_error_free(&error); |