From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Sender: k.matthias12@gmail.com In-Reply-To: References: From: Matthias Klumpp Date: Tue, 10 Jan 2017 14:29:23 +0100 Message-ID: Subject: Re: Problems with using IIO buffers To: Jonathan Cameron Cc: Peter Meerwald-Stadler , linux-iio@vger.kernel.org Content-Type: text/plain; charset=UTF-8 List-ID: Hi! The iio_dummy test module works now with the iio_generic_buffer test program :-) (libiio still doesn't do what I want though). My own driver does recognize the trigger call but does not acquire data, likely due to a mask that is set to something I don't implement yet (maybe checking for IIO_CHAN_INFO_RAW was not enough). In any case, it looks like I need to continuously trigger the (software) trigger to move data into the buffer - is there any way to automate that, i.e. by saying "give me X samples" or "acquire data for 3ms"? Or do I always need to trigger from userspace or use a hardware trigger? Regards, Matthias