ChrisLauinger77 / gnome-shell-extension-HeadsetControl

Gnome Shell Extension to visualize headset status from HeadsetControl command line tool
GNU General Public License v3.0
22 stars 8 forks source link

Charge Indication not working #14

Closed Momolem closed 1 year ago

Momolem commented 1 year ago

Hi,

I am facing the problem, that the charging level is not showing :/

My system: Fedora Workstation 38 (Gnome 44)

headsetcontroll is installed: image

The command is working fine: image

And I have set the correct command in the extension settings: image

And I added the udev rules as far as I know

Does anyone have an idea why it is not working?

ChrisLauinger77 commented 1 year ago

can you post a screenshot of the quicksettings control ?

one way to find out whats going on is to enable logging in settings and check the output of

journalctl -f -o cat

Afterwards

Momolem commented 1 year ago

Wow you answered quick :) Thank you!

the command you mentioned outputs this: image

but I still cannot see the percentage of my headset

ChrisLauinger77 commented 1 year ago

it looks like the capabilities are not correctly detected ...

here is how it looks for me:


Headset-Steuerung Befehl: /usr/local/bin/headsetcontrol -? Headset-Steuerung Supported capabilities:

Headset-Steuerung capabilities.sidetone: true Headset-Steuerung capabilities.battery: true Headset-Steuerung capabilities.led: true Headset-Steuerung capabilities.inactivetime: true Headset-Steuerung capabilities.chatmix: true Headset-Steuerung capabilities.voice: false Headset-Steuerung capabilities.rotatemute: false Headset-Steuerung Aktualisiere... Headset-Steuerung Befehl: /usr/local/bin/headsetcontrol -b Headset-Steuerung Battery: 0%

Headset-Steuerung Befehl: /usr/local/bin/headsetcontrol -m Headset-Steuerung Chat-Mix: 64

Headset-Steuerung _setMenuSetHeader:Ladung: 0% / Chat-Mix: 64 Headset-Steuerung _getColorHEXValue-strSettingsColor: color-batterylow Headset-Steuerung _getColorHEXValue-strcolor: rgb(255,0,0) Headset-Steuerung _getColorHEXValue-strSettingsColor: color-batterymedium Headset-Steuerung _getColorHEXValue-strcolor: rgb(255,255,0) Headset-Steuerung _getColorHEXValue-strSettingsColor: color-batteryhigh Headset-Steuerung _getColorHEXValue-strcolor: rgb(0,255,0) Headset-Steuerung _changeColor: 0 Headset-Steuerung _changeColor: #ff0000


as you can see the capabilities are different in your case. (I expect different ones - and i have the same headset as you have btw - arctis 7) Maybe the version from headsetcontrol you use is too old ? (there is no way to check the binaries version IMHO) I use the one from GITHUB and referenced in my README.md and compile myself. Maybe you try also to compile yourself OR the maintainer of headsetcontrol binary why the output differs from me to you ...

ChrisLauinger77 commented 1 year ago

I checked the GIT repo of headsetcontrol binary - he changed the capabilities texts in Nov 2021 over this commit: https://github.com/Sapd/HeadsetControl/commit/f1b4562de3b4882d74ac8b797f2ba2a148d8751b It looks like you use a VERY OLD version of headsetcontrol and need to update !

Momolem commented 1 year ago

That could be it :/ I installed it via the package manager... maybe i should build the newest version by myself thanks for your help

ChrisLauinger77 commented 1 year ago

Intresting - I did not know that fedora provides a package. He has instructions how to compile it for fedora though. Maybe you wanna ask the fedora guys to update the package. I update my documentation.

Momolem commented 1 year ago

It looks like version 2.6.1 is scheduled for the next fedora version! Thanks again! Currently it is Version 2.4-5

ChrisLauinger77 commented 1 year ago

Welcome - hope it works now for you as well .. V 2.4 is from May 13, 2021 btw :)

ChrisLauinger77 commented 1 year ago

Just found this https://koji.fedoraproject.org/koji/buildinfo?buildID=2165947