How I fixed a 0..1 brightness slider in vdu_controls (Philips Evnia DDC/CI bug)
A bug in the vdu_controls application caused a Philips Evnia monitor's brightness slider to only show two values instead of a full 0–100 range. The issue stemmed from a malformed capability string in the monitor's DDC/CI communication and a regex error in the software. A fix was developed and merged into the upstream repository.
- ▪The Philips Evnia 27M2N5500Q monitor reported the brightness VCP code twice in its capability string, including once with invalid values.
- ▪The vdu_controls app used an unescaped '.' in a regex, causing it to misinterpret the brightness range as 0..1 instead of 0..100.
- ▪The bug was isolated to user-space Python code and did not affect the monitor's actual functionality, as confirmed by ddcutil.
- ▪A patch was submitted and merged in digitaltrails/vdu_controls#128 to resolve the parsing issue.
- ▪The fix included updates to the regex handling and added test coverage to prevent future regressions.
DEV.to (Top) files mainly under programming. We currently carry 4,924 of its stories.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Story provenance
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | DEV.to (Top) |
| Canonical URL | https://dev.to/mammar/how-i-fixed-a-01-brightness-slider-in-vducontrols-philips-evnia-ddcci-bug-4fdg |
| Publication time | Sat, 16 May 2026 21:11:26 +0000 |
| Retrieval time | 2026-05-16T21:40:19.062Z |
| Last seen | 2026-05-16T21:40:19.062Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | ZDIBl8PLVxt2 |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3935281) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Mohammed Elsayed Ammar Posted on May 16 • Originally published at mammar.pages.dev How I fixed a 0..1 brightness slider in vdu_controls (Philips Evnia DDC/CI bug) #linux #opensource #python #debugging I plugged a new monitor into my Kubuntu laptop last week. The brightness slider in the tray utility I use only had two settings: black, and almost-black. Not 0 to 100. Not a continuous gradient. Just two positions. The monitor itself was fine. The cable was fine.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).