Thanks Daniel.
After creating devices using mknod, it is working on expected lines. After
reboot these devices are getting removed and I need to create them manually
every time.
Can you please suggest me the procedure to enable it programmatically ? I
tried adding CONFIG_DEVTMPFS=y and CONFIG_DEVT
On Wed, Jun 1, 2016 at 5:26 PM, Munagala Naresh
wrote:
> Thanks for the response.
>
> From the "cat /proc/devices", I could see "iio" listed like this.
>
> / # cat /proc/devices
> cat /proc/devices
> Character devices:
> 1 mem
> 4 /dev/vc/0
> 4 tty
> 5 /dev/tty
> 5 /dev/console
> 5 /de
Thanks for the response.
>From the "cat /proc/devices", I could see "iio" listed like this.
/ # cat /proc/devices
cat /proc/devices
Character devices:
1 mem
4 /dev/vc/0
4 tty
5 /dev/tty
5 /dev/console
5 /dev/ptmx
--
*250 iio*
251 pps
-
I could see few other deices @ /dev/xx
Tx
May be I should change a mail client
:)
-- Original --
From: Valdis.Kletnieks
Date: ,6?? 1,2016 3:03
To: FrankYu <909655...@qq.com>
Cc: munagala.nareshbabu , kernelnewbies
Subject: Re: How to enable IIO driver in 3.18 kernel
On Wed, 01 Ju
On Wed, 01 Jun 2016 13:58:20 +0800, you said:
> Sorry, I mean the mail's contentĀ
> I can not read the mail, there's only a *.bin file attachedĀ
You have a defective mail reader, which is unable to recognize
a digital signature. There's been an Internet standard for that
since 1995, so there's *r
ies
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);
i
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 mea
On Wed, 01 Jun 2016 08:19:20 +0530, Munagala Naresh said:
> We are integrating one sensor driver in to LE platform. After adding sensor
> driver, it is creating device @ /sys/bus/iio/devices/iio:device0,1,2.
> Sensor driver makes use of IIO subsystem framework. We are not seeing iio
> device crea
HI team,
We are integrating one sensor driver in to LE platform. After adding sensor
driver, it is creating device @ /sys/bus/iio/devices/iio:device0,1,2.
Sensor driver makes use of IIO subsystem framework. We are not seeing iio
device creation @ */dev/iio:device0*,1,2
I have enabled below conf