Comments (13)
Could you please provide an acpi dump? Refer to https://01.org/linux-acpi/utilities for more information.
from huawei-wmi.
Can you upload the output of dmidecode > dmidecode.txt
from huawei-wmi.
Could you please try building the module from the source and report what files get exposed under /sys/devices/platform/huawei-wmi/
from huawei-wmi.
Installed acpica-tools
via apt.
$ sudo acpidump > acpi-tables.out
$ sha256sum acpi-tables.out
775424a87f8e12e3f4047e8050237a9396465b1b268552d25268939433a5944c acpi-tables.out
gzipped to satisfy github contraints.
from huawei-wmi.
I also updated
lspci.txt
by running it with uid 0. Now includes Capabilities
for each device.
from huawei-wmi.
Can I help by further remote command execution or via learning how acpi actually does work?
from huawei-wmi.
from huawei-wmi.
$ modinfo huawei_wmi
filename: /lib/modules/5.4.0-89-generic/extra/huawei-wmi.ko
license: GPL v2
description: Huawei WMI laptop extras driver
author: Ayman Bagabas <[email protected]>
alias: wmi:ABBC0F5B-8EA1-11D1-A000-C90629100000
srcversion: 9EE027D22741953CF93ADF0
alias: wmi:ABBC0F5C-8EA1-11D1-A000-C90629100000
alias: wmi:59142400-C6A3-40fa-BADB-8A2652834100
depends: ledtrig-audio,wmi,sparse-keymap
retpoline: Y
name: huawei_wmi
vermagic: 5.4.0-89-generic SMP mod_unload modversions
parm: battery_reset:Reset battery charge values to (0-0) before disabling it using (0-100) (bint)
parm: report_brightness:Report brightness keys. (bint)
$ tree /sys/devices/platform/huawei-wmi/
/sys/devices/platform/huawei-wmi/
├── charge_control_thresholds
├── driver -> ../../../bus/platform/drivers/huawei-wmi
├── driver_override
├── fn_lock_state
├── input
│ └── input8
│ ├── capabilities
│ │ ├── abs
│ │ ├── ev
│ │ ├── ff
│ │ ├── key
│ │ ├── led
│ │ ├── msc
│ │ ├── rel
│ │ ├── snd
│ │ └── sw
│ ├── device -> ../../../huawei-wmi
│ ├── event7
│ │ ├── dev
│ │ ├── device -> ../../input8
│ │ ├── power
│ │ │ ├── async
│ │ │ ├── autosuspend_delay_ms
│ │ │ ├── control
│ │ │ ├── runtime_active_kids
│ │ │ ├── runtime_active_time
│ │ │ ├── runtime_enabled
│ │ │ ├── runtime_status
│ │ │ ├── runtime_suspended_time
│ │ │ └── runtime_usage
│ │ ├── subsystem -> ../../../../../../class/input
│ │ └── uevent
│ ├── id
│ │ ├── bustype
│ │ ├── product
│ │ ├── vendor
│ │ └── version
│ ├── modalias
│ ├── name
│ ├── phys
│ ├── power
│ │ ├── async
│ │ ├── autosuspend_delay_ms
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ └── runtime_usage
│ ├── properties
│ ├── subsystem -> ../../../../../class/input
│ ├── uevent
│ └── uniq
├── leds
│ └── platform::micmute
│ ├── brightness
│ ├── device -> ../../../huawei-wmi
│ ├── max_brightness
│ ├── power
│ │ ├── async
│ │ ├── autosuspend_delay_ms
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ └── runtime_usage
│ ├── subsystem -> ../../../../../class/leds
│ ├── trigger
│ └── uevent
├── modalias
├── power
│ ├── async
│ ├── autosuspend_delay_ms
│ ├── control
│ ├── runtime_active_kids
│ ├── runtime_active_time
│ ├── runtime_enabled
│ ├── runtime_status
│ ├── runtime_suspended_time
│ └── runtime_usage
├── subsystem -> ../../../bus/platform
└── uevent
19 directories, 66 files
from huawei-wmi.
I'll try test on Huawei Matebook D15 with 3700U
from huawei-wmi.
@krysopath please test this #55 (comment)
from huawei-wmi.
@krysopath if you set "0 0" or "0 100" in charge_control_thresholds
then it turn on smart charge
#55 (comment)
from huawei-wmi.
Still not working is pulseaudios recording device change, when a microphone jack is plugged into the laptop, but I was able to verify smart charge device node working. Thank you all. <3
Now my battery can breathe a bit more freely with the 55% capacity it has left.
Is it feasible to solve the audio jack problem here as well?
from huawei-wmi.
@krysopath test please
#64
from huawei-wmi.
Related Issues (20)
- Huawei Matebook D16 micmute and battery protection HOT 1
- Huawei Matebook X Pro 2020 - battery charge threshold - end seems active, start seems inactive HOT 13
- Huawei MateBook D16 battery threshold start point does not work HOT 5
- Huawei MateBook D16 microphone led does not work HOT 66
- Donate does not work HOT 2
- Charge thresholds doesn't work anymore after BIOS update on HUAWEI MateBook D 15 AMD HOT 13
- Does not compile on kernel >=5.15-rc1 HOT 1
- Battery Protection not working HOT 5
- HUAWEI Matebook E Fn key gets lowered HOT 2
- Microphone mute button does not work HOT 6
- Performance mode on Huawei Matebook 16s HOT 4
- Ignore Ambient Light Sensoring in Huawei MateBook X Pro 2022 laptops HOT 5
- keyboard backlight timeout option "never" HOT 5
- Battery tresholds, kbd backlight, power unlock not working after BIOS update on Matebook D14 AMD (2020) HOT 2
- dkms install failure HOT 2
- Unable to compile for 6.3.7 kernel HOT 4
- Battery drain after shutdown
- Battery threshold files disappiared
- charge_control_thresholds `0 0`
- FYI: micmute led is broken in linux 6.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huawei-wmi.