summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-10-08 23:26:39 +0200
committerHenrik Rydberg <rydberg@euromail.se>2008-10-08 23:26:39 +0200
commit5bf3dece8af80656f0ab23421c720451e4157ad2 (patch)
tree6f5c6071633277c817e580f1a24e0b1c9ac5a1e9 /scripts
parent7285547e67f8924aace7a78773fa57f9b8fd5bd7 (diff)
bcm5974 (0.56) unstable; urgency=low
* Leave device initialization to hid; use mode-switch only * Mode switch moved to atp_open and simplified * Corrected cleanup action in atp_open * Simplified control package detection * Removed reset_resume, pre_reset, post_reset; not needed -- Henrik Rydberg <rydberg@euromail.se> Fri, 18 Jul 2008 02:42:52 +0200
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bcm5974-diagnostics9
-rwxr-xr-xscripts/bcm5974-pre-install7
2 files changed, 3 insertions, 13 deletions
diff --git a/scripts/bcm5974-diagnostics b/scripts/bcm5974-diagnostics
index bacc02e..acd0bf4 100755
--- a/scripts/bcm5974-diagnostics
+++ b/scripts/bcm5974-diagnostics
@@ -138,15 +138,6 @@ else
138 echo \* $DEVPATH: does not exist, ignore 138 echo \* $DEVPATH: does not exist, ignore
139fi 139fi
140 140
141# Was the $DRIVER properly initialized?
142WELLSPRING=`dmesg|grep $DRIVER|grep Wellspring`
143if [ "$WELLSPRING" != "" ]; then
144 echo \* $DRIVER: Wellspring was initialized
145else
146 echo \* $DRIVER: Wellspring was NOT initialized
147 exit 1
148fi
149
150# Do we have synaptics working properly? 141# Do we have synaptics working properly?
151typeset -i SYNLINES=`synclient -l|wc -l` 142typeset -i SYNLINES=`synclient -l|wc -l`
152if [ $SYNLINES -gt 10 ]; then 143if [ $SYNLINES -gt 10 ]; then
diff --git a/scripts/bcm5974-pre-install b/scripts/bcm5974-pre-install
index 3c4556e..1e2b864 100755
--- a/scripts/bcm5974-pre-install
+++ b/scripts/bcm5974-pre-install
@@ -25,19 +25,18 @@ LSUSB=/usr/sbin/lsusb
25PAT[0]="05ac:022" 25PAT[0]="05ac:022"
26PAT[1]="05ac:023" 26PAT[1]="05ac:023"
27 27
28#if [ -x $LSUSB ]; then 28if [ -x $LSUSB ]; then
29if true; then
30 if [ "`$LSUSB|grep ${PAT[0]}`" != "" ]; then 29 if [ "`$LSUSB|grep ${PAT[0]}`" != "" ]; then
31 exit 0 30 exit 0
32 elif [ "`$LSUSB|grep ${PAT[1]}`" != "" ]; then 31 elif [ "`$LSUSB|grep ${PAT[1]}`" != "" ]; then
33 exit 0 32 exit 0
34 else 33 else
35 echo bcm5974: no suitable device found 34 echo bcm5974: no suitable device found
36 exit 1 35 exit -1
37 fi 36 fi
38else 37else
39 echo bcm5974: cannot determine device type 38 echo bcm5974: cannot determine device type
40 exit 1 39 exit -1
41fi 40fi
42 41
43exit 0 42exit 0