Previous commit fb91bd3 was incomplete

This commit is contained in:
crt0mega 2020-01-20 19:12:49 +01:00
parent fb91bd3f51
commit 73a774a8ee
4 changed files with 11 additions and 5 deletions

8
.gitignore vendored
View File

@ -1 +1,9 @@
debian/debhelper*
debian/.debhelper
debian/*.log
debian/*.debhelper
debian/*.substvars
debian/debhelper-build-stamp
debian/i2c-piix4-aura-dkms
debian/files

View File

@ -2,16 +2,14 @@
---
#### Intro
This repository contains a patched i2c-piix4 module which supports the secondary i2c controller on several >= X370 AM4 mainboards as DKMS-package for Debian GNU/Linux Unstable. This package might work with earlier versions of Debian but mileage may vary. It is designed as a soft dependency for future packaged versions of [OpenRGB](https://gitlab.com/CalcProgrammer1/OpenRGB) to enable access to RGB LED settings of these mainboards.
The original idea of patching and packaging this module was *lend* from the package i2c-piix4-aura-dkms found at [Arch Linux AUR](https://aur.archlinux.org/packages/i2c-piix4-aura-dkms). I have only changed some Debian-specific pathes and added some packaging information with debhelper.
---
#### Usage
Clone this repository and run `dpkg-buildpackage -us -uc -b`. Install the resulting package with `sudo dpkg -i path/to.deb`.
To have OpenRGB controlling your LEDs you either need to add your user to the group `adm` or simply run OpenRGB as root. I'd rather not recommend to run any GUI application with root privileges.
---
#### THX
Thanks to
- [CalcProgrammer1](https://gitlab.com/CalcProgrammer1) for his awesome work on OpenAuraSDK/OpenRGB and his fix for i2c-piix4,
- Térence Clastres for the awesome idea of squeezing this patch into a DKMS package and
- my gf for sharing and supporting my obsession with RGB LED stuff and Linux.
- my gf for sharing and supporting my obsession with RGB LED stuff and Linux.

2
debian/control vendored
View File

@ -9,7 +9,7 @@ Standards-Version: 4.4.1
#Vcs-Git: https://salsa.debian.org/debian/i2c-piix4-aura-dkms-5.4.6.git
Package: i2c-piix4-aura-dkms
Architecture: any
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, dkms
Description: The i2c-piix4 kernel driver, patched to be used with OpenRGB
i2c-piix4 needs a patch to enable a second SMBUS controller (see

View File

@ -1,2 +1,2 @@
KERNEL=="i2c-*", ATTR{name}=="SMBus*" SUBSYSTEM=="i2c-dev" MODE="0660", GROUP="wheel"
KERNEL=="i2c-*", ATTR{name}=="SMBus*" SUBSYSTEM=="i2c-dev" MODE="0660", GROUP="adm"