z3ntu / RazerGenie

Qt application for configuring your Razer devices under GNU/Linux.
GNU General Public License v3.0
390 stars 35 forks source link

No update for devices when a new device is connected #165

Closed BugInACode closed 8 months ago

BugInACode commented 1 year ago

Expected behavior When the daemon and application are running and a new device is connected, the new device should appear in the device list.

The actual behavior When the new device gets connected, it does not appear in the device menu unless you stop then respawn the daemon.

Steps to reproduce

  1. Open RazerGenie, see list of devices and note new device not present.
  2. Plug new device in
  3. If device doesn't show in list, restart the daemon and react to this issue
  4. if device does show, reply to this issue

Machine/Version Kernel: 5.15.0.89-generic DE: GNOME 3.36.8 Daemon: OpenRazer 3.7.0 RazerGenie version: 1.1.0

Recommendation When a result from lsusb returns a new device, check for new devices. This may mean restarting the daemon

z3ntu commented 1 year ago

Does the daemon/kernel log show the new device is detected? Do you also see the same behavior with polychromatic? You could also check with python3 -c "from openrazer.client import DeviceManager; a = DeviceManager(); print(a.devices)" whether openrazer-daemon detects the device.

z3ntu commented 8 months ago

Any update? Otherwise I'll close this.

BugInACode commented 8 months ago

Apologies I have not been able to get back to this so quickly. I had actually noticed this behavior with a device that was already known and had it unplugged for a while then reconnected. I just tried replicating the issue and it no longer occurs