You can check the sensor operation with the command:
cat /sys/devices/system/wario_hall/wario_hall0/hall_detect
0 - no magnet
1 - magnet detected
You can also disable the sensor by:
echo 0 > /sys/devices/system/wario_hall/wario_hall0/hall_enable
Good luck!
|