sanraith / razer-taskbar

Display the battery state of Razer products using log messages from Razer Synapse.
MIT License
21 stars 3 forks source link

Mouse appears twice #5

Closed mangoshaper closed 1 month ago

mangoshaper commented 1 month ago

Hi!

I have a Razer Viper V2 Pro and it appears twice in the drop down menu: Capture d'écran 2024-05-19 132953

One works fine and the other one shows the no device found icon: Capture d'écran 2024-05-19 133008

The issue is that even if I select the working one, after a few minutes it switches back to the non working one and I have to switch it back so often that it's annoying. I've checked in my Device Manager if the mouse appears twice but no. The problem occurs if I select the Auto option too.

My Razer Synapse version is 3.9.516: image Razer Taskbar: image

Could you help me?

Thanks in advance,

Aurélien

sanraith commented 1 month ago

Hey,

Could you help me investigate this by showing some sections from your %LOCALAPPDATA%\Razer\Synapse3\Log\Razer Synapse 3.log file? My app only reacts to it when it sees _OnBatteryLevelChanged, _OnDeviceLoaded and _OnDeviceRemoved events. So when my app breaks for you, we could find the problem by checking these events around the time of the error.

I'm looking for sections like this:

2024-05-19 22:37:57.9028 INFO 15 _OnBatteryLevelChanged: device Name: Razer BlackShark V2 Pro
Product_ID: 1365 (0x555)
Edition_ID: 0 (0x0)
Vendor_ID: 5426 (0x1532)
Layout: 0 (0x0)
Serial_Number: XXXXXXXXXX
Firmware_Version: 2.5.3.0
Handle: 123456 (0x123456)
Type: 3
SKU_ID: 
RegionId: 0
Id: 0 level 42 state 1
mangoshaper commented 1 month ago

I am so sorry, I just figured it out... It was the battery update delay set to 5 minutes. After changing it to 1 sec the problem is no longer there.