How to enable IIO driver in 3.18 kernel

FrankYu 909655299 at qq.com
Wed Jun 1 01:58:20 EDT 2016


Sorry, I mean the mail's content 
I can not read the mail, there's only a *.bin file attached 

发自我的iPhone

------------------ Original ------------------
From: Valdis.Kletnieks <Valdis.Kletnieks at vt.edu>
Date: 周三,6月 1,2016 0:40 下午
To: 909655299 <909655299 at qq.com>, munagala.nareshbabu <munagala.nareshbabu at gmail.com>, kernelnewbies <kernelnewbies at kernelnewbies.org>
Subject: Re: How to enable IIO driver in 3.18 kernel



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 --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160601/476573f6/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0601_1.jpg
Type: application/octet-stream
Size: 22474 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160601/476573f6/attachment-0001.obj 


More information about the Kernelnewbies mailing list