From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Wed, 01 Jun 2016 00:11:05 -0400 Subject: How to enable IIO driver in 3.18 kernel In-Reply-To: References: Message-ID: <16140.1464754265@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 848 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160601/ef305427/attachment.bin