Giter VIP home page Giter VIP logo

msigd's People

Contributors

couriersud avatar domhel avatar rodoma92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

msigd's Issues

Unknown Monitor MSI Optix MAG241CR

The MSIGD tool works fine as far as I can tell but my MSI Optix MAG241CR still reports as an unknown monitor.

Unexpected id combination <004><V18>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02018011700
Monitor Series: MAG321CQR
s140:           <004>
s150:           <V18>
DEBUG: Special 01 b0: 01 5a 19 01 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 02 ea 06 55 00 00 00 00 00 00 00 00 00 00
DEBUG: Error 0 reading from HID device
DEBUG: Error receiving 01 d0 62 30 30 31 30 30 30 30 30 0d: 0
macro_key : '000'
mode : '000'
serial : 'EA2T308300377'
frequency : '144'
game_mode : '000'
response_time : '001'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '000'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '000'
screen_assistance : '000'
free_sync : '001'
DEBUG: Error 0 reading from HID device
msigd: Error querying device on zero_latency - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on screen_size - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on pro_mode - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on eye_saver - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on image_enhancement - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on brightness - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on contrast - got ''
Try 'msigd --help' for more information.
msigd: Error querying device on sharpness - got '56006'
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on color_preset - got ''
Try 'msigd --help' for more information.
color_red : '100'
color_green : '100'
color_blue : '100'
color_rgb : '0x949494'
unknown435 : '000'
input : '002'
msigd: Error querying device on pip - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_input - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pbp_input - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_size - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_position - got '56006'
Try 'msigd --help' for more information.
osd_language : '001'
osd_transparency : '002'
osd_timeout : '030'
sound_enable : '001'
rgb_led : '000'
navi_up : '002'
navi_down : '003'
navi_left : '004'
navi_right : '005'

Compiled binary won't run and errors out with 0xc000007b

I followed the instructions and managed to get the program to compile on Windows however it won't run and always errors out with error 0xc000007b. This was my first time compiling anything so I'm unsure if I did anything wrong, could someone lend me a hand?

EDIT: I fixed it by adding msys2 to my system PATH variable. It seems I was using wrong .dlls,

Unknown monitor - MSI MAG272

Just tried msigd with new MSI MAG272
Running on Linux - Fedora 32
I haven't tried any functions - no quite sure what I'm doing - but will report back when I do!

$ sudo ./msigd --debug --info --query  
DEBUG: Initializing HID lib
Unexpected id combination <00L><V18>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: MAG32 Series
s140:           <00L>
s150:           <V18>
DEBUG: Special 01 b0: 01 5a 40 00 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 71 00 29 70 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
DEBUG: Error -1 writing to HID device
msigd: Error querying device on macro_key - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on mode - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on serial - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on frequency - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on game_mode - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on unknown210 - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on response_time - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on enable_dynamic - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on hdcr - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on refresh_display - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on refresh_position - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on alarm_clock - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on alarm_clock_index - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on alarm_clock_time - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on alarm_position - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on screen_assistance - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on unknown280 - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on zero_latency - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on screen_size - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on night_vision - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on pro_mode - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on eye_saver - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on image_enhancement - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on brightness - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on contrast - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on sharpness - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on color_preset - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on color_red - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on color_green - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on color_blue - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on color_rgb - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on unknown435 - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on input - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on pip - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on pip_input - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on pbp_input - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on pip_size - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on pip_position - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on osd_language - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on osd_transparency - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on osd_timeout - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on sound_enable - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on rgb_led - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on navi_up - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on navi_down - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on navi_left - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on navi_right - got ''
Try 'msigd --help' for more information.
$ sudo lsusb
Bus 002 Device 006: ID 046d:c218 Logitech, Inc. F510 Gamepad [DirectInput Mode]
Bus 002 Device 009: ID 050d:0017 Belkin Components B8T017 Bluetooth+EDR 2.1 / F4U017 USB 2.0 7-port Hub
Bus 002 Device 008: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass)
Bus 002 Device 007: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass)
Bus 002 Device 005: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 002 Device 004: ID 046d:c05b Logitech, Inc. M-U0004 810-001317 [B110 Optical USB Mouse]
Bus 002 Device 021: ID 04d9:1203 Holtek Semiconductor, Inc. Keyboard
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 010: ID 1462:3fa4 Micro Star International 
Bus 001 Device 008: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 2304:0225 Pinnacle Systems, Inc. Remote Kit Infrared Transceiver
Bus 003 Device 002: ID 046d:c218 Logitech, Inc. F510 Gamepad [DirectInput Mode]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ uname -a
Linux media.weaver 5.6.8-300.fc32.x86_64 #1 SMP Wed Apr 29 19:01:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Compiling on Arch-Linux

Hi,
thanks a lot! Awesome piece of code to control my new MSI monitor!

Just had a problem compiling it under arch. "Make" did not find the lusb library.
I had to modify the makefile and specify "lusb-1.0" to make it compile.
It might be worth to add "TARGETOS=arch" to the makefile and use this specific libusb version for arch (might reduce problems to other arch users).

By the way, the needed libraries under arch are called: libusb and hidapi
sudo pacman -S libusb hidapi

Thanks for sharing the code!

Timeout for input change

Hi Couriersud,

I have the following problem:
I switch to an input (say DisplayPort) with msigd and it works.
The input-signal does not come fast enough to the new input (DisplayPort), the monitor timeout runs out and the monitor brings me back to my previous input (say HDMI1).

Now the question: do you know a way to change this timeout when changing input? To make it longer?

The other way would be to provide the input-signal faster - but I fear I cannot do this since it is a virtual machine starting up.

Thanks in advance for any tip!

Additional functionality

additional flags:
-v result values with description for human
-s silent and result some value for scripting

example:

./msigd -s --osd_language
-> 2

or

 ./msigd -v --contrast
-> Contrast: 50  Min:0 Max:100

Updated 0.4:

#!/bin/sh
#
BR_CURRENT=$(./msigd -f brightness | awk -F' : ' '{print $2}') # Hard way with split
BR_MAX=100
BR_MIN=0

yad --title="Brightness" --window-icon="preferences-desktop-display" \
 --skip-taskbar --fixed --sticky --on-top --undecorated --mouse \
 --borders=5 --width=300 --escape-ok --close-on-unfocus --no-buttons \
 --scale --min-value=$BR_MIN --max-value=$BR_MAX --value=$BR_CURRENT --step=1 --print-partial --hide-value | \
while read BR_NEW
do
if [[ "$BR_CURRENT" != "$BR_NEW" ]]; then
BR_CURRENT=$(./msigd --brightness $BR_NEW) # currently no return
#fix no return, we can't use $(./msigd --brightness $BR_NEW -f brightness | awk -F' : ' '{print $2}') it result previous value
BR_CURRENT=$BR_NEW
fi
done

PS Series options

--alarm_clock_position  +!done       hmmm... `custom` is set... how use `custom`?
--screen_assistance     *confuse     values in order: `off`, `ruler_center`, `ruler_edge`, `paper_sizes_vertical`, `paper_sizes_horizontal`, `center_line_vertical`, `center_line_horizontal`, `grid`, `thirds`, `3d_assistance`
--screen_size           *confuse     it's not size, `scale_aspect_ratio` or `screen_scale`
--pro_mode              +!done       fix typo `dcpi_p3` => `dci_p3`; do not have `cal*` modes, `cal1` switch to `user`, `cal2` => `adobe_rgb`, `cal3` =>`dci_p3`
--color_preset          +done        maybe rename `custom` to `color_rgb`
--pip                   +done
--pip_input             +done
--toggle_sound          +done
--osd_language          +done
--quick_charge          ?broken      it's not quick charge, it's “Information On Screen”, `screen_info`?
--audio_source          +done
--navi_up               +done
--navi_down             +done
--navi_left             +done
--navi_right            +done

