-
Notifications
You must be signed in to change notification settings - Fork 4
Description
When I install the driver I see the iio device under /sys/bus/iio/devices, but there isn't an associated trigger.
iio_device_is_trigger() returns false for the BMI260 device, and there are no other iio devices on my system.
Without the trigger I'm unable to create an iio buffer to read from the device. I am able to use the raw attribute on the accel and gyro x, y, and z channels to repeatedly poll data from the device, however this doesn't work for the timestamp channel as it has no attributes.
See https://libiio.github.io/libiio/master/libiio/index.html, under heading "Enabling channels and creating the Buffer object": "This call will fail if no channels have been enabled, or for triggered buffers, if the trigger has not been assigned."
Thank you for writing this driver, and for any direction you may be able to provide.