All of lore.kernel.org
 help / color / mirror / Atom feed
* ad7793 iio-ring test read issue - Reg
@ 2011-08-23  8:18 malas
  2011-08-23 11:21 ` Jonathan Cameron
  0 siblings, 1 reply; 17+ messages in thread
From: malas @ 2011-08-23  8:18 UTC (permalink / raw)
  To: linux-iio


Dear Michael Hennerich,


I shall post iio quesris in this mail list as per your suggestions.

AD7793 driver is built into kernel. The chip gets configured and am able to read data on
continuous mode via spi interface using ad7793 driver at kernel level.

While testing userspace test iio-ring to read data from ring buffer, generic_buffer code
was executed, it  proceeds till opening /sys/bus/iio/devices/device0:buffer0 and
Read call fails.

In fs I can list the iio device ad7793 with following properties get/set.

root:/> ls /sys/bus/iio/devices/device0\:buffer0/
bytes_per_datum  enable           power            subsystem
dev              length           scan_elements    uevent
root:/>

I find access0 and event0 missing in this list. Is that the reason for read() fails.

Please help.

Thanks
Mala
--
Open WebMail Project (http://openwebmail.org)




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

end of thread, other threads:[~2011-08-23 15:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23  8:18 ad7793 iio-ring test read issue - Reg malas
2011-08-23 11:21 ` Jonathan Cameron
2011-08-23 11:25   ` malas
2011-08-23 11:39     ` Hennerich, Michael
2011-08-23 12:17       ` malas
2011-08-23 12:39         ` Jonathan Cameron
2011-08-23 12:43           ` malas
2011-08-23 12:58             ` Jonathan Cameron
2011-08-23 13:24               ` malas
2011-08-23 13:41                 ` Jonathan Cameron
2011-08-23 13:48                   ` malas
2011-08-23 14:07                     ` Jonathan Cameron
2011-08-23 14:14                       ` malas
2011-08-23 14:30                         ` Hennerich, Michael
2011-08-23 14:33                           ` malas
2011-08-23 14:53                           ` malas
2011-08-23 15:03                             ` Michael Hennerich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.