Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Logitech G502 X Plus (wired and wireless) #193

Open
copystring opened this issue Sep 10, 2023 · 11 comments
Open

Add support for Logitech G502 X Plus (wired and wireless) #193

copystring opened this issue Sep 10, 2023 · 11 comments

Comments

@copystring
Copy link

Artemis does not detect the mouse via the Logitech plugin. How can I help add support for this? Any logs needed? Device IDs?

Here it is from device manager:
HID\VID_046D&PID_C095&MI_00\7&1A051DEC&0&0000 - wired
HID\VID_046D&PID_C547&MI_00\7&32115D8F&0&0000 - wireless

@rodneypantonial
Copy link

One year later, this still isn't supported. Please support. Artemis RGB is really great but the device list is outdated due to dependent projects not getting updated on time.

@copystring
Copy link
Author

@RobertBeekman please take a look at this. We'd appreciate it a lot, if you would be able to add support for this mouse. The mouse can be operated wired and wireless. Hence, the two IDs

@RobertBeekman
Copy link
Member

Hey,

Sorry for not getting back to you guys,

I have a build of the plugin here that includes the mouse, but since it's the first mouse with 8 lighting zones I'm not sure it'll work right away. Please download the plugin and import it into Artemis and see how it goes.

I also won't be able to provide a layout since I have no idea which LED ID corresponds to which position on the mouse, but perhaps one of you can whip one up following the guide, assuming this plugin works

Artemis.Plugins.Devices.Logitech-g502-x-plus.zip

@copystring
Copy link
Author

Thank you @RobertBeekman. I've provided layouts for mainboards before so I can provide a layout for this mouse. I'll take a look at this later or on the weekend.

@copystring
Copy link
Author

I've loaded the plugin into my artemis installation. It seems like it finds the mouse in the log but it does not appear in the devices tab.
Anything I'm missing?

Here's my log:

