Skip to content

Commit

Permalink
system-config: add usb quirks for keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Earnestly committed Aug 4, 2016
1 parent eebc4d3 commit c0593e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion system-config/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase=system-config
pkgname=(base-config teapot-config engine-config)
pkgver=2.6
pkgver=3.0
pkgrel=1

pkgdesc='system configurations'
Expand All @@ -14,6 +14,7 @@ source=('env-nvidia.sh'
'etc-vconsole.conf'
'mod-i915.conf'
'mod-pcspkr.conf'
'mod-usbhid.conf'
'mod-uvcvideo.conf'
'nft-nftables.conf'
'sudo-wheel'
Expand All @@ -35,6 +36,7 @@ package_base-config() {
install -Dm644 etc-locale.conf "$pkgdir"/etc/locale.conf
install -Dm644 etc-vconsole.conf "$pkgdir"/etc/vconsole.conf
install -Dm644 mod-pcspkr.conf "$pkgdir"/etc/modprobe.d/pcspkr.conf
install -Dm644 mod-usbhid.conf "$pkgdir"/etc/modprobe.d/usbhid.conf
install -Dm644 sudo-wheel "$pkgdir"/etc/sudoers.d/wheel
install -Dm644 sysctl-dirty.conf "$pkgdir"/etc/sysctl.d/dirty.conf
install -Dm644 sysctl-fq_codel.conf "$pkgdir"/etc/sysctl.d/fq_codel.conf
Expand Down Expand Up @@ -74,6 +76,7 @@ sha1sums=('d5b9bc75719e4bdeeff0ed13d09c74382d0ffa3b'
'c43c8c01db104b1f5747b23fda21700819ad67fb'
'5b59530577e11ace46fa5df59f8782f82ffe148d'
'ee919734ce53dcebbe319f230aca847f86e2249c'
'7548bbe488a8b02cf47e365eb3eca35a8eb5f3da'
'3b3a6f07f7934ca435deb853cd607506eda4fb1c'
'1b677e55c9a74777a190e4cd504323d2b093fc08'
'7efaee60412cce9275e2fbfa6e8b967c6c504621'
Expand Down
8 changes: 8 additions & 0 deletions system-config/mod-usbhid.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# /etc/modprobe.d/usbhid.conf

# Workaround Holtek Semiconductor mechanical keyboard initial initialisation
# timeout.

# #define HID_QUIRK_NO_INIT_REPORTS 0x20000000

options usbhid quirks=0x04d9:0xa0cd:0x20000000

0 comments on commit c0593e2

Please sign in to comment.