Source: lenovolegionlinux Section: utils Priority: optional Maintainer: Thomas Goirand , Build-Depends: debhelper-compat (= 11), dh-python, dh-sequence-dkms, dkms, lm-sensors, mokutil, openssl, openstack-pkg-tools, python3-all, python3-setuptools, Standards-Version: 4.6.2 Homepage: https://github.com/johnfanv2/LenovoLegionLinux Vcs-Browser: https://salsa.debian.org/debian/lenovolegionlinux Vcs-Git: https://salsa.debian.org/debian/lenovolegionlinux.git Testsuite: autopkgtest-pkg-dkms Package: python3-legion-linux Architecture: all Depends: python3-argcomplete, python3-pyqt5, python3-yaml, ${misc:Depends}, ${python3:Depends}, Description: CLI and GUI for Lenovo Legion laptops fan and power control This package provides a command line interface and a graphical user interface for controlling many power and fan behavior for Lenovo Legion Laptops. It is implemented in Python. . This package also sets fan curve on startup for Lenovo Legion laptops, and apply different profiles if the battery charge is plugged or not. Package: legiond Section: utils Architecture: amd64 Depends: lenovolegionlinux-dkms, python3-legion-linux, ${misc:Depends}, ${shlibs:Depends}, Description: daemon for Lenovo Legion laptops Lenovo Legion Linux Daemon for setting fan curve on resume, or through a socket. It takes advantage of the legion_laptop kernel module provided by the lenovolegionlinux-dkms package, and perform on-resume operations. Package: lenovolegionlinux-dkms Section: contrib/kernel Architecture: amd64 Depends: ${misc:Depends}, Description: DKMS kernel module for Lenovo Legion laptops This package provides DKMS kernel modules for Lenovo Legion laptops. . This driver exports the files /sys/kernel/debug/legion/fancurve (ro): the fan curve stored in the firmware in the form of a human readable table. /sys/module/legion_laptop/drivers/platform\:legion/PNP0C09\:00/powermode (rw) - 0: balanced mode (white) - 1: performance mode (red) - 2: quiet mode (blue) - ?: custom mode (pink) . It implements the usual hwmon interface to monitor fan speed and temmperature and allows to set the fan curve inside the firware. . - /sys/class/hwmon/X/fan1_input or /sys/class/hwmon/X/fan2_input (ro) Current fan speed of fan1/fan2. - /sys/class/hwmon/X/temp{1,2,3}_input (ro): temperature (Celsius) of CPU, GPU, and IC used for fan control. - /sys/class/hwmon/X/pwmY_auto_pointZ_pwm (rw) PWM (0-255) of the fan at the Y-level in the fan curve. - /sys/class/hwmon/X/pwmY_auto_pointZ_temp (rw) upper temperature of tempZ (CPU, GPU, or IC) at the Y-level in the fan curve. - /sys/class/hwmon/X/pwmY_auto_pointZ_temp_hyst (rw) hysteris (CPU, GPU, or IC) at the Y-level in the fan curve. The lower temperatue of the level is the upper temperature minus the hysteris.