Package Details: system76-power 1.1.26-1

Git Clone URL: https://aur.archlinux.org/system76-power.git (read-only, click to copy)
Package Base: system76-power
Description: System76 Power Management
Upstream URL: https://github.com/pop-os/system76-power
Licenses: GPL
Submitter: ebobby
Maintainer: tleydxdy
Last Packager: tleydxdy
Votes: 12
Popularity: 0.002270
First Submitted: 2018-07-05 23:47 (UTC)
Last Updated: 2024-03-11 19:25 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

nox404 commented on 2021-04-29 18:43 (UTC) (edited on 2021-04-29 19:00 (UTC) by nox404)

Hello,

The package doesn't install the polkit policy to /usr/share/polkit-1/actions/com.system76.powerdaemon.policy

https://raw.githubusercontent.com/pop-os/system76-power/master/data/com.system76.powerdaemon.policy

The set-charge-thresholds function cannot work without it

You can add this to the PKGBUILD to implement this:

install -Dm755 data/com.system76.powerdaemon.policy "${pkgdir}/usr/share/polkit-1/actions/com.system76.powerdaemon.policy"

Also I'd love to get pointers on how to directly contribute and submit a PR to this or something like that (never packaged anything on arch :P )

mikisman81 commented on 2021-04-22 17:20 (UTC)

This works great even as a stand alone package (without the other S76) for my Lemur and Darter Pro.

After installing make sure of 2 things.

  1. Your user is in the admin group (sudo gpasswd -a $USER adm)

  2. That you have started the system76-power service (sudo systemctl enable --now system76-power)

Might need to reboot, but you should be great. You can test it by dropping to a terminal and doing "system76-power profile"

prodper commented on 2021-03-16 12:46 (UTC) (edited on 2021-03-16 13:02 (UTC) by prodper)

I've installed all deps and optional deps. And also did all necessary from arch wiki: https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Use_NVIDIA_graphics_only

But sudo system76-power graphics integrated doesn't switch off nvidia gpu. It enables compute mode.

What did I miss? Or there are more dependencies that not listed in depends?

yochananmarqos commented on 2021-02-28 15:23 (UTC)

@wfleming: The Pop_OS! package depends on ubuntu-drivers-common which includes usb-utils (libusb).

namcap also agrees:

system76-power I: Link-level dependence (libusb) in file ['usr/lib/libusb-1.0.so.0']
system76-power I: Depends as namcap sees them: depends=(dbus libusb)

wfleming commented on 2021-02-27 22:32 (UTC)

Should libusb be listed as a dependency in the PKGBUILD? I use aurto for managing my aur packages and aurto add system76-power errors saying it can't find libusb:

  thread 'main' panicked at 'Unable to find libusb-1.0: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libusb-1.0\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libusb-1.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libusb-1.0.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'libusb-1.0\', required by \'virtual:world\', not found\n"', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/hidapi-1.2.5/build.rs:65:60

My understanding is that aurto builds packages in a chroot where it only installs necessary packages, so this is easy to miss since I bet a lot of people do generally have libusb installed already.

tleydxdy commented on 2021-02-17 02:05 (UTC)

Sorry, I was having build issues on my machine. btw, I am wondering if system76-acpi-dkms and system76-io-dkms should be listed as optdepends, and if I should move system76-dkms to optdepends, I seems like what is required differ by machine model, but I have yet to find out if this is the case one way or the other.

yochananmarqos commented on 2021-02-16 23:38 (UTC)

@tleydxdy: Are you planning on updating this? I'll take it over if you'd like.

acbaracuda commented on 2021-02-16 20:43 (UTC)

Is "system76-acpi-dkms" or the "acpi" package from the oficial repos needed for this to fully shut down the nvidia graphics card on a non system76 laptop? I know optimus manager uses bbswitch or acpi. I thought maybe this requires something similar.

yochananmarqos commented on 2021-01-11 02:07 (UTC) (edited on 2021-01-11 02:07 (UTC) by yochananmarqos)

@cvolton: No, it shouldn't.

Note: Packages in the AUR assume that the base-devel group is installed, i.e. they do not list the group's members as build dependencies explicitly.

https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites