<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">&lt;<a href="mailto:daniel.baluta@gmail.com" target="_blank">daniel.baluta@gmail.com</a>&gt;</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>
&lt;<a href="mailto:munagala.nareshbabu@gmail.com">munagala.nareshbabu@gmail.com</a>&gt; wrote:<br>
&gt; Thanks for the response.<br>
&gt;<br>
&gt; From the &quot;cat /proc/devices&quot;, I could see &quot;iio&quot; listed like this.<br>
&gt;<br>
&gt; / # cat /proc/devices<br>
&gt; cat /proc/devices<br>
&gt; Character devices:<br>
&gt;   1 mem<br>
&gt;   4 /dev/vc/0<br>
&gt;   4 tty<br>
&gt;   5 /dev/tty<br>
&gt;   5 /dev/console<br>
&gt;   5 /dev/ptmx<br>
&gt;  ------<br>
&gt; 250 iio<br>
&gt; 251 pps<br>
&gt;  -----<br>
&gt;<br>
&gt; I could see few other deices @ /dev/xxxx. CONFIG_DEVTMPFS is not set in the<br>
&gt; def config. I will try it by adding &quot;CONFIG_DEVTMPFS=y&quot; and<br>
&gt; &quot;CONFIG_DEVTMPFS_MOUNT=y&quot;.<br>
<br>
</span>Please don&#39;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>