Keyboard and mouse still lights up after system turns off with Gigabyte M28U KVM monitor

Hi,
I have a stupid problem with my monitor - Gigabyte M28U.
It has a KVM feature, so the mouse and the keyboard are plugged into to the monitor and the monitor is plugged into the PC.
Now, when I turn off the Manjaro, the keyboard and mouse still lights up - the monitor doesn’t turn them off. If I think about it, the external drive is also not turned off and it’s plugged directly to the PC.
BUT, if I put a computer to sleep, the keboard and mouse are turned off…

On Windows it works correctly in both cases.
Now I need to manually turn off the monitor when I turn off the system.

Any idea?

inxi -v7azy
System:
  Kernel: 6.6.16-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=2ebdd9cf-b85c-4f3a-8616-e5f1329cce20 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 45.4 tk: GTK v: 3.24.41 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 45.0.1 Distro: Manjaro
    base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B550 AORUS ELITE
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F17c date: 09/20/2023
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 32 GiB available: 31.24 GiB used: 4.89 GiB (15.6%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 4 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 2133 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: G.Skill
    part-no: F4-3600C19-8GVRB serial: N/A
  Device-2: Channel-A DIMM 1 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 2133 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: G.Skill
    part-no: F4-3600C19-8GVRB serial: N/A
  Device-3: Channel-B DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 2133 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: G.Skill
    part-no: F4-3600C19-8GVRB serial: N/A
  Device-4: Channel-B DIMM 1 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 2133 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: G.Skill
    part-no: F4-3600C19-8GVRB serial: N/A
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 0 microcode: 0xA20102B
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
    desc: 1x32 MiB
  Speed (MHz): avg: 2571 high: 3585 min/max: 2200/4650 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3537 2: 2200
    3: 2200 4: 2200 5: 2200 6: 3585 7: 3544 8: 2568 9: 2220 10: 2200 11: 2200
    12: 2200 bogomips: 88671
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de debug_swap decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip user_shstk v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3080 Ti] vendor: Micro-Star MSI
    driver: nvidia v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2024-02; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 06:00.0 chip-ID: 10de:2208 class-ID: 0300
  Device-2: Sonix AUKEY PC-LM7 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 0c68:6888
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3840x2160 s-size: <missing: xdpyinfo>
  Monitor-1: Unknown-1 mapped: DP-2 res: 3840x2160 dpi: 155
    size: 630x360mm (24.8x14.17") modes: 1024x768
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
    memory: 11.72 GiB
  API: Vulkan v: 1.3.276 layers: 10 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3080 Ti driver: nvidia v: 545.29.06 device-ID: 10de:2208
    surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA GA102 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 06:00.1 chip-ID: 10de:1aef class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 08:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: DCMT USB Condenser Microphone
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-3:3 chip-ID: 31b2:0011 class-ID: 0300
    serial: <filter>
  Device-4: Creative Sound BlasterX G6
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 1-9:10 chip-ID: 041e:3256 class-ID: 0300
    serial: <filter>
  Device-5: Sonix AUKEY PC-LM7 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 0c68:6888
    class-ID: 0102 serial: <filter>
  API: ALSA v: k6.6.16-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Microsoft Xbox 360 Wireless Adapter driver: xpad type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-3:3 chip-ID: 045e:0719
    class-ID: ff00 serial: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Broadcom BCM20702A0 Bluetooth 4.0 driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-8:9 chip-ID: 0a5c:21e8
    class-ID: fe01 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 5.66 TiB used: 1.15 TiB (20.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SKC3000D2048G
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EIFK31.6 temp: 31.9 C
    scheme: MBR
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: A-Data model: SX8200PNP
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 32B2T6TA temp: 41.9 C
    scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD120 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: ACF0 scheme: MBR
  ID-4: /dev/sdb maj-min: 8:16 vendor: Kingston model: DataTraveler 3.0
    size: 115.5 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 3.1
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: PMAP scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 512 GiB size: 502.89 GiB (98.22%) used: 29.22 GiB (5.8%)
    fs: ext4 dev: /dev/nvme1n1p5 maj-min: 259:8 label: N/A
    uuid: 2ebdd9cf-b85c-4f3a-8616-e5f1329cce20
  ID-2: /boot/efi raw-size: 100 MiB size: 99.2 MiB (99.21%)
    used: 36.3 MiB (36.6%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:4 label: N/A
    uuid: B4A8-3ECF
  ID-3: /mnt/nvme0n1p5 raw-size: 1.86 TiB size: 1.86 TiB (100.00%)
    used: 393.97 GiB (20.7%) fs: ntfs dev: /dev/nvme0n1p5 maj-min: 259:2
    label: Dane, programy i gry (drugi M.2) uuid: 01D96E1322AF7B60
  ID-4: /mnt/nvme1n1p4 raw-size: 1.07 TiB size: 1.07 TiB (100.00%)
    used: 756.25 GiB (69.0%) fs: ntfs dev: /dev/nvme1n1p4 maj-min: 259:7
    label: Gry (pierwszy M.2) uuid: 01D83581418AD320
  ID-5: /run/media/yan/Pendrajw raw-size: 115.5 GiB size: 115.5 GiB (100.00%)
    used: 89.4 MiB (0.1%) fs: ntfs dev: /dev/sdb1 maj-min: 8:17 label: Pendrajw
    uuid: 5C0AFAAC1E1A2BA7
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 1 KiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme1n1p2 maj-min: 259:5 size: 299.38 GiB fs: ntfs label: System
    uuid: 01D83E19BFE5C2C0
  ID-3: /dev/nvme1n1p3 maj-min: 259:6 size: 626 MiB fs: ntfs label: N/A
    uuid: 1AD85F97D85F6FCD
  ID-4: /dev/sda1 maj-min: 8:1 size: 1 KiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-5: /dev/sda5 maj-min: 8:5 size: 1016.71 GiB fs: ntfs label: Muzyka
    uuid: 01D9715D825B2990
  ID-6: /dev/sda6 maj-min: 8:6 size: 846.31 GiB fs: ntfs
    label: Instalatory gier uuid: 01D9A875032BC360
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-2:2 info: Realtek RTS5411 Hub ports: 5 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0bda:5411
    class-ID: 0900
  Device-1: 1-2.1:4 info: ROCCAT Kone Aimo 16K type: mouse,keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 1e7d:2e2c class-ID: 0300
  Device-2: 1-2.2:6 info: Ducky One 3 RGB type: HID,keyboard,mouse
    driver: hid-generic,usbhid interfaces: 5 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 3233:1311 class-ID: 0300
    serial: <filter>
  Device-3: 1-2.5:8 info: Realtek HID Device type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 0bda:1100 class-ID: 0300
  Device-4: 1-3:3 info: DCMT USB Condenser Microphone type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 31b2:0011 class-ID: 0300 serial: <filter>
  Hub-3: 1-6:5 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-7:7 info: Integrated Express RGB LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 048d:5702 class-ID: 0300
  Device-2: 1-8:9 info: Broadcom BCM20702A0 Bluetooth 4.0 type: Bluetooth
    driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 chip-ID: 0a5c:21e8 class-ID: fe01 serial: <filter>
  Device-3: 1-9:10 info: Creative Sound BlasterX G6 type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 5 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 041e:3256 class-ID: 0300 serial: <filter>
  Hub-4: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 2-1:2 info: Kingston DataTraveler 100 G3/G4/SE9 G2/50 Kyson
    type: mass storage driver: usb-storage interfaces: 1 rev: 3.1
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 power: 504mA
    chip-ID: 0951:1666 class-ID: 0806 serial: <filter>
  Hub-5: 2-2:3 info: Realtek Hub ports: 3 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 0bda:0411
    class-ID: 0900
  Hub-6: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: Sonix AUKEY PC-LM7 type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 0c68:6888 class-ID: 0102 serial: <filter>
  Device-2: 3-3:3 info: Microsoft Xbox 360 Wireless Adapter type: WiFi
    driver: xpad interfaces: 8 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 260mA chip-ID: 045e:0719 class-ID: ff00 serial: <filter>
  Hub-7: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 47.2 C mobo: 31.0 C gpu: nvidia temp: 64 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 34%
Info:
  Processes: 348 Power: uptime: 16m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.49 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: 1409 pm: pacman pkgs: 1403 libs: 451 tools: gnome-software,pamac
    pm: appimage pkgs: 0 pm: flatpak pkgs: 6 Compilers: clang: 16.0.6 gcc: 13.2.1
    Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.33
mhwd -li
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2023.03.23               false            PCI


Warning: No installed USB configs!

Have you already looked into your BIOS?
Sometimes there is an option to leave USB-power on (to boot on key press).

Why I didn’t think of that?
I enabled ERP option to power off all USBs on turn off and it seems to work.
Thanks :slightly_smiling_face:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.