Sven's {b}logbuch

Themen rund um die Informationstechnik

  • Home
  • Kategorien
    • DIY
    • Hardware
      • Laptop
      • Monitor
      • PC
      • Server
      • Tablet
      • Other
    • Linux
      • Application
      • Bash
      • Gnome Shell Extension
      • Python
      • Other
    • Windows
      • Application
      • Powershell
      • Other
  • Über Mich
  • Kontakt
  • Impressum

EC-Control

Gnome Shell Extension
10. Januar 2022

Gnome Shell Extension

Ein Gnome Shell Extension um mittels EC-Control die Lüfter, Bluetooth, Touchpad, Tastaturbeleuchtung, Webcam etc. eines Laptops unter Linux steuern zu können. Mittels einem aktiven DebugFS Kernel und aktiven ec_sys Kernelmodul oder alternativ ein aktives acpi_ec Kernelmodul, ist es möglich den EC eines Laptops mit Werten zu beschreiben.

Für Windows werden von den jeweiligen Herstellern Tools zum einstellen von Laptop Eigenschaften wie Bluetooth, Lüfter etc., mitgeliefert. Für mein Gigabyte P57W beispielsweise, war es mir anfangs nicht möglich, unter Linux die Lüfter im Automatik Modus zu betreiben, stattdessen liefen diese stets im Performance Modus – was akustisch einem Fön gleicht. Aus der Not heraus und mit ein wenig Reverse-Engineering, habe ich die wichtigsten möglichen Werte des Laptops in einer Datenbank zusammengetragen, die hier ebenfalls zum Download steht.

Voraussetzungen

  • Gnome 40+
  • EC-Control Script
  • pkexec policy, um der Gnome Extension entsprechende Rechte auf ec-control zu ermöglichen

Installation

ZIP Paket herunterladen und im folgenden Verzeichnis entpacken: /home/[USER]/.local/share/gnome-shell/extensions Und ggf. das vom entpacken erstellte Verzeichnis wie folgt umbenennen: EC-Control@sven.kramerDie POLICY Datei im folgenden Verzeichnis kopieren:sudo cp com.ubuntu.pkexec.ec-control.policy /usr/share/polkit-1/actions/Einstellungen im Extension Manager setzen, Werte ggf. der Datenbank entnehmen

Beschreibung

Die Extension ist eigentlich selbsterklärend. Wichtig ist jedoch zu wissen, dass im Menü stets der IST Zustand angezeigt wird.

Wenn was schief läuft

Die Gnome Shell Extension ist bei mir produktiv im Einsatz, aber falls es doch mal haken sollte:

Debug im Extension aktivieren und die Gnome Log durchsuchen:
journalctl -xe /usr/bin/gnome-shell | grep EC-Control

Frage & Antwort

Warum ist diese Extension nicht im Gnome Extension Verzeichnis aufgelistet?
Gnome Extensions lade ich erst in das Gnome Extension Verzeichnis hoch, sobald diese den alpha / beta Status verlassen haben, aus meiner Sicht robust genug sind. Dies geht auch mit den Gnome Extension Developer Richtlinien einher.

Bilder

Download & Changelog

Icon

Gigabyte P57 Datenbank 1.1   1.01 KB   6. Februar 2022  

  • Add cooling state (70)
  • Add keyboard light state (5C)
  • Add touchpad states (20, 00) in battery mode
Download
Icon

EC-Control 1.0.0   36.03 KB   3. Februar 2022  

  • Initial Release
Download

Schreibe einen Kommentar Antworten abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Sven’s {b}logbuch by S. Kramer

Diese Website verwendet Cookies um Dienste anzubieten und Zugriffe zu analysieren. Deine IP-Adresse und dein User-Agent werden zusammen mit Messwerten zur Leistung und Sicherheit freigegeben. So können Nutzungsstatistiken generiert, Missbrauchsfälle erkannt und behoben und die Qualität des Dienstes gewährleistet werden.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
immer aktiv
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDauerBeschreibung
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SPEICHERN & AKZEPTIEREN