You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That repo includes a Wireshark Lua plugin to help analyze the Logitech HID+ protocol, but it seems to have a few shortcomings with the newer G Hub software and the Pro X.
I didn't see anywhere in the "known" messages where the battery status was queried by the G-Hub software. I tried the following:
start wireshark with dongle connected but headset power off
open g-hub application
turn on headset
At this point, the headset shows up as connected in G-Hub and the battery level appears. So, somehow the app is determining the battery percentage somehow.
@thoraxe I just downloaded your pcap and went through it as I don't feel like booting into windows. I think I may have found the message that requests the battery info.
Luckily the response is identical to the G933/G935 response, so after a few attempts, I think I found the correct request and tested it with my headset. It's able to correctly identify if it's charging or not. I'm not sure if the voltage calculation is correct since I just copied it from the G933 code. I can make a PR for this, but this may need to be a separate device, as the normal wired headset may not support getting battery info.
@Sapd would you be willing to review a PR if I make one?
Reacted by zeb, Denis Arnst and Johannes Schöneberger
Activity
Sapd commentedon Jan 12, 2021
I'd simply try it without that plugin. Wireshark is quite powerful and has a lot of filters.
thoraxe commentedon Jan 13, 2021
Right, but the plugin is what is dissecting the packet capture and explaining what is being sent to/from the headset.
Here's a capture of turning the headset on and waiting and then turning it off.
https://drive.google.com/file/d/11r9voCayKynHl0V2QVMm9RHaIVcexw_p/view?usp=sharing
markpash commentedon Aug 13, 2021
@thoraxe I just downloaded your pcap and went through it as I don't feel like booting into windows. I think I may have found the message that requests the battery info.
Luckily the response is identical to the G933/G935 response, so after a few attempts, I think I found the correct request and tested it with my headset. It's able to correctly identify if it's charging or not. I'm not sure if the voltage calculation is correct since I just copied it from the G933 code. I can make a PR for this, but this may need to be a separate device, as the normal wired headset may not support getting battery info.
@Sapd would you be willing to review a PR if I make one?
Sapd commentedon Nov 13, 2021
Sure, feel free to open up a PR any time. Things can then still be completely changed or improved.
github-actions commentedon May 4, 2023
This issue is stale because it has been open 300 days with no activity. Remove stale label or comment or this will be closed in 60 days.
github-actions commentedon Jul 3, 2023
This issue was closed because it has been stalled with no activity.