ucm: add ValueGlobals section to the top configuration file

BootCardGroup and BootCardSyncTime variables should not be listed
by default in _identifiers. Handle them differently using
ValueGlobals section.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2025-12-01 16:39:15 +01:00
parent 5ed27d8e89
commit 66dfd40e8f
5 changed files with 27 additions and 9 deletions

View file

@ -464,7 +464,7 @@ boot).
#### Boot Synchronization (Syntax 8+)
The *BootCardGroup* value in *ValueDefaults* allows multiple sound cards to coordinate
The *BootCardGroup* value in *ValueGlobals* allows multiple sound cards to coordinate
their boot sequences. This value is detected at boot (alsactl/udev/systemd) time. Boot
tools can provide boot synchronization information through a control element named
'Boot' with 64-bit integer type. When present, the UCM library uses this control element
@ -477,7 +477,7 @@ The 'Boot' control element contains:
The UCM open call waits until the boot timeout has passed or until restore state
is notified through the synchronization Boot element. The timeout defaults to 30 seconds
and can be customized using 'BootCardSyncTime' in 'ValueDefaults' (maximum 240 seconds).
and can be customized using 'BootCardSyncTime' in 'ValueGlobals' (maximum 240 seconds).
If the 'Boot' control element is not present, no boot synchronization is performed.
@ -488,7 +488,7 @@ cards appropriately.
Example configuration:
~~~{.html}
ValueDefaults {
ValueGlobals {
BootCardGroup "amd-acp"
BootCardSyncTime 10 # seconds
}