Fix errors when connecting Dell Alienware display to Linux laptop#193
Open
twasilczyk wants to merge 4 commits into
Open
Fix errors when connecting Dell Alienware display to Linux laptop#193twasilczyk wants to merge 4 commits into
twasilczyk wants to merge 4 commits into
Conversation
Before: [INFO] Display 'DEL AW2725Q' is currently set to Custom(0xf0f) After: [INFO] Display 'DEL AW2725Q' is currently set to DisplayPort1(0xf)
This is reducing error log spam, but it was also breaking logic on no DDC-compatible displays. Before: [INFO] Configuration loaded ... [ERROR] Failed to get current input for display 'SDC': DDC/CI I2C error: Remote I/O error (os error 121) After: [INFO] Configuration loaded ... [INFO] Skipping built-in laptop display 'SDC' on connector 'card1-eDP-1' [WARN] Did not detect any DDC-compatible displays. Retrying after 3 second(s)... [ERROR] Did not detect any DDC-compatible displays!
Before:
[ERROR] Permission denied
After:
[WARN] Couldn't wake displays: can't open default uinput device
Caused by:
Permission denied
Some monitors return null responses (0x6E 0x80 0xBE) on failures or glitches. One such glitch
regularily happens on Dell Alienware monitor if display-switch is running on two computers with both
connect and disconnect events configured. This results in a single flicker when we try to set the
same input twice.
Before:
[INFO] Monitored device ("24f0:0140") is connected
[WARN] Failed to get current input for display 'DEL AW2725Q': DDC/CI error: invalid DDC/CI length
[INFO] Display 'DEL AW2725Q' set to DisplayPort1(0xf)
After:
[INFO] Monitored device ("24f0:0140") is connected
[INFO] Display 'DEL AW2725Q' is already set to DisplayPort1(0xf)
twasilczyk
commented
Apr 17, 2026
Author
There was a problem hiding this comment.
@haimgel please let me know if you'd want me to move added functions from Filter out laptop displays diff to a separate source file (display_enumeration.rs?).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These commits fix all log errors and warnings I had when tried using Dell monitor with Linux/Windows laptop and Windows workstation.