Permalink
Browse files

dock magnets: use 'disable' module parameter

Change-Id: Id6212ae21a1adce9519a6c3369abb39e5f9b258f
  • Loading branch information...
1 parent cf7f32b commit 8b1e353933e549047a669493c28f20a92995ef1d @nadlabak nadlabak committed Dec 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 rootfs/init.mapphone_umts.rc
@@ -318,10 +318,10 @@ on property:persist.sys.qtouch_num=5
write /proc/qtouch/num_touch 5
on property:persist.sys.hall_input_off=1
- exec /system/bin/rmmod bu52014hfv.ko
+ write /sys/module/bu52014hfv/parameters/disable 1
on property:persist.sys.hall_input_off=0
- insmod /system/lib/modules/bu52014hfv.ko
+ write /sys/module/bu52014hfv/parameters/disable 0
# Power up to normal
on property:tcmd.suspend=0

0 comments on commit 8b1e353

Please sign in to comment.