On Friday, March 21, 2014 7:43:11 PM UTC+1, Florin Maticu wrote:
>
> Hello World program for GSOC 2014.
> Project: Debugging tools for LINUX INDUSTRIAL I/O SUBSYSTEM 
>

... talking about iio ...

Here is something for you to debug on the beagle bone black:

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

Regards,

Robert 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to