2024-08-02 21:34:19.461 [INF] [] No legacy database found, nothing to migrate
2024-08-02 21:34:21.639 [INF] [Artemis.UI.Services.Updating.UpdateService] Update service initialized for master channel
2024-08-02 21:34:21.675 [INF] [Artemis.Core.Services.CoreService] Initializing Artemis Core version 1.2024.0722.6
2024-08-02 21:34:21.675 [INF] [Artemis.Core.Services.CoreService] Startup arguments: []
2024-08-02 21:34:21.677 [INF] [Artemis.Core.Services.CoreService] Elevated permissions: false
2024-08-02 21:34:21.678 [INF] [Artemis.Core.Services.CoreService] Stopwatch high resolution: true
2024-08-02 21:34:21.679 [INF] [Artemis.Core.Services.CoreService] Setting logging level to "Debug"
2024-08-02 21:34:21.681 [DBG] [Artemis.Core.Services.CoreService] Forcing plugins to use HidSharp 2.1.0.0
2024-08-02 21:34:21.868 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin exception
Artemis.Core.ArtemisPluginException: Failed to load plugin at C:\ProgramData\Artemis\Plugins\Artemis.Plugins.Devices.Roccat
 ---> Artemis.Core.ArtemisPluginException: Failed to initialize the plugin assembly
 ---> System.AggregateException: One or more errors occurred. (Method 'Disable' in type 'Artemis.Plugins.Devices.Roccat.RoccatDeviceProvider' from assembly 'Artemis.Plugins.Devices.Roccat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.)
 ---> System.TypeLoadException: Method 'Disable' in type 'Artemis.Plugins.Devices.Roccat.RoccatDeviceProvider' from assembly 'Artemis.Plugins.Devices.Roccat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Artemis.Core.Services.PluginManagementService.LoadPlugin(DirectoryInfo directory) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 420
   at Artemis.Core.Services.PluginManagementService.LoadPlugins(Boolean isElevated) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 268
   --- End of inner exception stack trace ---
2024-08-02 21:34:21.919 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin exception
Artemis.Core.ArtemisPluginException: Failed to load plugin at C:\ProgramData\Artemis\Plugins\Artemis.Plugins.LayerBrushes.ColorRgbNet
 ---> Artemis.Core.ArtemisPluginException: Failed to initialize the plugin assembly
 ---> System.AggregateException: One or more errors occurred. (Could not load type 'Artemis.Core.LayerBrushes.RgbNetLayerBrush`1' from assembly 'Artemis.Core, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.)
 ---> System.TypeLoadException: Could not load type 'Artemis.Core.LayerBrushes.RgbNetLayerBrush`1' from assembly 'Artemis.Core, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Artemis.Core.Services.PluginManagementService.LoadPlugin(DirectoryInfo directory) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 420
   at Artemis.Core.Services.PluginManagementService.LoadPlugins(Boolean isElevated) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 268
   --- End of inner exception stack trace ---
2024-08-02 21:34:21.934 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin exception
Artemis.Core.ArtemisPluginException: Failed to load plugin at C:\ProgramData\Artemis\Plugins\Artemis.Plugins.LayerEffects.AudioVisualization
 ---> Artemis.Core.ArtemisCoreException: Cannot load plugin Audio Visualization v1.0.1.595 - c9af6416-03ae-477f-bbc2-42f0a51009e1 because it is using a GUID already used by another plugin
   at Artemis.Core.Services.PluginManagementService.LoadPlugin(DirectoryInfo directory) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 369
   at Artemis.Core.Services.PluginManagementService.LoadPlugins(Boolean isElevated) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 268
   --- End of inner exception stack trace ---
2024-08-02 21:34:21.967 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin exception
Artemis.Core.ArtemisPluginException: Failed to load plugin at C:\ProgramData\Artemis\Plugins\Artemis.Plugins.Modules.General-0de2991a
 ---> Artemis.Core.ArtemisPluginException: Failed to initialize the plugin assembly
 ---> System.AggregateException: One or more errors occurred. (Could not load file or assembly 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden.) (Could not load file or assembly 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden.) (Could not load type 'Artemis.UI.Shared.Modules.ModuleViewModel' from assembly 'Artemis.UI.Shared, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.) (Could not load type 'Artemis.Core.Services.ColorSwatch' from assembly 'Artemis.Core, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.)
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden.
File name: 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   --- End of inner exception stack trace ---
 ---> (Inner Exception #1) System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden.
File name: 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'<---

 ---> (Inner Exception #2) System.TypeLoadException: Could not load type 'Artemis.UI.Shared.Modules.ModuleViewModel' from assembly 'Artemis.UI.Shared, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.<---

 ---> (Inner Exception #3) System.TypeLoadException: Could not load type 'Artemis.Core.Services.ColorSwatch' from assembly 'Artemis.Core, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.<---

   --- End of inner exception stack trace ---
   at Artemis.Core.Services.PluginManagementService.LoadPlugin(DirectoryInfo directory) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 420
   at Artemis.Core.Services.PluginManagementService.LoadPlugins(Boolean isElevated) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 268
   --- End of inner exception stack trace ---
2024-08-02 21:34:22.077 [DBG] [Artemis.Core.Services.PluginManagementService] Loaded 36 plugin(s)
2024-08-02 21:34:22.094 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin feature 'Artemis.Plugins.Audio.DataModelExpansion.PlaybackVolumeModule - Audio v1.0.0.0 - c9af6416-03ae-477f-bbc2-42f0a51009e1' failed to enable during attempt (1/3), scheduling a retry in "00:00:10".
Artemis.Core.ArtemisPluginLockException: Found a lock file, skipping automatic load. Please manually re-enable the plugin.
   at Artemis.Core.PluginFeature.SetEnabled(Boolean enable, Boolean isAutoEnable) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 142
   at Artemis.Core.Services.PluginManagementService.EnablePluginFeature(PluginFeature pluginFeature, Boolean saveState, Boolean isAutoEnable) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 743
2024-08-02 21:34:22.456 [DBG] [Artemis.Core.Services.DeviceService] Device provider LogitechDeviceProvider added Logitech G915
2024-08-02 21:34:22.460 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found 2 Logitech device(s)
2024-08-02 21:34:22.461 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found Logitech device with PID 0xC232
2024-08-02 21:34:22.461 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found Logitech device USB Receiver with PID 0xC547
2024-08-02 21:34:22.559 [INF] [Artemis.Plugins.Modules.DefaultProfile.DefaultProfileModule] There are one or more profiles. No new default profiles will be created
2024-08-02 21:34:22.615 [WRN] [Artemis.Core.Services.PluginManagementService] Skipped enabling plugin JetBrains Profiling v1.0.0.0 - 27d124e3-48e8-4b0a-8a5e-d5e337a88d4a because not all prerequisites are met
2024-08-02 21:34:22.638 [WRN] [Artemis.Core.Services.PluginManagementService] Skipped enabling plugin JavaScript Scripting Provider v1.0.0.0 - dd35f1b7-3d3f-4f90-a60f-40354783049b because not all prerequisites are met
2024-08-02 21:34:22.645 [DBG] [Artemis.Core.Services.PluginManagementService] Enabled 20 plugin(s)
2024-08-02 21:34:22.648 [INF] [Artemis.Core.Services.RenderService] Applying Vulkan graphics context
2024-08-02 21:34:23.591 [INF] [Artemis.UI.Services.Updating.UpdateService] Performing auto-update check
2024-08-02 21:34:24.029 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to home
2024-08-02 21:34:24.036 [INF] [Artemis.UI.Services.Updating.WorkshopUpdateService] Checking for workshop updates
2024-08-02 21:34:24.126 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to home
2024-08-02 21:34:24.264 [INF] [Artemis.UI.Services.Updating.WorkshopUpdateService] Checked 2 entries, updated 0
2024-08-02 21:34:25.775 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings
2024-08-02 21:34:25.971 [INF] [Artemis.UI.Shared.Routing.Navigation] Cancelled navigation to settings
2024-08-02 21:34:25.971 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/general
2024-08-02 21:34:26.116 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/general
2024-08-02 21:34:26.541 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/general
2024-08-02 21:34:26.666 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/general
2024-08-02 21:34:27.544 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/plugins
2024-08-02 21:34:27.579 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/plugins
2024-08-02 21:34:29.067 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/devices
2024-08-02 21:34:29.125 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/devices
2024-08-02 21:34:32.096 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin feature 'Artemis.Plugins.Audio.DataModelExpansion.PlaybackVolumeModule - Audio v1.0.0.0 - c9af6416-03ae-477f-bbc2-42f0a51009e1' failed to enable during attempt (2/3), scheduling a retry in "00:00:20".
Artemis.Core.ArtemisPluginLockException: Found a lock file, skipping automatic load. Please manually re-enable the plugin.
   at Artemis.Core.PluginFeature.SetEnabled(Boolean enable, Boolean isAutoEnable) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 140
   at Artemis.Core.Services.PluginManagementService.EnablePluginFeature(PluginFeature pluginFeature, Boolean saveState, Boolean isAutoEnable) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 743
2024-08-02 21:34:52.097 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin feature 'Artemis.Plugins.Audio.DataModelExpansion.PlaybackVolumeModule - Audio v1.0.0.0 - c9af6416-03ae-477f-bbc2-42f0a51009e1' failed to enable during attempt (3/3), scheduling a retry in "00:00:30".
Artemis.Core.ArtemisPluginLockException: Found a lock file, skipping automatic load. Please manually re-enable the plugin.
   at Artemis.Core.PluginFeature.SetEnabled(Boolean enable, Boolean isAutoEnable) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 140
   at Artemis.Core.Services.PluginManagementService.EnablePluginFeature(PluginFeature pluginFeature, Boolean saveState, Boolean isAutoEnable) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 743
2024-08-02 21:35:22.097 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin feature 'Artemis.Plugins.Audio.DataModelExpansion.PlaybackVolumeModule - Audio v1.0.0.0 - c9af6416-03ae-477f-bbc2-42f0a51009e1' failed to enable after 3 attempts, giving up.
Artemis.Core.ArtemisPluginLockException: Found a lock file, skipping automatic load. Please manually re-enable the plugin.
   at Artemis.Core.PluginFeature.SetEnabled(Boolean enable, Boolean isAutoEnable) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 140
   at Artemis.Core.Services.PluginManagementService.EnablePluginFeature(PluginFeature pluginFeature, Boolean saveState, Boolean isAutoEnable) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 743
2024-08-02 21:35:43.475 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/plugins
2024-08-02 21:35:43.481 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/plugins
2024-08-02 21:35:44.706 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/devices
2024-08-02 21:35:44.721 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/devices
2024-08-02 21:35:47.012 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to surface-editor
2024-08-02 21:35:47.111 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to surface-editor
2024-08-02 21:36:37.155 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings
2024-08-02 21:36:37.200 [INF] [Artemis.UI.Shared.Routing.Navigation] Cancelled navigation to settings
2024-08-02 21:36:37.200 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/general
2024-08-02 21:36:37.216 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/general
2024-08-02 21:36:37.324 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/general
2024-08-02 21:36:37.398 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/general
2024-08-02 21:36:38.383 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to settings/devices
2024-08-02 21:36:38.393 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to settings/devices

@RobertBeekman
Copy link
Member

Hey, that doesn't seem to be running the updated code. I've added an extra log line to this version so we can be sure.
Extract the contents of the ZIP file to C:\ProgramData\Artemis\Plugins\Artemis.Plugins.Devices.Logitech-62a45c0c

Artemis.Plugins.Devices.Logitech.zip

@copystring
Copy link
Author

OK. Cool. Here's the new log with the plugin linked above and extracted to C:\ProgramData\Artemis\Plugins\Artemis.Plugins.Devices.Logitech-62a45c0c

2024-08-02 23:00:51.853 [INF] [] No legacy database found, nothing to migrate
2024-08-02 23:00:54.314 [INF] [Artemis.UI.Services.Updating.UpdateService] Update service initialized for master channel
2024-08-02 23:00:54.356 [INF] [Artemis.Core.Services.CoreService] Initializing Artemis Core version 1.2024.0722.6
2024-08-02 23:00:54.356 [INF] [Artemis.Core.Services.CoreService] Startup arguments: []
2024-08-02 23:00:54.358 [INF] [Artemis.Core.Services.CoreService] Elevated permissions: false
2024-08-02 23:00:54.359 [INF] [Artemis.Core.Services.CoreService] Stopwatch high resolution: true
2024-08-02 23:00:54.360 [INF] [Artemis.Core.Services.CoreService] Setting logging level to "Debug"
2024-08-02 23:00:54.361 [DBG] [Artemis.Core.Services.CoreService] Forcing plugins to use HidSharp 2.1.0.0
2024-08-02 23:00:54.561 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin exception
Artemis.Core.ArtemisPluginException: Failed to load plugin at C:\ProgramData\Artemis\Plugins\Artemis.Plugins.Devices.Roccat
 ---> Artemis.Core.ArtemisPluginException: Failed to initialize the plugin assembly
 ---> System.AggregateException: One or more errors occurred. (Method 'Disable' in type 'Artemis.Plugins.Devices.Roccat.RoccatDeviceProvider' from assembly 'Artemis.Plugins.Devices.Roccat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.)
 ---> System.TypeLoadException: Method 'Disable' in type 'Artemis.Plugins.Devices.Roccat.RoccatDeviceProvider' from assembly 'Artemis.Plugins.Devices.Roccat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Artemis.Core.Services.PluginManagementService.LoadPlugin(DirectoryInfo directory) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 420
   at Artemis.Core.Services.PluginManagementService.LoadPlugins(Boolean isElevated) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 268
   --- End of inner exception stack trace ---
2024-08-02 23:00:54.622 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin exception
Artemis.Core.ArtemisPluginException: Failed to load plugin at C:\ProgramData\Artemis\Plugins\Artemis.Plugins.LayerBrushes.ColorRgbNet
 ---> Artemis.Core.ArtemisPluginException: Failed to initialize the plugin assembly
 ---> System.AggregateException: One or more errors occurred. (Could not load type 'Artemis.Core.LayerBrushes.RgbNetLayerBrush`1' from assembly 'Artemis.Core, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.)
 ---> System.TypeLoadException: Could not load type 'Artemis.Core.LayerBrushes.RgbNetLayerBrush`1' from assembly 'Artemis.Core, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Artemis.Core.Services.PluginManagementService.LoadPlugin(DirectoryInfo directory) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 420
   at Artemis.Core.Services.PluginManagementService.LoadPlugins(Boolean isElevated) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 268
   --- End of inner exception stack trace ---
2024-08-02 23:00:54.638 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin exception
Artemis.Core.ArtemisPluginException: Failed to load plugin at C:\ProgramData\Artemis\Plugins\Artemis.Plugins.LayerEffects.AudioVisualization
 ---> Artemis.Core.ArtemisCoreException: Cannot load plugin Audio Visualization v1.0.1.595 - c9af6416-03ae-477f-bbc2-42f0a51009e1 because it is using a GUID already used by another plugin
   at Artemis.Core.Services.PluginManagementService.LoadPlugin(DirectoryInfo directory) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 369
   at Artemis.Core.Services.PluginManagementService.LoadPlugins(Boolean isElevated) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 268
   --- End of inner exception stack trace ---
2024-08-02 23:00:54.676 [WRN] [Artemis.Core.Services.PluginManagementService] Plugin exception
Artemis.Core.ArtemisPluginException: Failed to load plugin at C:\ProgramData\Artemis\Plugins\Artemis.Plugins.Modules.General-0de2991a
 ---> Artemis.Core.ArtemisPluginException: Failed to initialize the plugin assembly
 ---> System.AggregateException: One or more errors occurred. (Could not load file or assembly 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden.) (Could not load file or assembly 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden.) (Could not load type 'Artemis.UI.Shared.Modules.ModuleViewModel' from assembly 'Artemis.UI.Shared, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.) (Could not load type 'Artemis.Core.Services.ColorSwatch' from assembly 'Artemis.Core, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.)
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden.
File name: 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   --- End of inner exception stack trace ---
 ---> (Inner Exception #1) System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Das System kann die angegebene Datei nicht finden.
File name: 'PresentationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'<---

 ---> (Inner Exception #2) System.TypeLoadException: Could not load type 'Artemis.UI.Shared.Modules.ModuleViewModel' from assembly 'Artemis.UI.Shared, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.<---

 ---> (Inner Exception #3) System.TypeLoadException: Could not load type 'Artemis.Core.Services.ColorSwatch' from assembly 'Artemis.Core, Version=1.2024.722.6, Culture=neutral, PublicKeyToken=null'.<---

   --- End of inner exception stack trace ---
   at Artemis.Core.Services.PluginManagementService.LoadPlugin(DirectoryInfo directory) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 420
   at Artemis.Core.Services.PluginManagementService.LoadPlugins(Boolean isElevated) in D:\a\Artemis\Artemis\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 268
   --- End of inner exception stack trace ---
2024-08-02 23:00:54.762 [DBG] [Artemis.Core.Services.PluginManagementService] Loaded 36 plugin(s)
2024-08-02 23:00:55.715 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Running pre-release version of the Logitech plugin
2024-08-02 23:00:56.208 [DBG] [Artemis.Core.Services.DeviceService] Device provider LogitechDeviceProvider added Logitech G915
2024-08-02 23:00:56.218 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found 2 Logitech device(s)
2024-08-02 23:00:56.221 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found Logitech device USB Receiver with PID 0xC547
2024-08-02 23:00:56.223 [DBG] [Artemis.Plugins.Devices.Logitech.LogitechDeviceProvider] Found Logitech device with PID 0xC232
2024-08-02 23:00:56.538 [INF] [Artemis.Plugins.Modules.DefaultProfile.DefaultProfileModule] There are one or more profiles. No new default profiles will be created
2024-08-02 23:00:56.627 [WRN] [Artemis.Core.Services.PluginManagementService] Skipped enabling plugin JetBrains Profiling v1.0.0.0 - 27d124e3-48e8-4b0a-8a5e-d5e337a88d4a because not all prerequisites are met
2024-08-02 23:00:56.658 [WRN] [Artemis.Core.Services.PluginManagementService] Skipped enabling plugin JavaScript Scripting Provider v1.0.0.0 - dd35f1b7-3d3f-4f90-a60f-40354783049b because not all prerequisites are met
2024-08-02 23:00:56.670 [DBG] [Artemis.Core.Services.PluginManagementService] Enabled 20 plugin(s)
2024-08-02 23:00:56.675 [INF] [Artemis.Core.Services.RenderService] Applying Vulkan graphics context
2024-08-02 23:00:57.972 [INF] [Artemis.UI.Services.Updating.UpdateService] Performing auto-update check
2024-08-02 23:00:58.731 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigating to home
2024-08-02 23:00:58.736 [INF] [Artemis.UI.Services.Updating.WorkshopUpdateService] Checking for workshop updates
2024-08-02 23:00:58.845 [INF] [Artemis.UI.Shared.Routing.Navigation] Navigated to home
2024-08-02 23:00:58.975 [INF] [Artemis.UI.Services.Updating.WorkshopUpdateService] Checked 2 entries, updated 0

@RobertBeekman
Copy link
Member

I messaged you on Discord but I suspect you're not using it (anymore)
Try plugging it in directly and not via the wireless receiver

@DarkNecrotic
Copy link

Can you please help us with getting the G502Xplus lighting to work. I really like Artemis, but can't use it, since it doesn't support G502Xplus mouse lighting.
What exactly do we have to do, to make it work?

@copystring
Copy link
Author

Hey @RobertBeekman. Any news or progress on this?

@Ax0rus
Copy link

Ax0rus commented Oct 6, 2024

@RobertBeekman I've downloaded the plugin you posted Aug 3.
Looks like it finds the mouse correctly.
Startup Log now has a new line
2024-10-06 17:12:22.672 [DBG] [Artemis.Core.Services.DeviceService] Device provider LogitechDeviceProvider added Logitech G502 X Plus

The mouse shows up in the surface editor as a row of 8 LEDs.
Unfortunately, I'm not able to do anything further. If I go into properties for the mouse and highlight one of the LEDs, Artemis acts like it's sending a signal to the mouse, but the actual lights in the mouse don't change. So I'm not able to construct a layout or actually do anything to the mouse lights.
The LEDs in the mouse stay as however they were set in the G Hub software prior to running Artemis. G Hub reports that device lighting is being controlled by Artemis.UI.Windows.exe (as it does for my G815 keyboard).

This behaviour is similar to a bug that I have with Artemis and my keyboard. In that case, the LED brightness button and the media control buttons appear in Artemis on the layout, and Artemis shows those lights animating correctly in the Surface Editor. But the actual lights in the keyboard don't change. All the other keys light as expected, as does the logo in the top left corner.

I posted the issue with the keyboard in the discord earlier today (username Ax0r)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants