Evgeny Kuznetsov

Results 120 comments of Evgeny Kuznetsov

That's interesting! I'd highly appreciate if you did a couple of simple tests to help me understand the issue here and maybe improve `matebook-applet` to make sure the next owner...

> echo 0 0 | sudo tee /sys/devices/platform/huawei-wmi/charge_control_thresholds > 0 0 > tee: /sys/devices/platform/huawei-wmi/charge_control_thresholds: No such device This _should not happen™_, should it, @aymanbagabas ? Maybe there are things that...

@thomas510111 just for the completeness sake: it looks like `matebook-applet` also found `/sys/class/power_supply/BAT0/charge_control_start_threshold` and `/sys/class/power_supply/BAT0/charge_control_end_threshold`. These two are basically the same as `/sys/devices/platform/huawei-wmi/charge_control_thresholds` and can be read and written the...

> TRACE: 2020/11/19 20:26:44 driver.go:326: successful write to driver interface > TRACE: 2020/11/19 20:26:44 driver.go:394: Saving values for persistence... > ERROR: 2020/11/19 20:26:44 driver.go:324: failed to set thresholds Looks like...

> should i also open an issue there or maybe on the driver? It's the driver. Both `matebook-applet` and Rouven's systemd magic make the same assumptions about how the driver...

> in my opinion, it should be possible to set [arbitrary thresholds](https://github.com/profzei/Matebook-X-Pro-2018/issues/29#issuecomment-754437944). From what I have understood, there's no straightforward way (using that script) to set, for example, 35-75 or...

> send the whole argument used by the \SBTT method (ie. XXYY0000 where XX is the max value and YY the min value coded in hexadecimal) Perfect, we'll do that....

> ./ioio -s org_rehabman_ACPIDebug dbg5 ARG Is there a reasonable expectation of where `ioio` is on the system? `./` requires `cd` to that directory, which is not straightforward to do...

I think if we can't really rely on `ioio` being accessible from some standard place (or `PATH`, or whatever), I'd better figure out how to talk to `kext` directly. ;-)

OK, I'm getting close to hacking up a crude prototype, but my lack of MacOS knowledge starts showing. Please enlighten me, because I'm kinda lost here. 1. They do have...