mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 23:37:48 -05:00
Disable libusb wrapped HID devices on non-glibc Linux as it segfaults on musl at the moment (tested on postmarketOS)
This commit is contained in:
@@ -1239,6 +1239,7 @@ void ResourceManager::DetectDevicesThreadFunction()
|
||||
| Reset current device pointer to first device |
|
||||
\*-------------------------------------------------*/
|
||||
#ifdef __linux__
|
||||
#ifdef __GLIBC__
|
||||
LOG_INFO("------------------------------------------------------");
|
||||
LOG_INFO("| Detecting libusb HID devices |");
|
||||
LOG_INFO("------------------------------------------------------");
|
||||
@@ -1352,6 +1353,7 @@ void ResourceManager::DetectDevicesThreadFunction()
|
||||
\*-------------------------------------------------*/
|
||||
wrapper.hid_free_enumeration(hid_devices);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------*\
|
||||
|
||||
Reference in New Issue
Block a user