<div dir="ltr">Thanks <span style="font-size:12.8px">Daniel.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">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.</span></div><div><span style="font-size:12.8px">Can you please suggest me the procedure to enable it programmatically ? I tried adding </span><span style="color:rgb(80,0,80);font-size:12.8px">CONFIG_DEVTMPFS=y and </span><span style="color:rgb(80,0,80);font-size:12.8px">CONFIG_DEVTMPFS_MOUNT=y in the def config, but no luck.</span></div><div><span style="color:rgb(80,0,80);font-size:12.8px"><br></span></div><div><span style="color:rgb(80,0,80);font-size:12.8px">Thanks</span></div><div><span style="color:rgb(80,0,80);font-size:12.8px">Naresh </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 8:11 PM, Daniel Baluta <span dir="ltr"><<a href="mailto:daniel.baluta@gmail.com" target="_blank">daniel.baluta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Jun 1, 2016 at 5:26 PM, Munagala Naresh<br>
<<a href="mailto:munagala.nareshbabu@gmail.com">munagala.nareshbabu@gmail.com</a>> wrote:<br>
> Thanks for the response.<br>
><br>
> From the "cat /proc/devices", I could see "iio" listed like this.<br>
><br>
> / # cat /proc/devices<br>
> cat /proc/devices<br>
> Character devices:<br>
> 1 mem<br>
> 4 /dev/vc/0<br>
> 4 tty<br>
> 5 /dev/tty<br>
> 5 /dev/console<br>
> 5 /dev/ptmx<br>
> ------<br>
> 250 iio<br>
> 251 pps<br>
> -----<br>
><br>
> I could see few other deices @ /dev/xxxx. CONFIG_DEVTMPFS is not set in the<br>
> def config. I will try it by adding "CONFIG_DEVTMPFS=y" and<br>
> "CONFIG_DEVTMPFS_MOUNT=y".<br>
<br>
</span>Please don't use top posting.<br>
<br>
You can look into /sys/bus/iio/devices/iio:device0/dev and get the<br>
MAJOR and MINOR,<br>
then create the device node manually, using:<br>
<br>
mknod /dev/iio:device0 c MAJOR MINOR<br>
<br>
Not sure why are you mentioning /proc/devices here.<br>
<br>
thanks,<br>
Daniel.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards<br>Naresh Babu <br>09900139337<div><br><div><br></div></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div></div>
</div>