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/bcm5974-pre-install | |
| 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/bcm5974-pre-install')
| -rwxr-xr-x | scripts/bcm5974-pre-install | 7 |
1 files changed, 3 insertions, 4 deletions
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 |
