diff options
Diffstat (limited to 'abs/not_built/extra/twinhan-remote')
-rw-r--r-- | abs/not_built/extra/twinhan-remote/PKGBUILD | 19 | ||||
-rw-r--r-- | abs/not_built/extra/twinhan-remote/twinhan-remote.conf | 3 | ||||
-rw-r--r-- | abs/not_built/extra/twinhan-remote/twinhan-remote.install | 19 | ||||
-rw-r--r-- | abs/not_built/extra/twinhan-remote/usbkbd.ko | bin | 0 -> 8017 bytes |
4 files changed, 41 insertions, 0 deletions
diff --git a/abs/not_built/extra/twinhan-remote/PKGBUILD b/abs/not_built/extra/twinhan-remote/PKGBUILD new file mode 100644 index 0000000..d7f56b0 --- /dev/null +++ b/abs/not_built/extra/twinhan-remote/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=twinhan-remote +pkgver=1 +pkgrel=1 +pkgdesc="Provides usbkbd.ko for older Twinhan remotes." +replaces=() +arch=('i686' 'x86_64') +url="" +source=('twinhan-remote.conf' 'usbkbd.ko') +install=twinhan-remote.install + +build() { + cd ${srcdir} + mkdir -p ${pkgdir}/etc/modprobe.d + install -D -m644 "twinhan-remote.conf" "${pkgdir}/etc/modprobe.d/" + mkdir -p ${pkgdir}/lib/modules/2.6.39-LinHES/kernel/drivers/hid/usbhid/ + install -D -m644 "usbkbd.ko" "${pkgdir}/lib/modules/2.6.39-LinHES/kernel/drivers/hid/usbhid/" +} +md5sums=('3d7cddd5f3433ffe6d4031d1cf9e859d' + 'feefbe9b5e4861c9f2faf85b75395ac0') diff --git a/abs/not_built/extra/twinhan-remote/twinhan-remote.conf b/abs/not_built/extra/twinhan-remote/twinhan-remote.conf new file mode 100644 index 0000000..e472f04 --- /dev/null +++ b/abs/not_built/extra/twinhan-remote/twinhan-remote.conf @@ -0,0 +1,3 @@ +# Disable hid_twinhan +# +blacklist hid_twinhan diff --git a/abs/not_built/extra/twinhan-remote/twinhan-remote.install b/abs/not_built/extra/twinhan-remote/twinhan-remote.install new file mode 100644 index 0000000..4fa78ad --- /dev/null +++ b/abs/not_built/extra/twinhan-remote/twinhan-remote.install @@ -0,0 +1,19 @@ +KERNEL_NAME= +KERNEL_VERSION=`/bin/uname -r` + +post_install () { + # updating module dependencies + echo ">>> Updating module dependencies. Please wait ..." + /sbin/depmod $KERNEL_VERSION + # generate init ramdisks + echo ">>> Generating ramdisk, using mkinitcpio. Please wait..." + /sbin/mkinitcpio -p kernel26${KERNEL_NAME} +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/abs/not_built/extra/twinhan-remote/usbkbd.ko b/abs/not_built/extra/twinhan-remote/usbkbd.ko Binary files differnew file mode 100644 index 0000000..6f0cd2c --- /dev/null +++ b/abs/not_built/extra/twinhan-remote/usbkbd.ko |