From: Jonathan Cameron <jic23@cam.ac.uk>
To: malas <malas@tcoe.iitm.ac.in>
Cc: linux-iio@vger.kernel.org
Subject: Re: ad7793 iio-ring test read issue - Reg
Date: Tue, 23 Aug 2011 12:21:25 +0100 [thread overview]
Message-ID: <4E538D35.7090508@cam.ac.uk> (raw)
In-Reply-To: <20110823080829.M36921@tcoe.iitm.ac.in>
On 08/23/11 09:18, malas wrote:
>
> 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.
Question 1: What's the kernel and where did you get it from? (Interfaces are moving
fast so it's plausible you've fallen in a hole where userspace wasn't matching kernelspace).
>
> 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.
Yes. Question is why and without kernel version I don't know where to look I'm afraid.
>
> Please help.
>
> Thanks
> Mala
> --
> Open WebMail Project (http://openwebmail.org)
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2011-08-23 11:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-23 8:18 ad7793 iio-ring test read issue - Reg malas
2011-08-23 11:21 ` Jonathan Cameron [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E538D35.7090508@cam.ac.uk \
--to=jic23@cam.ac.uk \
--cc=linux-iio@vger.kernel.org \
--cc=malas@tcoe.iitm.ac.in \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.