How to enable IIO driver in 3.18 kernel
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Wed Jun 1 00:40:10 EDT 2016
On Wed, 01 Jun 2016 12:18:55 +0800, "FrankYu" said:
> How can I read the content?
I admit confusion. The content of what? And read it from where? Userspace?
int fd = open ("/dev/iio:whatever",yadda yadda);
int rc = read(fd, &buffer, sizeof(buffer);
Same as reading any other device.
If you mean something else, you'll have to explain..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160601/c4b43a3f/attachment.bin
More information about the Kernelnewbies
mailing list