diff options
Diffstat (limited to 'usr/src/dkms_source_tree/scripts/bcm5974-diagnostics')
| -rwxr-xr-x | usr/src/dkms_source_tree/scripts/bcm5974-diagnostics | 62 |
1 files changed, 28 insertions, 34 deletions
diff --git a/usr/src/dkms_source_tree/scripts/bcm5974-diagnostics b/usr/src/dkms_source_tree/scripts/bcm5974-diagnostics index acd0bf4..b59c496 100755 --- a/usr/src/dkms_source_tree/scripts/bcm5974-diagnostics +++ b/usr/src/dkms_source_tree/scripts/bcm5974-diagnostics | |||
| @@ -68,7 +68,7 @@ if [ -f $MODULES ]; then | |||
| 68 | fi | 68 | fi |
| 69 | fi | 69 | fi |
| 70 | 70 | ||
| 71 | # Do we have old quirks? | 71 | # Do we have old options quirks? |
| 72 | MODPROBE=/etc/modprobe.d/options | 72 | MODPROBE=/etc/modprobe.d/options |
| 73 | if [ -f $MODPROBE ]; then | 73 | if [ -f $MODPROBE ]; then |
| 74 | MODPROBEOPTS=`grep quirks= $MODPROBE|grep -v ^#|grep 0x05ac:0x02` | 74 | MODPROBEOPTS=`grep quirks= $MODPROBE|grep -v ^#|grep 0x05ac:0x02` |
| @@ -82,21 +82,13 @@ else | |||
| 82 | echo \* $MODPROBE: file not found | 82 | echo \* $MODPROBE: file not found |
| 83 | fi | 83 | fi |
| 84 | 84 | ||
| 85 | # Do we have the right quirks? | 85 | # Do we have old bcm5974 quirks? |
| 86 | DRIVMOD=/etc/modprobe.d/$DRIVER | 86 | DRIVMOD=/etc/modprobe.d/$DRIVER |
| 87 | if [ -f $DRIVMOD ]; then | 87 | if [ -f $DRIVMOD ]; then |
| 88 | DRIVMODOPTS=`grep quirks= $DRIVMOD|grep -v ^#|grep 0x05ac:0x02` | 88 | echo \* $DRIVMOD: exists - please remove file |
| 89 | if [ "$DRIVMODOPTS" != "" ]; then | ||
| 90 | echo \* $DRIVMOD: has quirks, good | ||
| 91 | else | ||
| 92 | echo \* $DRIVMOD: does NOT have quirks | ||
| 93 | echo Uncomment the right quirk line in $DRIVMOD | ||
| 94 | exit 1 | ||
| 95 | fi | ||
| 96 | else | ||
| 97 | echo \* $DRIVMOD: file not found | ||
| 98 | echo Copy the etc/modprobe.d/bcm5974 file to /etc/modprobe.d/ | ||
| 99 | exit 1 | 89 | exit 1 |
| 90 | else | ||
| 91 | echo \* $DRIVMOD: no such file, good | ||
| 100 | fi | 92 | fi |
| 101 | 93 | ||
| 102 | # Did the depmod bite? | 94 | # Did the depmod bite? |
| @@ -152,66 +144,68 @@ DIFF=/tmp/synclient-output.diff.$$ | |||
| 152 | TMP=/tmp/synclient-output.txt.$$ | 144 | TMP=/tmp/synclient-output.txt.$$ |
| 153 | synclient -l | grep -v Parameter | sort > $TMP | 145 | synclient -l | grep -v Parameter | sort > $TMP |
| 154 | diff -u - $TMP > $DIFF <<EOF | 146 | diff -u - $TMP > $DIFF <<EOF |
| 155 | AccelFactor = 0.1 | 147 | AccelFactor = 0.0331345 |
| 156 | BottomEdge = 800 | 148 | BottomEdge = 756 |
| 157 | CircScrollDelta = 0.1 | 149 | CircScrollDelta = 0.1 |
| 158 | CircScrollTrigger = 0 | 150 | CircScrollTrigger = 0 |
| 159 | CircularPad = 0 | 151 | CircularPad = 0 |
| 160 | CircularScrolling = 0 | 152 | CircularScrolling = 0 |
| 153 | ClickFinger1 = 1 | ||
| 154 | ClickFinger2 = 3 | ||
| 155 | ClickFinger3 = 2 | ||
| 161 | ClickTime = 100 | 156 | ClickTime = 100 |
| 162 | CoastingSpeed = 0 | 157 | CoastingSpeed = 0 |
| 163 | CornerCoasting = 0 | 158 | CornerCoasting = 0 |
| 164 | EdgeMotionMaxSpeed = 80 | 159 | EdgeMotionMaxSpeed = 120 |
| 165 | EdgeMotionMaxZ = 160 | 160 | EdgeMotionMaxZ = 160 |
| 166 | EdgeMotionMinSpeed = 1 | 161 | EdgeMotionMinSpeed = 1 |
| 167 | EdgeMotionMinZ = 30 | 162 | EdgeMotionMinZ = 29 |
| 168 | EdgeMotionUseAlways = 0 | 163 | EdgeMotionUseAlways = 0 |
| 169 | EmulateMidButtonTime = 75 | 164 | EmulateMidButtonTime = 75 |
| 170 | EmulateTwoFingerMinZ = 257 | 165 | EmulateTwoFingerMinZ = 281 |
| 171 | FastTaps = 0 | 166 | FastTaps = 0 |
| 172 | FingerHigh = 80 | 167 | FingerHigh = 29 |
| 173 | FingerLow = 16 | 168 | FingerLow = 25 |
| 174 | FingerPress = 256 | 169 | FingerPress = 256 |
| 175 | GrabEventDevice = 1 | 170 | GrabEventDevice = 1 |
| 176 | GuestMouseOff = 0 | 171 | GuestMouseOff = 0 |
| 177 | HorizEdgeScroll = 0 | 172 | HorizEdgeScroll = 0 |
| 178 | HorizScrollDelta = 0 | 173 | HorizScrollDelta = 30 |
| 179 | HorizTwoFingerScroll = 1 | 174 | HorizTwoFingerScroll = 0 |
| 180 | LBCornerButton = 0 | 175 | LBCornerButton = 0 |
| 181 | LeftEdge = 0 | 176 | LeftEdge = 51 |
| 182 | LeftRightScrolling = 1 | 177 | LeftRightScrolling = 1 |
| 183 | LeftRightScrollRepeat = 1 | 178 | LeftRightScrollRepeat = 1 |
| 184 | LockedDrags = 0 | 179 | LockedDrags = 0 |
| 185 | LockedDragTimeout = 5000 | 180 | LockedDragTimeout = 5000 |
| 186 | LTCornerButton = 0 | 181 | LTCornerButton = 0 |
| 187 | MaxDoubleTapTime = 200 | 182 | MaxDoubleTapTime = 180 |
| 188 | MaxSpeed = 1.2 | 183 | MaxSpeed = 1 |
| 189 | MaxTapMove = 100 | 184 | MaxTapMove = 66 |
| 190 | MaxTapTime = 223 | 185 | MaxTapTime = 180 |
| 191 | MinSpeed = 0.8 | 186 | MinSpeed = 0.75 |
| 192 | MultiFingerButton = 2 | ||
| 193 | PalmDetect = 0 | 187 | PalmDetect = 0 |
| 194 | PalmMinWidth = 10 | 188 | PalmMinWidth = 10 |
| 195 | PalmMinZ = 200 | 189 | PalmMinZ = 199 |
| 196 | PressureMotionMaxFactor = 1 | 190 | PressureMotionMaxFactor = 1 |
| 197 | PressureMotionMaxZ = 160 | 191 | PressureMotionMaxZ = 160 |
| 198 | PressureMotionMinFactor = 1 | 192 | PressureMotionMinFactor = 1 |
| 199 | PressureMotionMinZ = 10 | 193 | PressureMotionMinZ = 29 |
| 200 | RBCornerButton = 0 | 194 | RBCornerButton = 0 |
| 201 | RightEdge = 1280 | 195 | RightEdge = 1229 |
| 202 | RTCornerButton = 0 | 196 | RTCornerButton = 0 |
| 203 | ScrollButtonRepeat = 100 | 197 | ScrollButtonRepeat = 100 |
| 204 | SingleTapTimeout = 180 | 198 | SingleTapTimeout = 180 |
| 205 | TapButton1 = 0 | 199 | TapButton1 = 0 |
| 206 | TapButton2 = 0 | 200 | TapButton2 = 0 |
| 207 | TapButton3 = 0 | 201 | TapButton3 = 0 |
| 208 | TopEdge = 0 | 202 | TopEdge = 44 |
| 209 | TouchpadOff = 0 | 203 | TouchpadOff = 0 |
| 210 | TrackstickSpeed = 40 | 204 | TrackstickSpeed = 40 |
| 211 | UpDownScrolling = 1 | 205 | UpDownScrolling = 1 |
| 212 | UpDownScrollRepeat = 1 | 206 | UpDownScrollRepeat = 1 |
| 213 | VertEdgeScroll = 0 | 207 | VertEdgeScroll = 0 |
| 214 | VertScrollDelta = 40 | 208 | VertScrollDelta = 30 |
| 215 | VertTwoFingerScroll = 1 | 209 | VertTwoFingerScroll = 1 |
| 216 | EOF | 210 | EOF |
| 217 | rm -f $TMP | 211 | rm -f $TMP |
