kfix / ddcctl

DDC monitor controls (brightness) for Mac OSX command line
GNU General Public License v3.0
1.85k stars 151 forks source link

[Feature Request] PIP/PBP Mode selection #93

Open brunbjoern opened 3 years ago

brunbjoern commented 3 years ago

I would really like to see the possibility to select PIP/PBP modes via CLI. This would be really handy. Don't know if this is possible via DDC.

itxch commented 3 years ago

I managed to do this with a Dell U4919DW. But I would assume it would depend on your monitor. What I did was download this program ControlMyMonitor. This allows you to see the VCP codes. I saved the ones it showed me. Enabled VCP mode and saved another copy of the codes. This showed me that the code for enabling PBP mode was E9 (0xe9) and for selected the secondary input E8 (0xe8) is used. I than added this to ddcctl on my mac and rebuilt it, works flawlessly now.

Would be happy to assist. You can also download the tool from my fork. and use the -pbp flag with a value of 36 to enable PBP mode. But of course, your mileage may vary.

My fork: https://github.com/itxchh/ddcctl

pleonard212 commented 3 years ago

Just a note to say the above-mentioned fork (and its default -pbp setting of 36) also works with the Dell U3818DW.

mvictoras commented 1 year ago

@kfix could we merge this? @itxch could you create a merge request?

davidkennedydev commented 1 month ago

Is there any update on this?

itxch commented 1 month ago

Hi @davidkennedydev have you tried using the fork? How did it work for you?

itxch commented 1 month ago

@mvictoras well this is me over a year a later - I am happy to raise a PR with the changes