-
Notifications
You must be signed in to change notification settings - Fork 0
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
On Linux, accessory is detected as a new one after reboot #12
Comments
Could you provide the information that the OpenRGB application lists in the Information tab for that cooler? Name, location, serial number, etc. Does any of that information change after a reboot? Does this happen with other devices or just that cooler? |
Sure
After reboot:
The location seems to change. However it's seems like a normal behavior in Ubuntu (at least)? |
I've rebuilt your project after removing the location from the uuid calculation and it works well. I don't know if the location stays the same on Windows platform but on Linux, the HID will change after reboot because it will depend of the order they are mounted. A quick fix would be to add a setting to disable the location from the UUID calculation (even tho it means that users should be sure that the name of their OpenRGB devices are differents). |
Hmm, it's tricky because from what I've seen, it's common for devices to report a fake or empty serial number (all but one of my devices do, for instance) and device names can easily be the same (e.g. a pair of RAM sticks). That's why location is used in the UUID calculation since #1. On Windows, it does stay the same. I'm not sure how to make it reliable for Linux too. Maybe OpenRGB could be updated to provide the device's UUID from Linux instead of its |
Describe The Bug:
When the computer restarts, the same accessory is detected as a new accessory (and the previous one becomes unreachable.
Thus, every scenes gets messed up.
(The accessory is always pluged in when the OpenRGB server is up)
To Reproduce:
Shutdown the computer, restart the computer.
Start OpenRGB: openrgb --server (doing it via systemctl)
Expected behavior:
The accessory is recognized as a previously added accessory.
Logs:
[6/13/2023, 5:52:56 PM] [OpenRGB] Adding new accessory: NZXT Kraken X3
Plugin Config:
{
"name": "OpenRGB",
"servers": [
{
"name": "xxxx",
"host": "192.168.xxxx.xxxx",
"port": 6742
}
],
"discoveryInterval": 60,
"preserveDisconnected": true,
"suppressConnectionErrors": false,
"platform": "OpenRgbPlatform"
}
Environment:
Ubuntu for the computer AND homebridge. NZXT Kraken X3 device
Plugin Version: v1.4.0
Homebridge Version: [v1.6.1]
Node.js Version: v16.20.0
Operating System: Ubuntu for the computer AND homebridge
The text was updated successfully, but these errors were encountered: