Thread (5 messages) 5 messages, 3 authors, 2016-06-02

How to enable IIO driver in 3.18 kernel

From: Munagala Naresh <hidden>
Date: 2016-06-01 14:26:12

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/xxxx. CONFIG_DEVTMPFS is not set in the
def config. I will try it by adding "CONFIG_DEVTMPFS=y" and
"CONFIG_DEVTMPFS_MOUNT=y".












Thanks,
Naresh

On Wed, Jun 1, 2016 at 9:41 AM, [off-list ref] wrote:
On Wed, 01 Jun 2016 08:19:20 +0530, Munagala Naresh said:
quoted
We are integrating one sensor driver in to LE platform. After adding
sensor
quoted
driver, it is creating device @ /sys/bus/iio/devices/iio:device0,1,2.
quoted
Sensor driver makes use of IIO subsystem framework. We are not seeing iio
device creation @ */dev/iio:device0*,1,2
The kernel is creating your device in /sys.  You need to either get udev
knowing what
to do to mknod the /dev entry,  or check if your kernel config has:

CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y

so the kernel takes care of it for you.


-- 
Regards
Naresh Babu
09900139337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160601/3d88dec9/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help