diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2008-10-08 23:26:39 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2008-10-08 23:26:39 +0200 |
| commit | 5bf3dece8af80656f0ab23421c720451e4157ad2 (patch) | |
| tree | 6f5c6071633277c817e580f1a24e0b1c9ac5a1e9 /scripts | |
| parent | 7285547e67f8924aace7a78773fa57f9b8fd5bd7 (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-x | scripts/bcm5974-diagnostics | 9 | ||||
| -rwxr-xr-x | scripts/bcm5974-pre-install | 7 |
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 |
| 139 | fi | 139 | fi |
| 140 | 140 | ||
| 141 | # Was the $DRIVER properly initialized? | ||
| 142 | WELLSPRING=`dmesg|grep $DRIVER|grep Wellspring` | ||
| 143 | if [ "$WELLSPRING" != "" ]; then | ||
| 144 | echo \* $DRIVER: Wellspring was initialized | ||
| 145 | else | ||
| 146 | echo \* $DRIVER: Wellspring was NOT initialized | ||
| 147 | exit 1 | ||
| 148 | fi | ||
| 149 | |||
| 150 | # Do we have synaptics working properly? | 141 | # Do we have synaptics working properly? |
| 151 | typeset -i SYNLINES=`synclient -l|wc -l` | 142 | typeset -i SYNLINES=`synclient -l|wc -l` |
| 152 | if [ $SYNLINES -gt 10 ]; then | 143 | if [ $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 | |||
| 25 | PAT[0]="05ac:022" | 25 | PAT[0]="05ac:022" |
| 26 | PAT[1]="05ac:023" | 26 | PAT[1]="05ac:023" |
| 27 | 27 | ||
| 28 | #if [ -x $LSUSB ]; then | 28 | if [ -x $LSUSB ]; then |
| 29 | if 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 |
| 38 | else | 37 | else |
| 39 | echo bcm5974: cannot determine device type | 38 | echo bcm5974: cannot determine device type |
| 40 | exit 1 | 39 | exit -1 |
| 41 | fi | 40 | fi |
| 42 | 41 | ||
| 43 | exit 0 | 42 | exit 0 |
