summaryrefslogtreecommitdiff
path: root/doc/pictures/ucm-seq-boot.svg
blob: 867c817ed67a8afcaf4c309c5ddfa2dd746b0b30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="508px" preserveAspectRatio="none" style="width:500px;height:508px;background:#FFFFFF;" version="1.1" viewBox="0 0 500 508" width="500px" zoomAndPan="magnify"><defs/><g><rect height="26.2969" style="stroke:#00000000;stroke-width:1.0;fill:none;" width="411" x="43" y="15"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="401" x="48" y="32.9951">UCM sequence boot order (using udev and alsactl)</text><ellipse cx="215.5" cy="57.2969" fill="#222222" rx="10" ry="10" style="stroke:#222222;stroke-width:1.0;"/><rect fill="#F1F1F1" height="33.9688" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="197" x="117" y="87.2969"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="177" x="127" y="108.4355">Sound card detected (udev)</text><rect fill="#F1F1F1" height="33.9688" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="179" x="126" y="141.2656"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="159" x="136" y="162.4043">UCM: FixedBootSequence</text><polygon fill="#F1F1F1" points="106.5,195.2344,324.5,195.2344,336.5,207.2344,324.5,219.2344,106.5,219.2344,94.5,207.2344,106.5,195.2344" style="stroke:#181818;stroke-width:0.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="218" x="106.5" y="211.0425">Card state (/var/lib/alsa/asound.state)</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="66" x="28.5" y="204.6401">not present</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="44" x="336.5" y="204.6401">present</text><rect fill="#F1F1F1" height="33.9688" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="147" x="11" y="229.2344"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="21" y="250.373">UCM: BootSequence</text><rect fill="#F1F1F1" height="33.9688" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="285" x="204" y="229.2344"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="265" x="214" y="250.373">alsactl: Restore state (from asound.state)</text><polygon fill="#F1F1F1" points="215.5,269.2031,227.5,281.2031,215.5,293.2031,203.5,281.2031,215.5,269.2031" style="stroke:#181818;stroke-width:0.5;"/><rect fill="#F1F1F1" height="33.9688" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="317" x="57" y="313.2031"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="297" x="67" y="334.3418">Standard sound card use (with or without UCM)</text><rect fill="#F1F1F1" height="33.9688" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="260" x="85.5" y="367.1719"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="240" x="95.5" y="388.3105">Save sound card state (asound.state)</text><rect fill="#F1F1F1" height="33.9688" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="156" x="137.5" y="421.1406"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="136" x="147.5" y="442.2793">Sound card detached</text><ellipse cx="215.5" cy="486.1094" rx="11" ry="11" style="stroke:#222222;stroke-width:1.0;fill:none;"/><ellipse cx="215.5" cy="486.1094" fill="#222222" rx="6" ry="6" style="stroke:#111111;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="215.5" x2="215.5" y1="67.2969" y2="87.2969"/><polygon fill="#181818" points="211.5,77.2969,215.5,87.2969,219.5,77.2969,215.5,81.2969" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="215.5" x2="215.5" y1="121.2656" y2="141.2656"/><polygon fill="#181818" points="211.5,131.2656,215.5,141.2656,219.5,131.2656,215.5,135.2656" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="94.5" x2="84.5" y1="207.2344" y2="207.2344"/><line style="stroke:#181818;stroke-width:1.0;" x1="84.5" x2="84.5" y1="207.2344" y2="229.2344"/><polygon fill="#181818" points="80.5,219.2344,84.5,229.2344,88.5,219.2344,84.5,223.2344" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="336.5" x2="346.5" y1="207.2344" y2="207.2344"/><line style="stroke:#181818;stroke-width:1.0;" x1="346.5" x2="346.5" y1="207.2344" y2="229.2344"/><polygon fill="#181818" points="342.5,219.2344,346.5,229.2344,350.5,219.2344,346.5,223.2344" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="84.5" x2="84.5" y1="263.2031" y2="281.2031"/><line style="stroke:#181818;stroke-width:1.0;" x1="84.5" x2="203.5" y1="281.2031" y2="281.2031"/><polygon fill="#181818" points="193.5,277.2031,203.5,281.2031,193.5,285.2031,197.5,281.2031" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="346.5" x2="346.5" y1="263.2031" y2="281.2031"/><line style="stroke:#181818;stroke-width:1.0;" x1="346.5" x2="227.5" y1="281.2031" y2="281.2031"/><polygon fill="#181818" points="237.5,277.2031,227.5,281.2031,237.5,285.2031,233.5,281.2031" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="215.5" x2="215.5" y1="175.2344" y2="195.2344"/><polygon fill="#181818" points="211.5,185.2344,215.5,195.2344,219.5,185.2344,215.5,189.2344" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="215.5" x2="215.5" y1="293.2031" y2="313.2031"/><polygon fill="#181818" points="211.5,303.2031,215.5,313.2031,219.5,303.2031,215.5,307.2031" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="215.5" x2="215.5" y1="347.1719" y2="367.1719"/><polygon fill="#181818" points="211.5,357.1719,215.5,367.1719,219.5,357.1719,215.5,361.1719" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="215.5" x2="215.5" y1="401.1406" y2="421.1406"/><polygon fill="#181818" points="211.5,411.1406,215.5,421.1406,219.5,411.1406,215.5,415.1406" style="stroke:#181818;stroke-width:1.0;"/><line style="stroke:#181818;stroke-width:1.0;" x1="215.5" x2="215.5" y1="455.1094" y2="475.1094"/><polygon fill="#181818" points="211.5,465.1094,215.5,475.1094,219.5,465.1094,215.5,469.1094" style="stroke:#181818;stroke-width:1.0;"/><!--MD5=[e09ca9f4b18fe6c64001e568b14569ed]
@startuml
title "UCM sequence boot order (using udev and alsactl)"

start
:Sound card detected (udev);
:UCM: FixedBootSequence;
if (Card state (/var/lib/alsa/asound.state)) then (not present)
  :UCM: BootSequence;
else (present)
  :alsactl: Restore state (from asound.state);
endif
:Standard sound card use (with or without UCM);
:Save sound card state (asound.state);
:Sound card detached;
stop

@enduml

PlantUML version 1.2022.5(Sat Apr 30 12:55:52 CEST 2022)
(LGPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: UTF-8
Language: cs
Country: CZ
--></g></svg>