From c666f466b8af4e2433325b7812515516c2f5adcf Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sat, 25 Oct 2008 00:39:51 +0200 Subject: Version 1.0 Debian DKMS package, with source available at launchpad: https://code.launchpad.net/~rydberg Package uploaded to the mactel-support PPA Signed-off-by: Henrik Rydberg --- usr/src/dkms_source_tree/bcm5974.c | 5 ++++ usr/src/dkms_source_tree/dkms.conf | 3 +-- .../dkms_source_tree/scripts/bcm5974-post-remove | 29 ---------------------- 3 files changed, 6 insertions(+), 31 deletions(-) delete mode 100755 usr/src/dkms_source_tree/scripts/bcm5974-post-remove (limited to 'usr/src/dkms_source_tree') diff --git a/usr/src/dkms_source_tree/bcm5974.c b/usr/src/dkms_source_tree/bcm5974.c index e858f0b..ef2ffab 100644 --- a/usr/src/dkms_source_tree/bcm5974.c +++ b/usr/src/dkms_source_tree/bcm5974.c @@ -42,8 +42,13 @@ #include #define USB_VENDOR_ID_APPLE 0x05ac + +#ifndef BTN_TOOL_PRESS #define BTN_TOOL_PRESS 0x148 +#endif +#ifndef BTN_TOOL_QUADTAP #define BTN_TOOL_QUADTAP 0x14f +#endif /* MacbookAir, aka wellspring */ #define USB_DEVICE_ID_APPLE_WELLSPRING_ANSI 0x0223 diff --git a/usr/src/dkms_source_tree/dkms.conf b/usr/src/dkms_source_tree/dkms.conf index df7925c..6119821 100644 --- a/usr/src/dkms_source_tree/dkms.conf +++ b/usr/src/dkms_source_tree/dkms.conf @@ -1,5 +1,5 @@ NAME=bcm5974 -VERSION=0.99 +VERSION=1.0 PACKAGE_NAME="$NAME" PACKAGE_VERSION="$VERSION" MAKE[0]="make -C ${kernel_source_dir} @@ -8,4 +8,3 @@ BUILT_MODULE_NAME[0]="bcm5974" DEST_MODULE_LOCATION[0]="/kernel/drivers/input/mouse" PRE_INSTALL="scripts/bcm5974-pre-install" POST_INSTALL="scripts/bcm5974-post-install" -POST_REMOVE="scripts/bcm5974-post-remove" diff --git a/usr/src/dkms_source_tree/scripts/bcm5974-post-remove b/usr/src/dkms_source_tree/scripts/bcm5974-post-remove deleted file mode 100755 index 21977de..0000000 --- a/usr/src/dkms_source_tree/scripts/bcm5974-post-remove +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# -# bcm5943-post-remove - post-removing the BCM5974 -# -# Copyright (C) 2008 Henrik Rydberg (rydberg@euromail.se) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# - -DRIVER=bcm5974 -ETCPATH=/etc/modprobe.d/$DRIVER - -echo ----------------------------------------------------------------------- - -rm -f $ETCPATH - -exit 0 -- cgit v1.2.3