Package Details: system76-driver 20.04.40-1

Git Clone URL: https://aur.archlinux.org/system76-driver.git (read-only, click to copy)
Package Base: system76-driver
Description: Universal driver for System76 computers
Upstream URL: https://github.com/pop-os/system76-driver
Keywords: driver system76
Licenses: GPL
Submitter: ava1ar
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 21
Popularity: 0.033244
First Submitted: 2013-08-18 05:41
Last Updated: 2021-07-15 01:55

Dependencies (31)

Required by (0)

Sources (4)

Pinned Comments

yochananmarqos commented on 2021-05-12 21:52

PSA: With the 20.04.32-1 update, you'll need to run the following command before updating as the __pycache__ files were previously not owned by the package. It's fixed now, they never should have been removed:

sudo rm -rf $(python -c "import site; print(site.getsitepackages()[0])")/system76driver/__pycache__/

Latest Comments

1 2 3 4 5 6 ... Next › Last »

yochananmarqos commented on 2021-05-12 21:52

PSA: With the 20.04.32-1 update, you'll need to run the following command before updating as the __pycache__ files were previously not owned by the package. It's fixed now, they never should have been removed:

sudo rm -rf $(python -c "import site; print(site.getsitepackages()[0])")/system76driver/__pycache__/

ava1ar commented on 2021-02-23 20:30

I disowned this since I don't have any system76 hardware anymore. Feel free to adopt.

yochananmarqos commented on 2021-02-16 23:37

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

yochananmarqos commented on 2020-12-29 17:06

The patches should be in prepare() and and build() should look like the following. See Python package guidelines

prepare() {
  cd ${srcdir}/${pkgname}-${pkgver}

  # patch for cli version - enable override vendor/model via /etc/system76-daemon.json
  patch --no-backup-if-mismatch -Np1 -i ${srcdir}/cli.patch

  # galu1 model-specific patch
  patch --no-backup-if-mismatch -Np1 -i ${srcdir}/galu1.patch

  # Use xhost for GUI apps on Wayland
  patch --no-backup-if-mismatch -Np1 -i ${srcdir}/wayland.patch
}

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  python setup.py build
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  # Build and install base package
  python setup.py install --prefix=/usr --root=${pkgdir} --optimize=1 --skip-build

...

The Cleanup should look like the following, see Python package guidelines.

  # Clean up
  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
  rm -rf ${pkgdir}${site_packages}/system76driver/{__pycache__,tests}

Phi11ipus commented on 2020-07-16 16:33

On the System76 Lemur Pro there are audio issues when using the headphone jack. System76 support traced the problem to this package not applying the combo jack change. alsa-info.sh retrieved the following information: http://alsa-project.org/db/?f=e87fd71540d6e9e977ac9471b439a8dfa9a5ab4b.

Mange commented on 2020-04-10 07:07

Thank you! It is much clearer now!

Great that firmware-manager stopped being a requirement too! <3

electrickite commented on 2020-04-06 14:53

@Mange This is the same approach the package takes to the network manager restart script. Since the restarts/reloads are not needed by all users, the scripts are installed but not enabled by default. A note about creating the symlink is included in the package post-install message. After installing 20.04.3-1, you can run the following to enable the thunderbolt reload script:

$ sudo ln -s /usr/lib/system76-driver/system76-thunderbolt-reload /lib/systemd/system-sleep/system76-thunderbolt-reload

Mange commented on 2020-04-06 13:38

@electrickite Ah, thank you.

I expected it to be installed automatically like the other files and scripts. Will that be added?

electrickite commented on 2020-04-06 11:56

@Mange Version 20.04.3-1 includes the Thunderbolt reload script. It is installed to /usr/lib/system76-driver/system76-thunderbolt-reload and can be symlinked into /lib/systemd/system-sleep/ to activate.

Mange commented on 2020-04-05 19:29

Seems like the files from this commit needs to be added to the install procedure. The file was not installed for me and there's no reference to it in the latest PKGBUILD.

https://github.com/pop-os/system76-driver/commit/2f183fcc0e0946325bdd84a602042de4c8c5f2aa

File: system76-thunderbolt-reload

Any way I can help with this?