Newb: Can't start buffer with iio_dummy

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

 



Hi,
Trying to get started with iio and having problems with the iio_dummy
module. I don't have real iio hardware on this machine (or any other).

I think that in order to trigger the buffer I can use the 'poke_ev0'
event, but whenever I attempt to start the buffer I get:
--
# modprobe iio_dummy
# cd /sys/bus/iio/devices/iio\:device0
# echo 'poke_ev0' > trigger/current_trigger
# echo 1 > scan_elements/in_voltage0_en
# echo 100 > buffer/length
# echo 1 > buffer/enable
bash: echo: write error: Invalid argument
--

Current trigger returns nothing....
--
# cat trigger/current_trigger
# ls /sys/bus/iio/devices/iio_evgen
poke_ev0  poke_ev2  poke_ev4  poke_ev6  poke_ev8  power      uevent
poke_ev1  poke_ev3  poke_ev5  poke_ev7  poke_ev9  subsystem
--

I Google'd around but there does not seem to be a How-to/Example on line.
I'm using 4.1.0-rc7.
Simon.


--
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