Skip to content

Fix errors when connecting Dell Alienware display to Linux laptop#193

Open
twasilczyk wants to merge 4 commits into
haimgel:mainfrom
twasilczyk:main
Open

Fix errors when connecting Dell Alienware display to Linux laptop#193
twasilczyk wants to merge 4 commits into
haimgel:mainfrom
twasilczyk:main

Conversation

@twasilczyk
Copy link
Copy Markdown

These commits fix all log errors and warnings I had when tried using Dell monitor with Linux/Windows laptop and Windows workstation.

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 twasilczyk requested a review from haimgel as a code owner April 17, 2026 05:38
Copy link
Copy Markdown
Author

@twasilczyk twasilczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant