Commit 6b0832e
committed
fix: unreliable udev permissions on Fedora Atomic + centralize sysfs attribute definitions
Fixed:
1. Boot-time platform_profile/no_turbo permissions on Bazzite/Fedora Atomic where intel_pstate is built-in and module add events never fire — added redundant asus-nb-wmi driver load triggers to udev rules
2. Phantom ENODEV on dual-backend machines — SysfsHelper now prefers firmware-attributes over legacy paths for aliased attributes (ppt_fppt→ppt_pl3_fppt, panel_od→panel_overdrive)
3. Redundant panel_overdrive fallback in Get/SetPanelOverdrive — now handled transparently by AttrDef alias system
4. Missing udev rules for ppt_apu_sppt, ppt_platform_sppt, egpu_enable, boot_sound
Added:
1. AsusAttributes centralized registry — all 16 ASUS WMI sysfs attributes defined as AttrDef objects with legacy/firmware-attributes name mapping, replacing hardcoded strings across LinuxAsusWmi, ModeControl, FansWindow, ExtraWindow, MainWindow, and Diagnostics
2. Versioned udev rules — VERSION_PLACEHOLDER stamp in rules header, CI stamps real version during release, rules uploaded as release artifact
3. Udev rules version reporting and mismatch detection in diagnostics
4. In-memory 1000-line thread-safe log ring buffer — diagnostics report now includes recent log history so users can provide logs without running from terminal
5. Enhanced dual-backend diagnostics — SysfsHelper logs firmware-attributes preference over phantom legacy paths, diagnostics iterate all 16 attrs (was 10) with alias annotations
6. Hide GPU panel when no discrete GPU is present
CI:
- Add udev-rules artifact upload step to build job
- Replace GitHub-login-required artifact links with nightly.link public URLs
- Add installation instructions for AppImage, native binary, and udev rules
- .csproj version stamp now uses 0.0.0-pr.{N} format instead of bare 0.0.0
- New step stamps VERSION_PLACEHOLDER in udev rules with same PR version
- Comment job downloads all artifacts, bundles into single g-helper-linux-pr-{N} zip
- Rewritten PR comment with single download link, contents table, and unzip instructions
- include short SHA in versioning for PR builds and udev rules1 parent 33ed511 commit 6b0832e
File tree
14 files changed
+516
-109
lines changed- .github/workflows
- install
- src
- Helpers
- Mode
- Platform/Linux
- UI/Views
14 files changed
+516
-109
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
| |||
52 | 60 | | |
53 | 61 | | |
54 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
55 | 70 | | |
56 | 71 | | |
57 | 72 | | |
| |||
111 | 126 | | |
112 | 127 | | |
113 | 128 | | |
114 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
115 | 152 | | |
116 | 153 | | |
117 | 154 | | |
118 | 155 | | |
119 | 156 | | |
120 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
121 | 163 | | |
122 | 164 | | |
123 | 165 | | |
124 | | - | |
| 166 | + | |
125 | 167 | | |
126 | | - | |
| 168 | + | |
127 | 169 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
133 | 187 | | |
134 | 188 | | |
135 | 189 | | |
136 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
137 | 196 | | |
138 | 197 | | |
| 198 | + | |
139 | 199 | | |
140 | | - | |
| 200 | + | |
| 201 | + | |
141 | 202 | | |
142 | 203 | | |
143 | 204 | | |
144 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
145 | 214 | | |
146 | 215 | | |
147 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
| |||
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
87 | 101 | | |
88 | 102 | | |
89 | 103 | | |
| |||
161 | 175 | | |
162 | 176 | | |
163 | 177 | | |
| 178 | + | |
164 | 179 | | |
165 | 180 | | |
166 | 181 | | |
| |||
211 | 226 | | |
212 | 227 | | |
213 | 228 | | |
214 | | - | |
| 229 | + | |
215 | 230 | | |
216 | 231 | | |
217 | 232 | | |
| |||
222 | 237 | | |
223 | 238 | | |
224 | 239 | | |
| 240 | + | |
225 | 241 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
38 | 66 | | |
39 | 67 | | |
40 | 68 | | |
| |||
80 | 108 | | |
81 | 109 | | |
82 | 110 | | |
83 | | - | |
| 111 | + | |
84 | 112 | | |
85 | 113 | | |
86 | 114 | | |
87 | | - | |
| 115 | + | |
88 | 116 | | |
89 | 117 | | |
90 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
91 | 124 | | |
92 | 125 | | |
93 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
600 | | - | |
| 600 | + | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
615 | | - | |
| 615 | + | |
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
| |||
0 commit comments