Skip to content
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

Charge Indication not working #14

Closed
Momolem opened this issue May 7, 2023 · 9 comments
Closed

Charge Indication not working #14

Momolem opened this issue May 7, 2023 · 9 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@Momolem
Copy link

Momolem commented May 7, 2023

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
Copy link
Owner

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
Copy link
Author

Momolem commented May 8, 2023

Wow you answered quick :) Thank you!

the command you mentioned outputs this:
image

but I still cannot see the percentage of my headset

@ChrisLauinger77
Copy link
Owner

ChrisLauinger77 commented May 8, 2023

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:

  • sidetone
  • battery status
  • lights
  • inactive time
  • chatmix

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 ChrisLauinger77 added the question Further information is requested label May 8, 2023
@ChrisLauinger77
Copy link
Owner

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

@ChrisLauinger77 ChrisLauinger77 added the documentation Improvements or additions to documentation label May 8, 2023
@Momolem
Copy link
Author

Momolem commented May 8, 2023

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

@Momolem Momolem closed this as completed May 8, 2023
@ChrisLauinger77
Copy link
Owner

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
Copy link
Author

Momolem commented May 8, 2023

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

@ChrisLauinger77
Copy link
Owner

ChrisLauinger77 commented May 8, 2023

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

@ChrisLauinger77
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants