diff --git a/OpenRGB.pro b/OpenRGB.pro index 7b59bd7bf..9f882385b 100644 --- a/OpenRGB.pro +++ b/OpenRGB.pro @@ -437,6 +437,7 @@ win32:contains(QMAKE_TARGET.arch, x86_64) { copydata.commands += $(COPY_FILE) \"$$shell_path($$PWD/dependencies/PawnIO/modules/SmbusPIIX4.bin )\" \"$$shell_path($$DESTDIR)\" $$escape_expand(\n\t) copydata.commands += $(COPY_FILE) \"$$shell_path($$PWD/dependencies/PawnIO/modules/SmbusI801.bin )\" \"$$shell_path($$DESTDIR)\" $$escape_expand(\n\t) copydata.commands += $(COPY_FILE) \"$$shell_path($$PWD/dependencies/PawnIO/modules/SmbusNCT6793.bin )\" \"$$shell_path($$DESTDIR)\" $$escape_expand(\n\t) + copydata.commands += $(COPY_FILE) \"$$shell_path($$PWD/dependencies/PawnIO/modules/SmbusIntelSkylakeIMC.bin )\" \"$$shell_path($$DESTDIR)\" $$escape_expand(\n\t) copydata.commands += $(COPY_FILE) \"$$shell_path($$PWD/dependencies/PawnIO/modules/LpcIO.bin )\" \"$$shell_path($$DESTDIR)\" $$escape_expand(\n\t) first.depends = $(first) copydata export(first.depends) diff --git a/dependencies/PawnIO/modules/SmbusIntelSkylakeIMC.bin b/dependencies/PawnIO/modules/SmbusIntelSkylakeIMC.bin new file mode 100644 index 000000000..c96ec686d Binary files /dev/null and b/dependencies/PawnIO/modules/SmbusIntelSkylakeIMC.bin differ diff --git a/i2c_smbus/Windows/i2c_smbus_pawnio.cpp b/i2c_smbus/Windows/i2c_smbus_pawnio.cpp index fe643f974..e493e17c7 100644 --- a/i2c_smbus/Windows/i2c_smbus_pawnio.cpp +++ b/i2c_smbus/Windows/i2c_smbus_pawnio.cpp @@ -385,6 +385,15 @@ bool i2c_smbus_pawnio_detect() ResourceManager::get()->RegisterI2CBus(bus); } + /*-----------------------------------------------------*\ + | Try to load Intel Skylake IMC SMBus driver | + \*-----------------------------------------------------*/ + if(i2c_smbus_pawnio::start_pawnio("SmbusIntelSkylakeIMC.bin", &pawnio_handle) == S_OK) + { + bus = new i2c_smbus_pawnio(pawnio_handle, "Intel Skylake IMC"); + ResourceManager::get()->RegisterI2CBus(bus); + } + return(true); }