rockowitz / ddcutil

Control monitor settings using DDC/CI and USB
http://www.ddcutil.com
GNU General Public License v2.0
946 stars 38 forks source link

Can't swich monitor input. #404

Open WaflanCZ opened 5 months ago

WaflanCZ commented 5 months ago

[Uploading sudo_ddcutil_interrogate.txt…]() Hi, I am trying to swich monitor input but it just dosent work. First I had a problem with plasma 6, that I resolved with --disable-cross-instance-locks. But it still dosent work.

ddcutil --bus 6 capabilities --disable-cross-instance-locks
Unable to open directory /sys/devices/pci0000:00/0000:00:03.2/0000:0c:00.0/drm: No such file or directory
Model: WK95U
MCCS version: 2.1
Commands:
   Op Code: 01 (VCP Request)
   Op Code: 02 (VCP Response)
   Op Code: 03 (VCP Set)
   Op Code: 0C (Save Settings)
   Op Code: E3 (Capabilities Reply)
   Op Code: F3 (Capabilities Request)
VCP Features:
   Feature: 02 (New control value)
   Feature: 04 (Restore factory defaults)
   Feature: 05 (Restore factory brightness/contrast defaults)
   Feature: 08 (Restore color defaults)
   Feature: 10 (Brightness)
   Feature: 12 (Contrast)
   Feature: 14 (Select color preset)
      Values:
         05: 6500 K
         08: 9300 K
         0b: User 1
   Feature: 16 (Video gain: Red)
   Feature: 18 (Video gain: Green)
   Feature: 1A (Video gain: Blue)
   Feature: 52 (Active control)
   Feature: 60 (Input Source)
      Values:
         11: HDMI-1
         12: HDMI-2
         0f: DisplayPort-1
         10: DisplayPort-2
   Feature: AC (Horizontal frequency)
   Feature: AE (Vertical frequency)
   Feature: B2 (Flat panel sub-pixel layout)
   Feature: B6 (Display technology type)
   Feature: C0 (Display usage time)
   Feature: C6 (Application enable key)
   Feature: C8 (Display controller type)
   Feature: C9 (Display firmware level)
   Feature: D6 (Power mode)
      Values:
         01: DPM: On,  DPMS: Off
         04: DPM: Off, DPMS: Off
   Feature: DF (VCP Version)
   Feature: 62 (Audio speaker volume)
   Feature: 8D (Audio Mute)
   Feature: F4 (Manufacturer specific feature)
   Feature: F5 (Manufacturer specific feature)
      Values: 01 02 03 04 (interpretation unavailable)
   Feature: F6 (Manufacturer specific feature)
      Values: 00 01 02 (interpretation unavailable)
   Feature: 4D (Unrecognized feature)
   Feature: 4E (Unrecognized feature)
   Feature: 4F (Unrecognized feature)
   Feature: 15 (Unrecognized feature)
      Values: 01 06 11 13 14 15 18 19 20 22 23 24 28 29 32 48 (interpretation unavailable)
   Feature: F7 (Manufacturer specific feature)
      Values: 00 01 02 03 (interpretation unavailable)
   Feature: F8 (Manufacturer specific feature)
      Values: 00 01 (interpretation unavailable)
   Feature: F9 (Manufacturer specific feature)
   Feature: EF (Manufacturer specific feature)
   Feature: FA (Manufacturer specific feature)
      Values: 00 01 (interpretation unavailable)
   Feature: FD (Manufacturer specific feature)
      Values: 00 01 (interpretation unavailable)
   Feature: FE (Manufacturer specific feature)
      Values: 00 01 02 (interpretation unavailable)
   Feature: FF (Manufacturer specific feature)
❯ ddcutil --bus 6 getvcp 60 --verbose --noverify --disable-cross-instance-locks
Unable to open directory /sys/devices/pci0000:00/0000:00:03.2/0000:0c:00.0/drm: No such file or directory
Feature definition file not found: GSM-LG_ULTRAGEAR-23507.mccs

Getting data for non-table VCP code 0x60 - Input Source:
Raw value: opcode=0x60, mh=0x00, ml=0x12, sh=0x00, sl=0x0f, max_val=18 (0x0012), cur_val=15 (0x000f)
VCP code 0x60 (Input Source                  ): DisplayPort-1 (sl=0x0f)

~
❯ ddcutil --bus 6 setvcp 60 0x11 --verbose --noverify --disable-cross-instance-locks
Unable to open directory /sys/devices/pci0000:00/0000:00:03.2/0000:0c:00.0/drm: No such file or directory
Feature definition file not found: GSM-LG_ULTRAGEAR-23507.mccs
rockowitz commented 5 months ago

Please run sudo ddcutil interrogate and submit it as an attachment. Do not paste it inline.

WaflanCZ commented 5 months ago

Please run sudo ddcutil interrogate and submit it as an attachment. Do not paste it inline.

Here it is. sudo_ddcutil_interrogate.txt

WaflanCZ commented 5 months ago

Please run sudo ddcutil interrogate and submit it as an attachment. Do not paste it inline.

HI, could you remove the label? I already added the info.