--- hotkey-5.1.2.orig/debian/compat
+++ hotkey-5.1.2/debian/compat
@@ -0,0 +1 @@
+5
--- hotkey-5.1.2.orig/debian/copyright
+++ hotkey-5.1.2/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Bill Filler <bill.filler@canonical.com> on
+Fri, 03 Apr 2009 15:54:14 -0400.
+
+/*
+ * (C) Copyright 2009 Compal Electronics, Inc. 
+ *
+ * This software is the property of Compal Electronics, Inc.
+ * You have to accept the terms in the license file before use.
+ *
+ */
+
+ Copyright 2008-2009 Compal Electronics, Inc.. All rights reserved.
+
+By installing or using this software or any portion thereof, you ("You") agrees to be bound by the following terms of use ("Terms of Use").
+This software, and any portion thereof, is referred to herein as the "Software."
+
+USE OF SOFTWARE.  This software is the property of Compal Electronics, Inc. (Compal) and is made available by Compal to You, and may be used only by You for personal or project evaluation.
+
+RESTRICTIONS.  You may not claim the ownership of the Software and may not sell the Software. You agree not to redistribute the Software and not to demonstrate the Software in public (including, but not limited to,
+tradeshows) or to mass media before obtaining additional written permissions from Compal.
+
+INDEMNITY.  You agree to hold harmless and indemnify Compal and Compalˇs subsidiaries, affiliates, officers, agents, and employees from and against any claim, suit, or action arising from or in any way related to Your use of the Software or Your violation of these Terms of Use, including any liability or expense arising from all claims, losses, damages, suits, judgments, litigation costs and attorneys' fees, of every kind and nature.
+In such a case, Compal will provide You with written notices of such claim, suit, or action.
+
+DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- hotkey-5.1.2.orig/debian/rules
+++ hotkey-5.1.2/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+#include /usr/share/cdbs/1/class/makefile.mk
+
+
+# Add here any variable or target overrides you need.
--- hotkey-5.1.2.orig/debian/install
+++ hotkey-5.1.2/debian/install
@@ -0,0 +1,2 @@
+usr/* /usr
+etc/* /etc
--- hotkey-5.1.2.orig/debian/changelog
+++ hotkey-5.1.2/debian/changelog
@@ -0,0 +1,48 @@
+hotkey (5.1.2-0buffalo1) buffalo; urgency=low
+
+  * new upstream version hotkey-5.1.2 
+
+ -- Bill Filler <bill.filler@canonical.com>  Tue, 28 Apr 2009 14:44:55 -0400
+
+hotkey (5.0.9-0buffalo1) buffalo; urgency=low
+
+  * new upstream version hotkey-5.0.9
+  * modified debian/postinst and prerm to install in 2.6.24-24 
+
+ -- Bill Filler <bill.filler@canonical.com>  Fri, 17 Apr 2009 14:50:12 -0400
+
+hotkey (5.0.7-0buffalo1) buffalo; urgency=low
+
+  * new upstream version hotkey-5.0.7 
+
+ -- Bill Filler <bill.filler@canonical.com>  Tue, 14 Apr 2009 11:40:42 -0400
+
+hotkey (5.0.5-0buffalo1) buffalo; urgency=low
+
+  * update to latest OSD release (5.0.5) 
+
+ -- Bill Filler <bill.filler@canonical.com>  Wed, 08 Apr 2009 11:19:27 -0400
+
+hotkey (5.0.4.1-0buffalo1) buffalo; urgency=low
+
+  * correct package naming scheme 
+
+ -- Bill Filler <bill.filler@canonical.com>  Fri, 03 Apr 2009 16:57:23 -0400
+
+hotkey (5.0.4buffalo2) buffalo; urgency=low
+
+  * added back in debian/postinst and debian/prerm 
+
+ -- Bill Filler <bill.filler@canonical.com>  Fri, 03 Apr 2009 16:50:23 -0400
+
+hotkey (5.0.4buffalo1) buffalo; urgency=low
+
+  * repackage using orig.tar.gz to maintain .so files 
+
+ -- Bill Filler <bill.filler@canonical.com>  Fri, 03 Apr 2009 16:43:35 -0400
+
+hotkey (5.0.4) buffalo; urgency=low
+
+  * Initial Release.
+
+ -- Bill Filler <bill.filler@canonical.com>  Fri, 03 Apr 2009 15:54:14 -0400
--- hotkey-5.1.2.orig/debian/prerm
+++ hotkey-5.1.2/debian/prerm
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+a=2.6.24-24-lpia
+
+b=/lib/modules/${a}/kernel/drivers/pci
+
+c=/lib/modules/${a}/kernel/drivers/pci/hotplug
+
+d=${c}/EcIo.ko
+
+echo "#############hotkey-remove#################"
+echo ${b}
+
+echo ${c}
+
+echo ${d}
+
+if [ -f ${d} ];then
+echo "################remove hotkey driver#################"
+rm ${d}
+echo "################remove hotkey driver success#########"
+fi
+
+echo "##########################################"
+depmod -a
+echo "###############hotkey-remove end###########"
--- hotkey-5.1.2.orig/debian/postinst
+++ hotkey-5.1.2/debian/postinst
@@ -0,0 +1,43 @@
+#!/bin/bash
+
+echo "EcIo" >> /etc/modules
+
+a=2.6.24-24-lpia 
+
+b=/lib/modules/${a}/kernel/drivers/pci
+
+c=/lib/modules/${a}/kernel/drivers/pci/hotplug
+
+d=${c}/EcIo.ko
+
+echo "##################hotkey-install###############"
+
+echo ${b}
+
+echo ${c}
+
+echo ${d}
+
+if [ ! -d ${b} ];then
+mkdir ${b}
+fi
+
+if [ ! -d ${c} ];then
+mkdir ${c}
+fi
+
+if [ -f ${d} ];then
+echo "####################hotkey remove old driver##################"
+rm ${d}
+echo "###################hotkey remove old driver success###########"
+fi
+
+cp /usr/lib/EcIo.ko  ${d}
+
+echo "################################################"
+
+depmod -a || true
+
+echo "###################hotkey-install end##################"
+
+
--- hotkey-5.1.2.orig/debian/control
+++ hotkey-5.1.2/debian/control
@@ -0,0 +1,12 @@
+Source: hotkey
+Section: unknown
+Priority: extra
+Maintainer: Bill Filler <bill.filler@canonical.com>
+Build-Depends: cdbs, debhelper (>= 5), libglade2-dev, libgconf2-dev, libdbus-glib-1-dev, libxtst-dev, libasound2-dev, libatk1.0-dev, libxrandr-dev, libxml2-dev
+Standards-Version: 3.7.3
+
+Package: hotkey
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Compal On Screen Display and hotkey support. 
+ Support for hotkeys and OSD (on screen display) for the Toshiba Buffalo Project