MSI MEG 342C QD-OLED Support

I've removed some of my identifying information, but otherwise copied directly from my terminal.

Part Number: 9S6-3DC44T-007

Market Name: MEG 342C QD-OLED

Debug Information:

[xxx@arch-desktop msigd]$ msigd --debug --info --query
DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <XXXXXXXXXXXX>
Unexpected id combination <00�><V58>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         XXXXXXXXXXXX
Monitor Series: Unknown Series
LED support:    None
s140:           <00�>
s150:           <V58>
DEBUG: Special 01 b0: 01 5a 19 1f 11 00 00 f1 c9 00 00 0a 6f 00 01 00
DEBUG: Special 01 b4: 01 5a e1 00 0d bd 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'XXXXXXXXXXXXX'
frequency : '175'
response_time : '001'
eye_saver : '000'
image_enhancement : '000'
brightness : '050'
contrast : '070'
sharpness : '001'
color_rgb : 'bbb'
osd_transparency : '002'
osd_timeout : '020'

Detected USB Devices:

[xxx@arch-desktop msigd]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID [REDACTED - Motherboard Hub]
Bus 001 Device 003: ID 2109:2211 VIA Labs, Inc. USB2.0 Hub             
Bus 001 Device 004: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub             
Bus 001 Device 005: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub             
Bus 001 Device 006: ID [REDACTED - Mouse]
Bus 001 Device 007: ID [REDACTED - Keyboard]
Bus 001 Device 008: ID 0bda:4c73 Realtek Semiconductor Corp. USB Audio
Bus 001 Device 009: ID 1462:3fa4 Micro Star International MSI Gaming Controller
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 2109:0211 VIA Labs, Inc. USB3.0 Hub             
Bus 002 Device 003: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub             
Bus 002 Device 004: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub             
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:0025 Intel Corp. Wireless-AC 9260 Bluetooth Adapter
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID [REDACTED - Motherboard Hub]
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Operating System:

[xxx@arch-desktop ~]$ uname -a
Linux arch-desktop 6.8.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000 x86_64 GNU/Linux

Hope this helps

MAG301CR2 support

Hello, my current monitor MAG301CR2 is not supported by the tool. Here's the debug info of msigd:

Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: Unknown Series
LED support:    None
s140:           <00R>
s150:           <V49>
DEBUG: Special 01 b0: 01 5a 41 08 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 02 1a 30 15 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'CB4H101500429'
frequency : '060'
response_time : '001'
eye_saver : '000'
image_enhancement : '000'
brightness : '000'
contrast : '050'
sharpness : '000'
color_rgb : '0x949494'
osd_transparency : '001'
osd_timeout : '020'

Also here's the relevant output of lsusb:

Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1462 Micro Star International
  idProduct          0x3fa4 
  bcdDevice            0.00
  iManufacturer           1 MS
  iProduct                2 MSI Gaming Controller
  iSerial                 3 A02019010700
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      73
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)

MAG251RX Support

DEBUG: Scanning USB devices...
DEBUG: Found device <MSI Gaming Controller> with serial <A02019093000>

DEBUG: Interface 0 alt 0 class 3
DEBUG: Endpoint 01 0040
DEBUG: Endpoint 1 does is not of type output
DEBUG: Endpoint 02 0040
DEBUG: Endpoint 2 does is not of type input
DEBUG: Found 1 interfaces, using interface 0
DEBUG: Setting Configuration
DEBUG: Driver is usbhid
DEBUG: Special 01 b4: 01 5a 61 00 08 3d 00 00 00 00 00 00 00 00 00 00
Unexpected id combination <00B><V18>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019093000
Monitor Series: Unknown Series
LED support:    None
s140:           <00B>
s150:           <V18>
DEBUG: Special 01 b0: 01 5a 39 07 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 61 00 08 3d 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'BA3T020700527'
frequency : '240'
response_time : '002'
image_enhancement : '000'
brightness : '081'
contrast : '070'
sharpness : '000'
color_rgb : '0x949494'
osd_transparency : '000'
osd_timeout : '020'
DEBUG: Releasing interface 0

Support for MAG272QR - mystic 12 RGB

I have started to try and get the MAG272QR to work but I have hit a block at the Mystic lights part of the code. The MAG272QR has 12 LEDs as far as GamingOSD's Mystic Lights program can control however I notice from images that a lot of the pre-existing supported keyboards only have 9ish. Also none of the Mystic Light related commands work for me...this is the main problem due to my end goal.

For the record I added another line in the main CPP file saying
{ MAG272, "00G", "V18", "MAG272 Series", LT_MYSTIC }, // MAG272QR

This makes the program detect the monitor fine and allow me to run commands, a lot of which work but the RGB led related ones do not.

For transparency my goal is to integrate this plugin into OpenRGB somehow and then be able to use it in Artemis RGB or Aurora RGB for effects. I hope somebody can help me fix my problems with getting the commands working, it would be greatly appreciated. I can supply wireshark logs etc. if required and helpful. Thanks! (And great work to the dev so far, program seems very useful)

Unknown monitor MPG27CQ - Steel series RGB support

DEBUG: Initializing HID lib
Unexpected id combination <001><V18>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02017120100
Monitor Series: MAG32 Series
s140:           <001>
s150:           <V18>
DEBUG: Special 01 b0: 01 5a 67 00 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 02 ea 06 3c 00 00 00 00 00 00 00 00 00 00
DEBUG: Error 0 reading from HID device
DEBUG: Error receiving 01 d0 62 30 30 31 30 30 30 30 30 0d: 0
macro_key : '000'
mode : '000'
serial : 'FA3T038420211'
frequency : '144'
game_mode : '000'
unknown210 : '009'
response_time : '000'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '001'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '000'
screen_assistance : '000'
unknown280 : '001'
zero_latency : '001'
screen_size : '003'
msigd: Error querying device on night_vision - got '56006'
Try 'msigd --help' for more information.
pro_mode : '000'
eye_saver : '000'
image_enhancement : '001'
brightness : '066'
contrast : '060'
sharpness : '001'
color_preset : '001'
color_red : '100'
color_green : '100'
color_blue : '100'
color_rgb : '0x949494'
unknown435 : '000'
input : '002'
pip : '000'
pip_input : '002'
pbp_input : '002'
pip_size : '002'
pip_position : '000'
osd_language : '001'
osd_transparency : '000'
osd_timeout : '020'
sound_enable : '000'
rgb_led : '000'
navi_up : '002'
navi_down : '001'
navi_left : '007'
navi_right : '005'

PS: Thank you very much for your work 👍

MAG272QP parameters

