Re: Fwd: iio_trigger doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Yes, you need a buffer. The trigger won't be activated until the buffer is
> active. To activate the buffer you need to select at least one scan element
> in the scan_elements subfolder of you IIO device, then set the buffer size
> by writing to buffer/length and finally write a 1 to buffer/enable. Now you
> should see your acc_trigger_handler being called.

I don't understand what you mean with:
"select at least one scan element in the scan_elements subfolder"
I have seen the adis16240 accelerometer driver for example but I don't saw
anything about scan element. Can you be more specific?

> Btw. Marten Svanfeldt wrote a generic higres timer trigger for IIO.
> Unfortunately this driver is not ready for mainline yet, but I've pushed it
> to https://github.com/lclausen-adi/linux-2.6/commit/6f34757 in case you want
> to take a look at it or use it.

Now I look!

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux