Re: How to enable IIO driver in 3.18 kernel

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

 



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

Attachment: pgpo978wvYHOM.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux