public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* iio on beagle bone black 3.13.6 kernel
@ 2014-03-22 17:19 gmane
       [not found] ` <532F1DE0.9090908@kernel.org>
  0 siblings, 1 reply; 3+ messages in thread
From: gmane @ 2014-03-22 17:19 UTC (permalink / raw)
  To: linux-iio

Hi,

I use a beagle bone black with a 3.13.6 kernel and would like to get 
the
./generic_buffer test which comes with the kernel to work.

This is what I do:

echo 1 > /sys/bus/iio/devices/iio_sysfs_trigger/add_trigger

ls /sys/bus/iio/devices/
iio:device0  iio_sysfs_trigger  trigger0

cat /sys/bus/iio/devices/trigger0/name
sysfstrig1

echo 1 > /sys/bus/iio/devices/iio:device0/scan_elements/in_voltage5_en


./generic_buffer.out -n TI-am335x-adc -t sysfstrig1 -l 128
iio device number being used is 0
iio trigger number being used is 0
  sysfstrig1
---> Could not open /trigger/current_trigger
Failed to write current_trigger file

How can I get rid of this?

Is this a problem with my driver, or should I just create this magic
file somewhere?

Regards,

Robert


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-04 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-22 17:19 iio on beagle bone black 3.13.6 kernel gmane
     [not found] ` <532F1DE0.9090908@kernel.org>
2014-03-23 18:54   ` Zubair Lutfullah :
     [not found]     ` <532F3724.3020302@kernel.org>
2014-04-04 13:59       ` gmane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox