Comments (2)
Yeah, your issue is not exactly the same, but related. It makes sense to do what you're proposing here (thanks for the PR!), and hopefully I'll expand on that in the future.
from display-switch.
My setup:
Macbook (closed lid) -
\
--> KVM --> External display on DisplayPort1
/
Linux desktop --------
When switching from Linux to Mac the external display will sometimes not wake-up. I have found that display-switch can help workaround this flakiness by sending a DDC input switch command (even though only one input is connected). My display-switch.ini is as follows:
usb_device = "1532:0e03"
on_usb_connect = "DisplayPort1"
The monitor is connected to the KVM via DisplayPort1, and there are no other display cables attached to the monitor.
This workaround seems to work. (Though there are some issues WRT the timing of the DDC input-switch command, which I hope can be improved via the addition of a retry mechanic to display-switch. Please see #48). I wonder if implementing this issue as stated in the description would make this use case no longer viable?
If already on the desired input, do nothing.
Perhaps the behaviour above could be toggled by a setting, as I believe that sending a "redundant" input-switch command has the pleasant side-effect of fixing the wake-up issue with my Macbook. Incidentally, this issue seems somewhat common with Macbook + KVMs. I'm using a Level1tech's KVM and would like to suggest display-switch as a solution to others experiencing these issues.
from display-switch.
Related Issues (20)
- rusb callbacks never hit on macOS 12.4 HOT 1
- Doesn't open on Windows HOT 1
- main branch build fails with --locked because version differs between Cargo.toml and Cargo.lock HOT 1
- DDC error, even though I am not even trying to control a DDC monitor HOT 1
- Dual display setup with unconfigured monitor throwing an error HOT 2
- 100% CPU usage on Linux HOT 1
- Daisy chaining 2 displays with only 1 that supports DDC drops the second monitor when changing HOT 3
- `build.rs`'s `rerun-if-changed` directives don't expand `*.swift` HOT 1
- [Question] I'm considering user-friendly crossplatform UI. Anything already in the works? HOT 2
- [Question] Does this require installation? HOT 1
- [linux] laptop connected to dual monitors via a dock HOT 1
- Arch linux needs newer ddc-i2c HOT 1
- Switch on system (Application) boot HOT 1
- FR expand ~ in on_usb_connect_execute HOT 1
- USB Monitor Controls
- 1.3.0 on Windows doesn't detect USB changes HOT 2
- Support multiple command executions with `on_usb_<event>_execute` HOT 1
- Error when installing and no .ini or log files?
- Sceptre C35 InputSources
- index out of bounds HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from display-switch.