beagleboard / beagleboard/linux
Cannot enable magnetometer on BeagleBone Blue via kernel driver
- Dominant language
- C
- Stars
- 810
- Forks
- 582
- PR merge metrics
- No merged PRs in 30d
Description
Please set CONFIG_AK8975=m
Tested with:
* https://gist.github.com/jadonk/99288dd94fb16b6c764c7c81c7735dd0
* https://gist.github.com/jadonk/bcc5f1e65f39406800c3c32cb81290b1
```
debian@beaglebone:/var/lib/cloud9$ dmesg | grep ak
[ 0.412403] hw-breakpoint: debug architecture 0x4 unsupported.
[ 39.936608] ak8975 3-000c: mounting matrix not found: using identity...
[ 39.936658] ak8975 3-000c: 3-000c supply vdd not found, using dummy regulator
[ 39.936818] ak8975 3-000c: Linked as a consumer to regulator.0
[ 39.936842] ak8975 3-000c: 3-000c supply vid not found, using dummy regulator
debian@beaglebone:/var/lib/cloud9$ cat /sys/bus/iio/devices/iio\:device2/in_magn_x_raw
-24
debian@beaglebone:/var/lib/cloud9$
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.