Git Product home page Git Product logo

Comments (5)

goldcoders avatar goldcoders commented on July 19, 2024

i got this when i did matebook-applet -vv

╰ matebook-applet -vv 
INFO: 2019/12/14 02:18:20 main.go:61: matebook-applet version 2.4.8 
TRACE: 2019/12/14 02:18:20 driver.go:123: Couldn't access "/sys/devices/platform/huawei-wmi/fn_lock_state".
TRACE: 2019/12/14 02:18:20 driver.go:229: Couldn't access "/sys/devices/platform/huawei-wmi/charge_control_thresholds". 
TRACE: 2019/12/14 02:18:20 driver.go:229: Couldn't access "/sys/devices/platform/huawei-wmi/charge_thresholds". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT0/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT1/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT2/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT3/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT4/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT5/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT6/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT7/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT8/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 driver.go:292: Couldn't access "/sys/class/power_supply/BAT9/charge_control_start_threshold". 
TRACE: 2019/12/14 02:18:20 main.go:71: looking for endpoint to save thresholds to... 
TRACE: 2019/12/14 02:18:20 driver.go:229: Couldn't access "/etc/default/huawei-wmi/charge_control_thresholds". 
TRACE: 2019/12/14 02:18:20 driver.go:229: Couldn't access "/etc/default/huawei-wmi/charge_thresholds". 
ERROR: 2019/12/14 02:18:20 main.go:91: Neither a supported version of Huawei-WMI driver, nor any of the required scripts are properly installed, see README.md#installation-and-setup for instructions 
   uriah@dev  ~/A/matebook-applet   master ●                                   ✔   02:18  14/12/19 

from matebook-applet.

goldcoders avatar goldcoders commented on July 19, 2024

but im sure huawei-wmi is installed

╰ sudo apt install huawei-wmi 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
huawei-wmi is already the newest version (1.1.0). 
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 
   uriah@dev  ~/A/matebook-applet   master ●                                   ✔   02:19  14/12/19 

from matebook-applet.

nekr0z avatar nekr0z commented on July 19, 2024

You need not only huawei-wmi package (which is systemd harness for the driver), but also the newer version of the driver itself (kernel 5.3 has version 2 as far as I know, you need version 3). It has not been packaged as a .deb, but the instructions for installation are pretty straightforward.

As for scripts, they have never been tested for kernels >5.0, and they are not really supposed to work on those kernels.

from matebook-applet.

goldcoders avatar goldcoders commented on July 19, 2024

works ok now after i install huawei-wmi 3.2

from matebook-applet.

nekr0z avatar nekr0z commented on July 19, 2024

Glad you sorted it out.

from matebook-applet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.