DEBUG: Initializing HID lib
Vendor Id: 0x1462
Product Id: 0x3fa4
Product: MSI Gaming Controller
Monitor Series: MAG Series
DEBUG: Special 01 b0 : 01 5a 40 00 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4 : 01 5a 71 00 2f 41 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d : 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
mode : '000'
serial : ' '
frequency : '165'
game_mode : '000'
unknown210 : '009'
response_time : '002'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '000'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '000'
screen_assistance : '000'
unknown280 : '001'
zero_latency : '001'
screen_size : '000'
night_vision : '000'
pro_mode : '000'
eye_saver : '000'
image_enhancement : '000'
brightness : '070'
contrast : '070'
sharpness : '000'
color_preset : '001'
color_red : '050'
color_green : '050'
color_blue : '050'
color_rgb : 'bbb'
unknown435 : '001'
input : '002'
pip : '000'
pip_input : '002'
pbp_input : '002'
pip_size : '002'
pip_position : '000'
osd_language : '001'
osd_transparency : '000'
osd_timeout : '020'
sound_enable : '001'
unknown860 : '001'
navi_up : '002'
navi_down : '003'
navi_left : '004'
navi_right : '005'

Change settings for multiple monitors

Is there a way to change which monitor is addressed? I have 3 MAG321CURV and only the first screen works with the tool.

The MSI Gaming OSD app has buttons in top left to change which monitor is addressed, I can capture USB traffic if it would help to get this implemented.

image

MAG281URF support

Thank you for your work!

DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <A02019010700>
Unexpected id combination <00�><V61>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: Unknown Series
LED support:    None
s140:           <00�>
s150:           <V61>
DEBUG: Special 01 b0: 01 5a 53 05 15 00 00 d9 26 00 00 b4 f5 01 01 00
DEBUG: Special 01 b4: 01 5a 02 bd 0b 0f 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'CC8Q352700719'
frequency : '144'
response_time : '002'
eye_saver : '000'
image_enhancement : '000'
brightness : '005'
contrast : '070'
sharpness : '000'
color_rgb : 'bbb'
osd_transparency : '000'
osd_timeout : '020'

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1915:ae1c Nordic Semiconductor ASA Ninjutso Sora V2
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 1e71:200f NZXT NZXT USB Device
Bus 001 Device 005: ID 1462:3fa4 Micro Star International MSI Gaming Controller
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 007: ID 1462:3fa4 Micro Star International MSI Gaming Controller
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0b05:18f3 ASUSTek Computer, Inc. AURA LED Controller
Bus 003 Device 003: ID 1e71:2007 NZXT NZXT USB Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 152a:8750 Thesycon Systemsoftware & Consulting GmbH DX3 Pro+
Bus 005 Device 003: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
Bus 005 Device 004: ID 0d8c:016c C-Media Electronics, Inc. USB Advanced Audio Device
Bus 005 Device 005: ID 2972:0047 FiiO Electronics Technology FiiO BTA30 PRO
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

uname -a
Linux mainframe 6.9.0-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon May 13 07:01:28 UTC 2024 x86_64 GNU/Linux

Support for MAG274QRF-QD

This is the debug output coming from this monitor, MSI MAG274QRF-QD, firmware FW.011, panel model AUO_M270DAN08_2.

Vendor Id: 0x1462
Product Id: 0x3fa4
Product: MSI Gaming Controller
Serial: ---
Monitor Series: MAG321CQR
s140: <00e>
s150:
DEBUG: Special 01 b0: 01 5a 40 05 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 12 d3 23 75 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
mode : '010'
serial : '---'
frequency : '165'
game_mode : '000'
response_time : '001'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '000'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '000'
screen_assistance : '000'
free_sync : '001'
zero_latency : '001'
screen_size : '000'
pro_mode : '000'
eye_saver : '000'
image_enhancement : '000'
brightness : '000'
contrast : '070'
sharpness : '001'
color_preset : '001'
color_red : '100'
color_green : '100'
color_blue : '100'
color_rgb : '0x949494'
unknown435 : '001'
input : '002'
pip : '000'
pip_input : '002'
pbp_input : '002'
pip_size : '002'
pip_position : '000'
osd_language : '004'
osd_transparency : '000'
osd_timeout : '010'
sound_enable : '001'
rgb_led : '000'
navi_up : '001'
navi_down : '006'
navi_left : '007'
navi_right : '005'

New ID for MAG272CQR

Updated firmware, probably?

DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <A02019010700>
Unexpected id combination <00E><V41>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: Unknown Series
LED support:    None
s140:           <00E>
s150:           <V41>
DEBUG: Special 01 b0: 01 5a 38 01 15 00 00 d9 26 00 00 8d bf 01 00 00
DEBUG: Special 01 b4: 01 5a 92 c5 07 9e 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'CA6T141C00202'
frequency : '165'
response_time : '001'
eye_saver : '000'
image_enhancement : '000'
brightness : '030'
contrast : '070'
sharpness : '000'
color_rgb : '0x949494'
osd_transparency : '001'
osd_timeout : '020'

Unknown monitor Optix MAG241C

I'm not sure why this is happening. Optix MAG241C should show <002><V18> as ID combination but mine shows as <002><V49>

This monitor was bought in second half of 2021. Maybe its a new revision of MAG241C

Heres the output of msigd --info --debug --query

DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <A02018011700>
Unexpected id combination <002><V49>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02018011700
Monitor Series: Unknown Series
LED support:    None
s140:           <002>
s150:           <V49>
DEBUG: Special 01 b0: 01 5a 15 00 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 02 92 0d 34 00 00 00 00 00 00 00 00 00 00
DEBUG: Error 0 reading from HID device
DEBUG: Error receiving 01 d0 62 30 30 31 30 30 30 30 30 0d: 0
macro_key : '000'
serial : 'EA2T111600179'
frequency : '144'
response_time : '002'
image_enhancement : '000'
brightness : '100'
contrast : '070'
sharpness : '000'
color_rgb : 'bbb'
osd_transparency : '000'
osd_timeout : '020'```

Please support Optix MAG272CQR

Thanks a lot for the tool! If there's anything else I can do to help support this let me know.

DEBUG: Initializing HID lib
Unexpected id combination <00E><V18>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: MAG32 Series
s140:           <00E>
s150:           <V18>
DEBUG: Special 01 b0: 01 5a 33 01 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 61 00 2a 84 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '001'
mode : '000'
serial : 'CA6T0501700GL'
frequency : '165'
game_mode : '000'
unknown210 : '009'
response_time : '001'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '000'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '000'
screen_assistance : '000'
unknown280 : '001'
zero_latency : '001'
screen_size : '000'
night_vision : '004'
pro_mode : '002'
eye_saver : '000'
image_enhancement : '000'
brightness : '063'
contrast : '072'
sharpness : '000'
color_preset : '001'
color_red : '100'
color_green : '100'
color_blue : '100'
color_rgb : '0x949494'
unknown435 : '001'
input : '002'
pip : '000'
pip_input : '002'
pbp_input : '002'
pip_size : '002'
pip_position : '000'
osd_language : '001'
osd_transparency : '000'
osd_timeout : '020'
sound_enable : '001'
rgb_led : '001'
navi_up : '002'
navi_down : '003'
navi_left : '004'
navi_right : '005'

MAG274QRX Support

MAG274QRX

DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <A02019010700>
Unexpected id combination <00|><V53>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: Unknown Series
LED support:    None
s140:           <00|>
s150:           <V53>
DEBUG: Special 01 b0: 01 5a 53 05 15 00 00 d9 26 00 00 b4 f5 01 01 00
DEBUG: Special 01 b4: 01 5a 02 8d 1f 47 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'CA8A722300174'
frequency : '240'
response_time : '001'
eye_saver : '000'
image_enhancement : '000'
brightness : '040'
contrast : '070'
sharpness : '000'
color_rgb : '0x949494'
osd_transparency : '000'
osd_timeout : '020'

lsusb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 1462:3fa4 Micro Star International MSI Gaming Controller
Bus 001 Device 009: ID 04d9:0348 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 007: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 004: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 005: ID 046d:c53f Logitech, Inc. USB Receiver
Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 002: ID 0414:a00b Giga-Byte Technology Co., Ltd USB Audio
Bus 001 Device 010: ID 8087:0033 Intel Corp. 
Bus 001 Device 011: ID 048d:5702 Integrated Technology Express, Inc. RGB LED Controller
Bus 001 Device 008: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

OS: Arch linux 6.1.12-arch1-1

Doesn't build on mac

Seems to be unable to find hidapi, even when installed using homebrew (according to docs):

➜  msigd git:(master) ✗ make TARGET=osx
Compiling src/msigd.cpp...
In file included from src/msigd.cpp:7:
src/phid.h:19:11: fatal error: 'hidapi/hidapi.h' file not found
        #include <hidapi/hidapi.h>
                 ^~~~~~~~~~~~~~~~~
1 error generated.
make: *** [src/msigd.o] Error 1

Support for MAG271CR

Query Output
λ msigd --info --debug --query
DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <--->
Unexpected id combination <005><V18>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         ---
Monitor Series: MAG321CQR
s140:           <005>
s150:           <V18>
DEBUG: Special 01 b0: 01 5a 19 01 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 02 f0 38 ae 00 00 00 00 00 00 00 00 00 00
DEBUG: Error 0 reading from HID device
DEBUG: Error receiving 01 d0 62 30 30 31 30 30 30 30 30 0d: 0
macro_key : '000'
mode : '010'
serial : '---'
frequency : '144'
game_mode : '000'
response_time : '000'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '000'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '000'
screen_assistance : '000'
free_sync : '001'
DEBUG: Error 0 reading from HID device
msigd: Error querying device on zero_latency - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on screen_size - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on pro_mode - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on eye_saver - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on image_enhancement - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on brightness - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on contrast - got ''
Try 'msigd --help' for more information.
sharpness : '000'
DEBUG: Error 0 reading from HID device
msigd: Error querying device on color_preset - got ''
Try 'msigd --help' for more information.
color_red : '100'
color_green : '100'
color_blue : '100'
color_rgb : '0x949494'
unknown435 : '000'
input : '002'
msigd: Error querying device on pip - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_input - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pbp_input - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_size - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_position - got '56006'
Try 'msigd --help' for more information.
osd_language : '001'
osd_transparency : '002'
osd_timeout : '020'
sound_enable : '001'
rgb_led : '000'
navi_up : '001'
navi_down : '002'
navi_left : '003'
navi_right : '005'

Even though the tool reports an error querying brightness and contrast, I can query and set them individually (with -f and --brightness).
Additionally, whenever I try to query zero_latency, I get this:

Output
DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <--->
Unexpected id combination <005><V18>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
DEBUG: Error 0 reading from HID device
msigd: Error querying device on zero_latency - got ''
Try 'msigd --help' for more information.

The tool then stops working entirely, with this error:

Output
DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <--->
DEBUG: Error 0 reading from HID device
msigd: Error on device identification
Try 'msigd --help' for more information.

This is fixable by unplugging and replugging the monitor.

Support for MSI MAG271CQR

Howdy,

Love the monitor - dislike the OSD. Would love to see support for this thing.

The id of your monitor, e.g. MAG321CURV

MAG271CQR

The output of msigd --debug --info --query

# ./msigd --debug --info --query
DEBUG: Initializing HID lib
Unexpected id combination <006><V19>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02018011700
Monitor Series: MAG32 Series
s140:           <006>
s150:           <V19>
DEBUG: Special 01 b0 : 01 5a 1a 01 00 00 00 00 00 00 00 00 00 00 00 00 
DEBUG: Special 01 b4 : 01 5a 71 00 2d 38 00 00 00 00 00 00 00 00 00 00 
DEBUG: Error 0 reading from HID device
DEBUG: Error receiving 01 d0 62 30 30 31 30 30 30 30 30 0d : 0
macro_key : '000'
mode : '000'
serial : 'FA7T07946004D'
frequency : '060'
game_mode : '000'
unknown210 : '009'
response_time : '000'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '001'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '000'
screen_assistance : '000'
unknown280 : '001'
zero_latency : '001'
screen_size : '003'
DEBUG: Error 0 reading from HID device
msigd: Error querying device on night_vision - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on pro_mode - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on eye_saver - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on image_enhancement - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on brightness - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on contrast - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on sharpness - got ''
Try 'msigd --help' for more information.
color_preset : '001'
color_red : '100'
color_green : '100'
color_blue : '100'
color_rgb : '���'
unknown435 : '000'
input : '001'
pip : '000'
pip_input : '000'
pbp_input : '000'
pip_size : '002'
pip_position : '000'
osd_language : '001'
osd_transparency : '000'
osd_timeout : '020'
sound_enable : '001'
unknown860 : '001'
navi_up : '002'
navi_down : '005'
navi_left : '004'
navi_right : '005'

For linux the output of lsusb

# lsusb
Bus 002 Device 004: ID 0bc2:231a Seagate RSS LLC Expansion Portable
Bus 002 Device 003: ID 174c:5136 ASMedia Technology Inc. ASM1053 SATA 3Gb/s bridge
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 10f5:0292 Turtle Beach Turtle Beach Z22 Chat
Bus 001 Device 011: ID 1462:3fa4 Micro Star International USB 2.0 Hub
Bus 001 Device 010: ID 046d:c332 Logitech, Inc. G502 Proteus Spectrum Optical Mouse
Bus 001 Device 009: ID 1b1c:1b36 Corsair External HDD    
Bus 001 Device 008: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 007: ID 1a86:8072 QinHeng Electronics 
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 006: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)
Bus 001 Device 002: ID 1058:1003 Western Digital Technologies, Inc. WD Elements Desktop (WDE1UBK)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Your operating system and version

# $ neofetch --off
cosmicdan@COSMICDAN-HOST 
------------------------ 
OS: Arch Linux x86_64 
Host: MS-7B46 2.0 
Kernel: 5.6.3-arch1-1 
Uptime: 23 mins 
Packages: 1500 (pacman), 6 (flatpak) 
Shell: bash 5.0.16 
Resolution: 2560x1440 
DE: Plasma 
WM: KWin 
WM Theme: Breeze 
Theme: Breeze Dark [Plasma], Breeze-Dark [GTK2/3] 
Icons: Breeze Chameleon Dark [Plasma], Breeze Chameleon Dark [GTK2/3] 
Terminal: konsole 
Terminal Font: Hack 9 
CPU: Intel i5-8400 (6) @ 4.000GHz 
GPU: NVIDIA GeForce GTX 1070 Ti 
GPU: Intel UHD Graphics 630 
Memory: 5624MiB / 32057MiB 

any other information which might be helpful, e.g. OSD setting xyz is not supported.

Seems to support everything listed.

Photo of service menu (ugh, EXIF rotation - apologies, aligns correctly if opening fullscreen in Firefox at least):

IMG_20200417_072421

Am happy to tinker around in the source if it takes a lot of back-and fourth to add support for a new monitor.

Cheers!

MAG301RF support

Product page

DEBUG: Scanning USB devices...
DEBUG: Found device <MSI Gaming Controller> with serial <A02019010700>
DEBUG: Interface 0 alt 0 class 3
DEBUG: Endpoint 01 0040
DEBUG: Endpoint 1 does is not of type output
DEBUG: Endpoint 02 0040
DEBUG: Endpoint 2 does is not of type input
DEBUG: Found 1 interfaces, using interface 0
DEBUG: Setting Configuration
DEBUG: Special 01 b4: 01 5a 02 90 07 10 00 00 00 00 00 00 00 00 00 00
Unexpected id combination <00n><V43>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: Unknown Series
LED support:    None
s140:           <00n>
s150:           <V43>
DEBUG: Special 01 b0: 01 5a 45 14 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 02 90 07 10 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'CC5A031700533'
frequency : '200'
response_time : '001'
eye_saver : '000'
image_enhancement : '000'
brightness : '020'
contrast : '060'
sharpness : '000'
color_rgb : '0x949494'
osd_transparency : '002'
osd_timeout : '020'
DEBUG: Releasing interface 0

Tips and Tricks Prestige PS341WU

PS341WU

Param Value
Manufacturer ID MSI
Product Code 3DA1
Physical size 795.648mm x 335.664mm (34'')
Resolution 5120 x 2160 (WUHD)
IPS technology Nano IPS (AH-IPS)
Refresh ratio 60 Hz
Aspect ratio 64:27
Response time 8ms (GTG)
Viewing angle 178°(H), 178°(V)
Brightness 450 nits
Contrast Ratio 1200:1
Colors 10-bit (?8-bit+A-FRC)
Pixel type square
Pixel pitch 0.1554 x 0.1554
Pixels Per Inch (PPI) 163 (?)
DPMS levels Standby Suspend Off
Timings supported GTF, (CVT?)
Receiver Chip MST9U4 (?)
Panel LQMD55MWWAC-3333 (?)
Video ports 2xHDMI 2.0, 1xDP 1.4, 1xType C (Alternate Mode DP)
USB ports 3 x USB 3.2 Gen 1 Type A, 1 x USB 3.2 Gen 1 Type B
Audio ports Mic, Headphone, Audio-combo jack 3.5mm

PIP
TODO
auto scale to max-width or max-height and align:
horizontal-align for left location is right, for right location is left.
vertical-align always middle.

Preset Small (35%, ratio x28)
Physical size 278,4768mm x 117,4824mm
Resolution 1792x756
Aspect ratio 64:27
Preset Medium (40%, ratio x32)
Physical size 318,2592mm x 134,2656mm
Resolution 2048x864
Aspect ratio 64:27
Preset Large (45%, ratio x36)
Physical size 358,0416mm x 151,0488mm
Resolution 2304x972
Aspect ratio 64:27

PBP
TODO

PBPx2

╔═════════════════╤═════════════════╗
║src-1            │ src-2           ║
║                 │                 ║
║    2560x2160    │    2560x2160    ║
║                 │                 ║
║    (32 : 27)    │    (32 : 27)    ║
║                 │                 ║
║                 │                 ║
╚═════════════════╧═════════════════╝

PBPx3

╔═════════════════╤═════════════════╗
║src-1            │ src-2           ║
║                 │    2560x1080    ║
║    2560x2160    │    (64 : 27)    ║
║                 ├─────────────────╢
║    (32 : 27)    │ src-3           ║
║                 │    2560x1080    ║
║                 │    (64 : 27)    ║
╚═════════════════╧═════════════════╝

PBPx4

╔═════════════════╤═════════════════╗
║src-1            │ src-2           ║
║    2560x1080    │    2560x1080    ║
║    (64 : 27)    │    (64 : 27)    ║
╟─────────────────┼─────────────────╢
║src-3            │ src-4           ║
║    2560x1080    │    2560x1080    ║
║    (64 : 27)    │    (64 : 27)    ║
╚═════════════════╧═════════════════╝

Hack and Tricks

TODO
PS341WU have totally broken EDID Modes for use PIP and PBP

Add modes for PIP (CVT 1.2 "Reduced Blanking" timings)

xrandr --newmode "1792x756_60.00_pip"  87.38  1792 1800 1832 1872  756 764 772 778 +hsync -vsync

xrandr --newmode "2048x864_60.00_pip"  113.51  2048 2056 2088 2128  864 875 883 889 +hsync -vsync

xrandr --newmode "2304x972_60.00_pip"  143.04  2304 2312 2344 2384  972 986 994 1000 +hsync -vsync

Add two modes for PBP (CVT 1.2 "Reduced Blanking" timings)

xrandr --newmode "2560x2160_60.00_pbp"  351.96  2560 2568 2600 2640  2160 2208 2216 2222 +hsync -vsync

xrandr --newmode "2560x1080_60.00_pbp"  175.98  2560 2568 2600 2640  1080 1097 1105 1111 +hsync -vsync

Assign to DisplayPort-0

xrandr --addmode DisplayPort-0 "1792x756_60.00_pip"
xrandr --addmode DisplayPort-0 "2048x864_60.00_pip"
xrandr --addmode DisplayPort-0 "2304x972_60.00_pip"
xrandr --addmode DisplayPort-0 "2560x2160_60.00_pbp"
xrandr --addmode DisplayPort-0 "2560x1080_60.00_pbp"

EDID Data

Param Value
Chromaticity Coordinates
Red X 0.680
Red Y 0.313
Green X 0.268
Green Y 0.685
Blue X 0.151
Blue Y 0.055
White X 0.313
White Y 0.329
HDMI
Display type RGB 4:4:4 + YCrCb 4:4:4
HDMI 1.4
Extraction InfoFrames ACP, ISRC1, ISRC2
Supports 30/36/48 bits/pixel (10/12/16 bits/color)
Supports YCbCr 4:4:4 Deep Color
Max TMDS Clock Rate 340 MHz
HDMI 2.0
EDID version 1.3
Max TMDS clock 340MHz
Max dotclock (aka bandwidth) 600 MHz
Horizontal Sync 30-220 kHz
Vertical Refresh 48-144 Hz
Color formats YcBcR 4:4:4 YcBcR 4:2:2
DP 1.4
EDID version 1.4
Max dotclock (aka bandwidth) 760 MHz
Horizontal Sync 30-135 kHz
Vertical Refresh 48-61 Hz
Color formats RGB 4:4:4 YCrCb 4:4:4 YCrCb 4:2:2

DTD

Param Value
Pixel Clock 594MHz
Horizontal Active 3840
Horizontal Blanking 560
Vertical Active 2160
Vertical Blanking 90
Horizontal Sync Offset 176
Horizontal Sync Pulse 88
Vertical Sync Offset 8
Vertical Sync Pulse 10
Horizontal Display Size 800
Vertical Display Size 330
Horizontal Border 0
Vertical Border 0
Interlaced false
Stereo Mode 0
Sync Type 3

Common Modes
640×480 @ 60 Hz
640×480 @ 67 Hz
640×480 @ 72 Hz
640×480 @ 75 Hz
720×400 @ 70 Hz
720×400 @ 88 Hz
800×600 @ 56 Hz
800×600 @ 60 Hz
800×600 @ 72 Hz
800×600 @ 75 Hz
832×624 @ 75 Hz
1024×768 @ 60 Hz
1024×768 @ 72 Hz
1024×768 @ 75 Hz
1024×768i @ 87 Hz
1152x864 @ 60Hz
1152x870 @ 75 Hz
1280x720 @ 60Hz
1280x800 @ 60Hz
1280x960 @ 60Hz
1280x1024 @ 60Hz
1280×1024 @ 75 Hz
1600x1000 @ 60Hz
1680x1050 @ 60Hz
1920x1080 @ 60Hz

HDMI
3840x2160@24Hz
3840x2160@25Hz
3840x2160@30Hz

DP
TODO

Type C
TODO

Possible to cycle inputs with MSI GD?

I'm on Windows and use MSI GD to switch input sources and load a profile at the same time. Currently I need to dedicate two macro-keys on my Logitech G815 keyboard to achieve this.

One key sends:

msigd.exe --game_mode user --input dp

while the other sends:

msigd.exe --game_mode rts --input hdmi2

which works great, although I wonder, could I somehow consolidate this to only use one key for it? So if the monitor is currently on DP input it will switch to HDMI 2 and vice-versa.

Unknown monitor MAG321CURV

DEBUG: Scanning USB devices...
DEBUG: Found device <MSI Gaming Controller> with serial <A02019010700>

DEBUG: Interface 0 alt 0 class 3
DEBUG: Endpoint 01 0040
DEBUG: Endpoint 1 does is not of type output
DEBUG: Endpoint 02 0040
DEBUG: Endpoint 2 does is not of type input
DEBUG: Found 1 interfaces, using interface 0
DEBUG: Setting Configuration
DEBUG: Special 01 b4: 01 5a 32 d6 05 b2 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 32 d6 05 b2 00 00 00 00 00 00 00 00 00 00
Unexpected id combination <00;><V43>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: Unknown Series
LED support:    None
s140:           <00;>
s150:           <V43>
DEBUG: Special 01 b0: 01 5a 35 03 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 32 d6 05 b2 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'DA2A011100337'
frequency : '060'
response_time : '000'
image_enhancement : '001'
brightness : '052'
contrast : '074'
sharpness : '000'
color_rgb : '0x949494'
osd_transparency : '000'
osd_timeout : '020'
DEBUG: Releasing interface 0

Windows 10

Unknown monitor MPG341CQR

Hi, the tool works fine for most options, great work! I was able to build a very basic argos shell extension in ubuntu to alter settings.

Not working currently as far as I can tell:
pro_mode with HDR
mystic
night_vision

DEBUG: Initializing HID lib
Unexpected id combination <00>><V09>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02018011700
Monitor Series: MAG321CQR
s140:           <00>>
s150:           <V09>
DEBUG: Special 01 b0: 01 5a 36 00 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 61 00 39 fa 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
mode : '011'
serial : '_____________'
frequency : '144'
msigd: Error querying device on game_mode - got '5b00000000'
Try 'msigd --help' for more information.
response_time : '001'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '000'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '_00'
alarm_position : '000'
screen_assistance : '__0'
free_sync : '001'
zero_latency : '001'
screen_size : '000'
pro_mode : '001'
eye_saver : '001'
image_enhancement : '000'
brightness : '060'
contrast : '060'
sharpness : '003'
color_preset : '001'
color_red : '050'
color_green : '050'
color_blue : '050'
color_rgb : 'bbb'
DEBUG: Error 0 reading from HID device
msigd: Error querying device on unknown435 - got ''
Try 'msigd --help' for more information.
input : '002'
pip : '000'
pip_input : '000'
pbp_input : '000'
pip_size : '001'
pip_position : '000'
msigd: Error querying device on osd_language - got '5b00__003_'
Try 'msigd --help' for more information.
osd_transparency : '000'
osd_timeout : '020'
sound_enable : '000'
rgb_led : '000'
navi_up : '002'
navi_down : '001'
navi_left : '003'
navi_right : '005'

Prestige PS341WU

lsusb -vd 1462:3fa4

Bus 003 Device 027: ID 1462:3fa4 Micro Star International 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1462 Micro Star International
  idProduct          0x3fa4 
  bcdDevice            0.00
  iManufacturer           1 MS
  iProduct                2 MSI Gaming Controller
  iSerial                 3 A02019010700
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           64
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      51
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)

./msigd --info --debug --query

DEBUG: Initializing HID lib
Unexpected unknown01 : 5b00
Unexpected unknown04 : 5b00
Unexpected unknown05 : 5b00
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:  0x1462
Product Id: 0x3fa4
Product:    MSI Gaming Controller
Serial:     A02019010700
DEBUG: Special 01 b0 : 01 5a 37 00 00 00 00 00 00 00 00 00 00 00 00 00 
DEBUG: Special 01 b4 : 01 5a 41 00 19 b2 00 00 00 00 00 00 00 00 00 00 
DEBUG: Special 01 35 38 30 30 31 39 30 0d : 01 35 62 30 30 00 00 00 30 30 30 0d 00 00 00 00 
msigd: Error querying device on power - got <5b00>
Try 'msigd --help' for more information.
unknown02 : 001
msigd: Error querying device on mode - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on unknown03 - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on frequency - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on game_mode - got <>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on unknown06 - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on response_time - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on enable_dynamic - got <>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on hdcr - got <>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on refresh_rate_display - got <>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on refresh_rate_position - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on alarm_clock - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on alarm_clock_index - got <>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on alarm_clock_time - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on alarm_clock_position - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on screen_assistance - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on unknown08 - got <>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on zero_latency - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on screen_size - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on night_vision - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on pro_mode - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on eye_saver - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on image_enhancement - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on brightness - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on contrast - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on sharpness - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on color_preset - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on red - got <>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on green - got <>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on blue - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on rgb - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on unknown09 - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on input - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on pip - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on pip_input - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on pbp_input - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on pip_size - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on pip_position - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on osd_language - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on osd_transparency - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on osd_timeout - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on sound_enable - got <5b00>
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on back_rgb - got <>
Try 'msigd --help' for more information.
msigd: Error querying device on navi_up - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on navi_down - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on navi_left - got <5b00>
Try 'msigd --help' for more information.
msigd: Error querying device on navi_right - got <5b00>
Try 'msigd --help' for more information.

MD272QP support

Listings for MD272QP on Fedora 36, kernel 6.1.10. Monitor plugged in to the PC through USB-B and HDMI. If needed I can provide additional info on USB-C side from a Win10 laptop. Monitor supported by MSI Productivity Intelligence app on Windows.

sudo ./msigd --debug --info --query
DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <A02019010700>
Unexpected id combination <00�><V51>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: Unknown Series
LED support:    None
s140:           <00�>
s150:           <V51>
DEBUG: Special 01 b0: 01 5a 52 00 15 00 00 d9 26 00 00 78 ac 01 01 00
DEBUG: Special 01 b4: 01 5a 02 8d 1f a4 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
macro_key : '000'
serial : 'PB1H102800267'
frequency : '075'
response_time : '001'
eye_saver : '000'
image_enhancement : '000'
brightness : '070'
contrast : '070'
sharpness : '000'
color_rgb : 'bbb'
osd_transparency : '002'
osd_timeout : '020

Listing for the monitor with mouse and keyboard plugged into the built in hub.

sudo lsusb -vd 1462:3fa4

Bus 005 Device 027: ID 1462:3fa4 Micro Star International MSI Gaming Controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1462 Micro Star International
  idProduct          0x3fa4 
  bcdDevice            0.00
  iManufacturer           1 MS
  iProduct                2 MSI Gaming Controller
  iSerial                 3 A02019010700
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      95
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)

Prestige PS341WU - DEBUG: Initializing HID lib msigd: No usb device found

➜ msigd git:(master) ✗ ./msigd
msigd: No usb device found
Try 'msigd --help' for more information.
➜ msigd git:(master) ✗ ./msigd
➜ ./msigd --debug --info --query
➜ msigd git:(master) ✗ ./msigd --debug --info --query
DEBUG: Initializing HID lib
msigd: No usb device found
Try 'msigd --help' for more information.
➜ msigd git:(master) ✗ xrandr
Screen 0: minimum 8 x 8, current 8960 x 2160, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 5120x2160+0+0 (normal left inverted right x axis y axis) 800mm x 330mm
3840x2160 60.00 + 59.94 50.00 29.97 25.00 23.98 23.98
5120x2160 60.00* 59.94 50.00 50.00 30.00 29.97
3440x1440 59.97 49.99 30.00
1920x1080 60.00 59.94 50.00 29.97 25.00 23.98
1680x1050 59.95
1600x1000 59.87
1280x1024 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 59.96
1024x768 60.00
800x600 60.32
720x480 59.94
640x480 59.94 59.93
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
USB-C-0 connected 3840x2160+5120+0 (normal left inverted right x axis y axis) 597mm x 336mm
3840x2160 60.00*+ 29.98
2560x1440 59.95
1920x1200 59.88
1920x1080 60.00 59.94 50.00 23.98
1680x1050 59.95
1600x1200 60.00
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 59.94
640x480 75.00 59.93 59.94

Well it used to work on my Manjaro install. Recently I've switched to arch on two machines and it doesn't work on either of them... I used to only get the problem when I forgot to plug in the USB cable. I have tried many different ports. It also works in Windows.

Thank you so much for your help!

Error setting --mode

Monitor: 272CQR

I cant change monitor mode.

# msigd --mode user
msigd: Error setting --mode
Try 'msigd --help' for more information.

Additional Key

Step 1
./msigd --query --info --debug
result unknown110 : 000

Step 2
Press key

Step 3
Wait any time

Step 4
./msigd --query --info --debug
result unknown110 : 001

Step 5
./msigd --query --info --debug
result unknown110 : 000

Resume:
I think “unknown110” means “001” if the button was pressed before checking and reset button state. For sure there is also the ability to configure the action at press of a button
It would be nice if wait_key appeared for scripts and the ability to connect a button like /dev/input

Compile errors, MSI MPG341QR on Garuda Linux (arch btw)

Hey! I got an MSI MPG341QR for my Garuda Linux (arch based), so I tried to make TARGETOS=arch, but there are a bunch of errors and doesn't compile.

Already tried:

  • make, make TARGETOS=osx (lol)

  • make clean, then: make USE_HIDAPI=0 &> moar-errors

  • reinstalled dependencies:

╰─λ sudo pacman -S libusb hidapi
warning: libusb-1.0.26-2 is up to date -- reinstalling
warning: hidapi-0.13.1-2 is up to date -- reinstalling
  • Installing dev/devel libraries, turns out Arch Linux based distros does not split its packages resulting in:
yay -S libusb-dev libhidapi-dev libusb-devel hidapi-devel
 -> No AUR package found for libusb-dev
 -> No AUR package found for libhidapi-dev
 -> No AUR package found for libusb-devel
 -> No AUR package found for hidapi-devel
  • Editing makefile changing "-lhidapi" to "lhidapi-hidraw" or "lhidapi-libusb" and several other creative options without success.

Could you please kindly help? Thank you in advance! :)


P.D. More info:

neofetch dixit:

OS: Garuda Linux 
Kernel: 6.3.1-zen2-1-zen 
Uptime: 5 hours, 11 mins 
Packages: 2084 (pacman) 
Shell: bash 
DE: Hyprland 
WM: sway 
Terminal: foot 
CPU: 13th Gen Intel i5-13600K (20) @ 5.2GHz 
GPU: AMD ATI Radeon RX 6650 XT / 6700S / 6800S 
Memory: 11.19GiB / 31.12GiB 

[🔍] × sudo lsusb

Bus 002 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 1462:3fa4 Micro Star International MSI Gaming Controller
Bus 001 Device 007: ID 0bda:4c3a Realtek Semiconductor Corp. USB Audio
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 008: ID 1532:0071 Razer USA, Ltd RZ01-0254 Gaming Mouse [DeathAdder Essential White Edition]
Bus 001 Device 006: ID 08bb:2704 Texas Instruments PCM2704 16-bit stereo audio DAC
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Unknow monitor MAG241C

  • The id of your monitor

MAG241C

  • The output of msigd --debug --info --query

DEBUG: Initializing HID lib
Unexpected id combination <002><V18>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A**********0
Monitor Series: MAG32 Series
s140:           <002>
s150:           <V18>
DEBUG: Special 01 b0: 01 5a 15 00 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 02 50 20 7e 00 00 00 00 00 00 00 00 00 00
DEBUG: Error 0 reading from HID device
DEBUG: Error receiving 01 d0 62 30 30 31 30 30 30 30 30 0d: 0
macro_key : '000'
mode : '000'
serial : 'EA**********5'
frequency : '060'
game_mode : '000'
unknown210 : '009'
response_time : '000'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '000'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '000'
screen_assistance : '000'
unknown280 : '001'
DEBUG: Error 0 reading from HID device
msigd: Error querying device on zero_latency - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on screen_size - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on night_vision - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on pro_mode - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on eye_saver - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on image_enhancement - got ''
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on brightness - got ''
Try 'msigd --help' for more information.
msigd: Error querying device on contrast - got '56006'
Try 'msigd --help' for more information.
DEBUG: Error 0 reading from HID device
msigd: Error querying device on sharpness - got ''
Try 'msigd --help' for more information.
color_preset : '001'
color_red : '100'
color_green : '100'
color_blue : '100'
color_rgb : '0x949494'
unknown435 : '000'
input : '002'
msigd: Error querying device on pip - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_input - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pbp_input - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_size - got '56006'
Try 'msigd --help' for more information.
msigd: Error querying device on pip_position - got '56006'
Try 'msigd --help' for more information.
osd_language : '001'
osd_transparency : '000'
osd_timeout : '020'
sound_enable : '001'
unknown860 : '001'
navi_up : '002'
navi_down : '003'
navi_left : '001'
navi_right : '005'
  • For linux the output of lsusb

Bus 003 Device 006: ID 1462:3fa4 Micro Star International USB2.0 Hub

  • Your operating system and version

Linux 5.4.33-1-MANJARO

  • Any other information which might be helpful

I don't know but I can give more information as you need

MAG321QR Support

└─[0] <git:(master 4b5c4f0✈) > sudo ./msigd --info --debug --query
DEBUG: Initializing HID lib
DEBUG: Found <MSI Gaming Controller> with serial <A02019010700>
Unexpected id combination <00{><V51>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id:      0x1462
Product Id:     0x3fa4
Product:        MSI Gaming Controller
Serial:         A02019010700
Monitor Series: Unknown Series
LED support:    None
s140:           <00{>
s150:           <V51>
DEBUG: Special 01 b0: 01 5a 46 18 15 00 00 d9 26 00 00 06 58 01 00 00
DEBUG: Special 01 b4: 01 5a 02 90 07 40 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 d0 62 30 30 31 30 30 30 30 30 0d: 01 d0 36 30 30 2b 0d 30 30 30 30 0d 00 00 00 00
DEBUG: Error -1 writing to HID device
msigd: Error querying device on macro_key - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on serial - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on frequency - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on response_time - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on image_enhancement - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on brightness - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on contrast - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on sharpness - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on color_rgb - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on osd_transparency - got ''
Try 'msigd --help' for more information.
DEBUG: Error -1 writing to HID device
msigd: Error querying device on osd_timeout - got ''
Try 'msigd --help' for more information.

Unknown Monitor: MAG321CQR

Operating system: 5.6.19-2-MANJARO #1 SMP

Monitor: MSI Optix MAG321CQR

contents of ./msigd --info --debug --query

DEBUG: Initializing HID lib
Unexpected id combination <00:>
Detected an unknown monitor. Please report the output of
'msigd --info --debug --query' as an issue and also provide
the ID (MAG...) of your monitor. Thank you!
Vendor Id: 0x1462
Product Id: 0x3fa4
Product: MSI Gaming Controller
Serial: A02018011700
Monitor Series: MAG32 Series
s140: <00:>
s150:
DEBUG: Special 01 b0: 01 5a 23 03 00 00 00 00 00 00 00 00 00 00 00 00
DEBUG: Special 01 b4: 01 5a 02 e7 07 51 00 00 00 00 00 00 00 00 00 00
DEBUG: Error 0 reading from HID device
DEBUG: Error receiving 01 d0 62 30 30 31 30 30 30 30 30 0d: 0
macro_key : '000'
mode : '004'
serial : 'KA3H019040486'
frequency : '144'
game_mode : '004'
unknown210 : '009'
response_time : '000'
enable_dynamic : '000'
hdcr : '000'
refresh_display : '000'
refresh_position : '000'
alarm_clock : '000'
alarm_clock_index : '000'
alarm_clock_time : '00l'
alarm_position : '001'
screen_assistance : '000'
unknown280 : '001'
zero_latency : '001'
screen_size : '003'
msigd: Error querying device on night_vision - got '56006'
Try 'msigd --help' for more information.
pro_mode : '001'
eye_saver : '000'
image_enhancement : '001'
brightness : '080'
contrast : '060'
sharpness : '002'
color_preset : '000'
color_red : '100'
color_green : '100'
color_blue : '100'
color_rgb : '0x949494'
unknown435 : '000'
input : '002'
pip : '000'
pip_input : '002'
pbp_input : '002'
pip_size : '000'
pip_position : '000'
osd_language : '001'
osd_transparency : '000'
osd_timeout : '020'
sound_enable : '001'
rgb_led : '001'
navi_up : '002'
navi_down : '003'
navi_left : '004'
navi_right : '005'

contents of lsusb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c08b Logitech, Inc. G502 HERO Gaming Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 1b1c:1c0b Corsair
Bus 001 Device 006: ID 0b0e:0305 GN Netcom Jabra EVOLVE LINK MS
Bus 001 Device 015: ID 1004:633e LG Electronics, Inc. G2/G3 Android Phone [MTP/PTP/Download mode]
Bus 001 Device 003: ID 1b1c:1b3d Corsair Corsair Gaming K55 RGB Keyboard
Bus 001 Device 008: ID 2516:0051 Cooler Master Co., Ltd. AMD SR4 lamplight Control
Bus 001 Device 004: ID 1462:3fa4 Micro Star International LGMS550
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

How to run on Manjaro

Sorry for such a noob question.
I am using Manjaro 20.01.

I ran

sudo pacman -S libusb hidapi
make TARGETOS=arch

The output suggests it's successfully installed

➜ msigd git:(master) sudo pacman -S libusb hidapi
make TARGETOS=arch
[sudo] password for zack:
warning: libusb-1.0.23-2 is up to date -- reinstalling
warning: hidapi-0.9.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) hidapi-0.9.0-1 libusb-1.0.23-2

Total Installed Size: 0.26 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring [############################] 100%
(2/2) checking package integrity [############################] 100%
(2/2) loading package files [############################] 100%
(2/2) checking for file conflicts [############################] 100%
(2/2) checking available disk space [############################] 100%
:: Processing package changes...
(1/2) reinstalling libusb [############################] 100%
(2/2) reinstalling hidapi [############################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
creating .depend
Compiling src/msigd.cpp...
In file included from src/msigd.cpp:20:
src/phid.h: In member function ‘int usbdev_t::control_msg_write(int, int, int, int, void*, int, int)’:
src/phid.h:62:30: warning: unused parameter ‘timeout’ [-Wunused-parameter]
62 | void bytes, int size, int timeout)
| ~~~~^~~~~~~
src/phid.h: In member function ‘int usbdev_t::control_msg_read(int, int, int, int, void
, int, int)’:
src/phid.h:81:27: warning: unused parameter ‘requesttype’ [-Wunused-parameter]
81 | int control_msg_read(int requesttype, int request, int value, int index,
| ~~~~^~~~~~~~~~~
src/phid.h:81:44: warning: unused parameter ‘request’ [-Wunused-parameter]
81 | int control_msg_read(int requesttype, int request, int value, int index,
| ~~~~^~~~~~~
src/phid.h:81:57: warning: unused parameter ‘value’ [-Wunused-parameter]
81 | int control_msg_read(int requesttype, int request, int value, int index,
| ~~~~^~~~~
src/phid.h:81:68: warning: unused parameter ‘index’ [-Wunused-parameter]
81 | int control_msg_read(int requesttype, int request, int value, int index,
| ~~~~^~~~~
src/phid.h:82:9: warning: unused parameter ‘bytes’ [-Wunused-parameter]
82 | void *bytes, int size, int timeout)
| ~~~~~~^~~~~
src/phid.h:82:20: warning: unused parameter ‘size’ [-Wunused-parameter]
82 | void *bytes, int size, int timeout)
| ~~~~^~~~
src/phid.h:82:30: warning: unused parameter ‘timeout’ [-Wunused-parameter]
82 | void bytes, int size, int timeout)
| ~~~~^~~~~~~
src/phid.h: In member function ‘int usbdev_t::read(void
, unsigned int, unsigned int)’:
src/phid.h:155:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
155 | if (result < bs)
| ~~~~~~~~^~~~
src/msigd.cpp: In member function ‘virtual std::string alarm4x_t::decode(std::string)’:
src/msigd.cpp:437:33: warning: unused parameter ‘val’ [-Wunused-parameter]
437 | std::string decode(std::string val) override
| ~~~~~~~~~~~~^~~
Linking msigd...
g++ -o msigd src/msigd.o -lusb-1.0 -lhidapi-hidraw

However, when I have

➜  ~ msigd             
zsh: command not found: msigd

Not working in bash after quitting zsh neither.
Directly running the compiled file does not work neither.
Did the things in the security section, restarted monitor... not working...

Could you please kindly help? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.