Comments (10)
Yep, you are right. Do you think you will be able to propose a pull request to change that ?
from clevo-indicator.
@aqd https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
from clevo-indicator.
@GuilloOme no, I rather work on this project: https://bitbucket.org/lynthium/clevo-xsm-wmi
from clevo-indicator.
It won't be a pull request. Kernel-based solution requires a module controlling EC and a way of communication (to userspace), plus a GUI client.
It'd be ideal to be integrated into multi-hardware platform such as lm_sensors or some sort of auto fan-control service, and I'd only have to write the driver. But lm_sensors website is down and I have no idea where to look for information.
from clevo-indicator.
@karolherbst thanks for your issue 👍
If I understand well it happens because we have two tools in one.
One part for the unity display so the user can change the fan speed from this "gui tool".
The other one is the part that allows to communicate directly to the EC.
So if I change the code to remove all the stuff about the gui and only use the code that allows to interact to the EC (so only command line used to reduce the fan speed) it should be ok ?
Sorry I don't know anything about Linux kernel...
from clevo-indicator.
@patrick-mota nope. In the end you want to have a linux kernel module doing all the EC stuff and then provide access to functionality through the hwmon interface for fan/temperature stuff. There is even a "fan[1-*]_target" for hwmon where you could set the desired fan speed for example.
https://www.mjmwired.net/kernel/Documentation/hwmon/sysfs-interface
In the end there is no reason to do anything clevo specific in userspace, because there are appropiate kernel->userspace interfaces already which would work with every hardware as long as they have an appropiate driver.
from clevo-indicator.
@karolherbst ok thank you for the explanation and pointing me to the right direction !
I'm gonna try to do it using sysfs-interface.
from clevo-indicator.
well, there is already https://bitbucket.org/lynthium/clevo-xsm-wmi which does all the things. Maybe knowledge could be shared?
from clevo-indicator.
I actually implemented this some time ago in https://github.com/rafaelgieschke/clevo-xsm-wmi (well, incidentally based on the work of @karolherbst; and with thanks to @aqd for your helpful work on https://github.com/SkyLandTW/ClevoECView/blob/master/ec-trace.txt).
from clevo-indicator.
Did anyone make kernel module for controlling fans at the end?
from clevo-indicator.
Related Issues (20)
- worker on parent dead HOT 1
- Possibility for fan speed under 60%?? HOT 2
- Keyboard issue HOT 5
- how can I install this on debian9 HOT 2
- Cannot control GPU fan HOT 4
- Wrong fan duty to write: 30 HOT 4
- (clevo-indicator:21544): Gdk-CRITICAL HOT 1
- Works on Wayland but not Xorg HOT 1
- List of known models that are supported
- Introduce configuration file
- Indicator only controls one fan HOT 24
- Couldn't install HOT 2
- Does anyone have a DEB file of this utility?
- No Tray icon with Debian and Gnome-Shell
- hello, how to install arch HOT 2
- Chancing fan speed to x% and then back to AUTO does not work properly. HOT 1
- Remove spinning icon
- Update dependencies for Ubuntu 22.04 HOT 2
- Match system temperature
- no support for Debian Bullyseye HOT 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 clevo-indicator.