Skip to content

Device Trigger #3

@tyaglot

Description

@tyaglot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions