From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6DFD6158099 for ; Wed, 29 Nov 2023 22:48:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60E222BC037; Wed, 29 Nov 2023 22:48:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41BE22BC037 for ; Wed, 29 Nov 2023 22:48:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 544E1335D16 for ; Wed, 29 Nov 2023 22:48:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8F6F1436 for ; Wed, 29 Nov 2023 22:47:58 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1701018559.654946b02e9f2a3bb343afd95a4fa2fde79facfe.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-firmware/lenovolegionlinux/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild sys-firmware/lenovolegionlinux/metadata.xml X-VCS-Directories: sys-firmware/lenovolegionlinux/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 654946b02e9f2a3bb343afd95a4fa2fde79facfe X-VCS-Branch: master Date: Wed, 29 Nov 2023 22:47:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4b626c5c-1d39-45a2-9a7e-b229e56764ee X-Archives-Hash: ff5d158965625138463a51d7f8ce9925 commit: 654946b02e9f2a3bb343afd95a4fa2fde79facfe Author: Gonçalo Duarte gmail com> AuthorDate: Sun Nov 26 17:02:55 2023 +0000 Commit: David Roman gmail com> CommitDate: Sun Nov 26 17:09:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=654946b0 sys-firmware/lenovolegionlinux: change acpi useflag * inclued acpi action and events exemple in /usr/share/legion_linux/acpi Signed-off-by: Gonçalo Duarte gmail.com> sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild | 5 +++-- sys-firmware/lenovolegionlinux/metadata.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild b/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild index 95ad55aace..c096ae9ccf 100644 --- a/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild +++ b/sys-firmware/lenovolegionlinux/lenovolegionlinux-9999.ebuild @@ -83,8 +83,8 @@ src_install() { fi if use legion-acpi; then - insinto /etc/acpi/events/ && doins acpi/events/{ac_adapter_legion-fancurve,novo-button,PrtSc-button,fn-r-refrate} - insinto /etc/acpi/actions/ && doins acpi/actions/{battery-legion-quiet.sh,snipping-tool.sh,fn-r-refresh-rate.sh} + insinto /usr/share/legion_linux/acpi/events && doins acpi/events/{ac_adapter_legion-fancurve,novo-button,PrtSc-button,fn-r-refrate} + insinto /usr/share/legion_linux/acpi/actions && doins acpi/actions/{battery-legion-quiet.sh,snipping-tool.sh,fn-r-refresh-rate.sh} fi fi } @@ -102,6 +102,7 @@ pkg_postinst() { ewarn "Note: Edit /etc/legion_linux/.env to enable nvidia TDP control\n" fi fi + use legion-acpi && ewarn "Acpi exemples are included in /usr/share/legion_linux/acpi\n" ewarn "Note for 2023-2023 Legion user: It need help for testing the features" ewarn "Pls test the feature how is decribe in the README of the project!" ewarn "and also go to this issue in github: https://github.com/johnfanv2/LenovoLegionLinux/issues/46" diff --git a/sys-firmware/lenovolegionlinux/metadata.xml b/sys-firmware/lenovolegionlinux/metadata.xml index aa2aa2365c..262a2a0256 100644 --- a/sys-firmware/lenovolegionlinux/metadata.xml +++ b/sys-firmware/lenovolegionlinux/metadata.xml @@ -3,7 +3,7 @@ Build and install legion_gui and legion_cli - Install acpi script (experimental feature) + Provide acpi exemple /usr/share/legion_linux/acpi Enable AMD GPU TDP control (systemd-service) Downgrade nvidia for 525 to enable TDP control (systemd-service) [AMD] CPU and APU control using ryzenadj (systemd-service)