* ucm: fix optional include
[not found] <alsa-project/alsa-lib/pr/499@alsa-project.org>
@ 2026-03-18 11:47 ` GitHub pull_request - opened
0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2026-03-18 11:47 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib pull request #499 was opened from hyx0329:
The path is not an absolute path and can't be used with `access()`. Let's call `uc_mgr_config_load_file()` directly and mask acceptable error numbers. "conf.d in USB-Audio" needs this fix.
A small issue with current solution is verbose error message while it's okay. Example:
```
ALSA lib utils.c:XXX:(uc_mgr_config_load_into) [error.ucm] could not open configuration file /usr/share/alsa/ucm2/USB-Audio/conf.d/abcd-1234.conf
ALSA lib parser.c:XXX:(uc_mgr_config_load_file) [error.ucm] failed to open file /usr/share/alsa/ucm2/USB-Audio/conf.d/abcd-1234.conf: -2
```
Request URL : https://github.com/alsa-project/alsa-lib/pull/499
Patch URL : https://github.com/alsa-project/alsa-lib/pull/499.patch
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-18 11:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <alsa-project/alsa-lib/pr/499@alsa-project.org>
2026-03-18 11:47 ` ucm: fix optional include GitHub pull_request - opened
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox