From ea8e0d1bf7663571de2e8bdf3f0ab27c24f67f01 Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Sun, 10 Jun 2012 00:47:36 -0700
Subject: ceton:Upgraded to latest module verion 1.7.

---
 abs/core/ceton/PKGBUILD      | 9 ++++-----
 abs/core/ceton/ceton.install | 4 +++-
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/abs/core/ceton/PKGBUILD b/abs/core/ceton/PKGBUILD
index 366763d..9b5032b 100644
--- a/abs/core/ceton/PKGBUILD
+++ b/abs/core/ceton/PKGBUILD
@@ -3,8 +3,8 @@
 
 pkgname=ceton
 _kernver=2.6.39-LinHES
-pkgver=1.3
-pkgrel=3
+pkgver=1.7
+pkgrel=1
 pkgdesc="Drivers for Ceton InfiniTV4"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -12,12 +12,11 @@ url="http://linuxtv.org/"
 depends=('kernel26')
 makedepends=(kernel-headers)
 install=ceton.install
-source=('http://www.cetoncorp.com/firmware/ceton_infinitv_linux_driver_1_3.tar.gz'
+source=('http://www.cetoncorp.com/downloads/ceton_infinitv_linux_driver_1_7.tar.gz'
 	'ctn_udev.patch' 'ifctn.sh')
 
 build() {
   cd $startdir/src/ceton_infinitv_linux_driver
-#  patch -p1 < ../hdpvr.diff
   patch -p0 < $srcdir/ctn_udev.patch
   make
   make install
@@ -28,6 +27,6 @@ build() {
   mkdir -p $pkgdir/usr/LH/bin
   install -m 755 $srcdir/ifctn.sh $pkgdir/usr/LH/bin
 }
-md5sums=('5021db6c04e2f0c2a8367d9c15827470'
+md5sums=('36949422b310b73f43f2c153e4157916'
          '05371fcff10a2d9058644e860f5c17ef'
          '3fc4c4981d2dab54b297f17564b7729f')
diff --git a/abs/core/ceton/ceton.install b/abs/core/ceton/ceton.install
index 912a323..67403db 100644
--- a/abs/core/ceton/ceton.install
+++ b/abs/core/ceton/ceton.install
@@ -8,7 +8,9 @@ post_install() {
 # arg 2:  the old package version
 post_upgrade() {
   KERNEL_VERSION='2.6.39-LinHES'
-  depmod -ae -v $KERNEL_VERSION  > /dev/null 2>&1        
+  depmod -ae -v $KERNEL_VERSION  > /dev/null 2>&1
+  rmmod ctn91xx
+  modprobe ctn91xx  
 
 }
 
-- 
cgit v0.12