Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a genuine second display port (AW2725DF) for DisplayPort2 rather than a USB-C connection doesn't seem to work #157

Open
markhagemann opened this issue Dec 24, 2024 · 0 comments

Comments

@markhagemann
Copy link

Config below

usb_device = "05e3:0610"

[monitor1]
monitor_id="AW2725DF"
on_usb_connect = "DisplayPort1"
on_usb_disconnect = "DisplayPort2"
on_usb_connect_execute = "echo DisplayPort1 activated"
on_usb_disconnect_execute = "echo DisplayPort2 activated"

Logs:

Dec 24 10:15:59 drache display_switch[35114]: 00:15:59 [INFO] display-switch v1.4.0 built on 2024-12-02T02:06:04.414143986Z from git 1.4.0-6-g433946c
Dec 24 10:15:59 drache display_switch[35114]: 00:15:59 [INFO] Configuration loaded ("/home/drache/.config/display-switch/display-switch.ini"): Config>
Dec 24 10:16:00 drache display_switch[35114]: 00:16:00 [ERROR] Failed to get current input for display 'DEL Dell AW2721D #GjMYMxgwABQF': DDC/CI I2C e>
Dec 24 10:16:00 drache display_switch[35114]: 00:16:00 [INFO] Display 'DEL AW2725DF 8755ZZ3' is currently set to Custom(0xf0f)
Dec 24 10:16:00 drache display_switch[35114]: 00:16:00 [INFO] Monitored device ("05e3:0610") is connected
Dec 24 10:16:00 drache display_switch[35114]: 00:16:00 [INFO] Display 'DEL Dell AW2721D #GjMYMxgwABQF' is not configured to switch on USB connect
Dec 24 10:16:00 drache display_switch[35114]: 00:16:00 [INFO] Display 'DEL AW2725DF 8755ZZ3' is already set to DisplayPort1(0xf)
Dec 24 10:16:00 drache display_switch[35114]: 00:16:00 [INFO] External command 'echo DisplayPort1 activated' executed successfully
Dec 24 10:16:02 drache display_switch[35114]: 00:16:02 [INFO] Monitored device is ("05e3:0610") is disconnected
Dec 24 10:16:03 drache display_switch[35114]: 00:16:03 [INFO] Display 'DEL Dell AW2721D #GjMYMxgwABQF' is not configured to switch on USB disconnect
Dec 24 10:16:03 drache display_switch[35114]: 00:16:03 [INFO] Display 'DEL AW2725DF 8755ZZ3' set to DisplayPort2(0x10)
Dec 24 10:16:03 drache display_switch[35114]: 00:16:03 [INFO] External command 'echo DisplayPort2 activated' executed successfully

It reports as though it toggles the monitor successfully but it's actually still on DisplayPort1. If I change this to use Hdmi1 instead of DisplayPort2 it will work so the configuration is okay.

I am guessing I will need to get the hex code for the input instead.

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

No branches or pull requests

1 participant