diff --git a/.gitignore b/.gitignore index 1935c9d..93e5ad1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,9 @@ debian/debhelper* +debian/.debhelper +debian/*.log +debian/*.debhelper +debian/*.substvars +debian/debhelper-build-stamp +debian/i2c-piix4-aura-dkms +debian/files + diff --git a/README.md b/README.md index 49851b9..ac15863 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +- my gf for sharing and supporting my obsession with RGB LED stuff and Linux. diff --git a/debian/control b/debian/control index 090e693..15c0cd1 100644 --- a/debian/control +++ b/debian/control @@ -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 diff --git a/src/90-i2c-aura.rules b/src/90-i2c-aura.rules index 8be7daa..2db607b 100644 --- a/src/90-i2c-aura.rules +++ b/src/90-i2c-aura.rules @@ -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"