summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD18
-rw-r--r--n550jx-lfe-fix5
-rw-r--r--snd-hda-intel-n550jx.conf1
4 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..97800c08f71
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Mon Dec 28 10:08:27 UTC 2015
+pkgbase = asus-n550jx-subwoofer-fix
+ pkgdesc = Intel HDA driver fix for the ASUS N551JX laptop external subwoofer
+ pkgver = 0.1
+ pkgrel = 1
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = linux
+ source = snd-hda-intel-n550jx.conf
+ source = n550jx-lfe-fix
+ sha256sums = 5ebb64ec7a2d2ceaba45845db74bc3564ee9de4a0055980fcf75d7b811d9951c
+ sha256sums = 1e0d51b593e83f42025c45a0c60b8d25a87481dab59b7b34365fe0fcfc42cf75
+
+pkgname = asus-n550jx-subwoofer-fix
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b2b2feb5430
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer : Liudas Alisauskas <liudas@akmc.lt>
+
+pkgname=asus-n550jx-subwoofer-fix
+pkgver=0.1
+pkgrel=1
+pkgdesc='Intel HDA driver fix for the ASUS N551JX laptop external subwoofer'
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('linux')
+makedepends=()
+source=("snd-hda-intel-n550jx.conf" "n550jx-lfe-fix")
+sha256sums=('5ebb64ec7a2d2ceaba45845db74bc3564ee9de4a0055980fcf75d7b811d9951c'
+ '1e0d51b593e83f42025c45a0c60b8d25a87481dab59b7b34365fe0fcfc42cf75')
+
+package() {
+ install -Dm644 "${srcdir}/snd-hda-intel-n550jx.conf" "${pkgdir}/etc/modprobe.d/snd-hda-intel-n550jx.conf"
+ install -Dm644 "${srcdir}/n550jx-lfe-fix" "${pkgdir}/usr/lib/firmware/n550jx-lfe-fix"
+}
diff --git a/n550jx-lfe-fix b/n550jx-lfe-fix
new file mode 100644
index 00000000000..d093808dcef
--- /dev/null
+++ b/n550jx-lfe-fix
@@ -0,0 +1,5 @@
+[codec]
+0x10ec0668 0x104313df 0
+
+[pincfg]
+0x1a 0x00106111
diff --git a/snd-hda-intel-n550jx.conf b/snd-hda-intel-n550jx.conf
new file mode 100644
index 00000000000..c7f75dd3ebf
--- /dev/null
+++ b/snd-hda-intel-n550jx.conf
@@ -0,0 +1 @@
+options snd-hda-intel patch=n550jx-lfe-fix,n550jx-lfe-fix