Blob Blame History Raw
--- a/usr/lib/blueberry/rfkillMagic.py
+++ b/usr/lib/blueberry/rfkillMagic.py
@@ -11,13 +11,13 @@
 RFKILL_EVENT_MONITOR = ["/usr/sbin/rfkill", "event"]
 
 # index of .split() from rfkill event output where lines are:
-#     1426095957.906704: idx 0 type 1 op 0 soft 0 hard 0
-#     1426095957.906769: idx 1 type 2 op 0 soft 1 hard 0
-#     1426096013.465033: idx 1 type 2 op 2 soft 0 hard 0
+# 2017-10-24 18:50:24,027405+0100: idx 0 type 2 op 0 soft 0 hard 0
+# 2017-10-24 18:50:24,027492+0100: idx 1 type 1 op 0 soft 0 hard 0
+# 2017-10-24 18:55:23,996534+0100: idx 0 type 2 op 2 soft 1 hard 0
 
-EVENT_INDEX_DEVICE = 2
-EVENT_INDEX_SOFT_BLOCK = 8
-EVENT_INDEX_HARD_BLOCK = 10
+EVENT_INDEX_DEVICE = 3
+EVENT_INDEX_SOFT_BLOCK = 9
+EVENT_INDEX_HARD_BLOCK = 11
 
 class Interface:
     def __init__(self, output_callback, debug):