Re: How to enable IIO driver in 3.18 kernel

2016-06-01 Thread Munagala Naresh
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

Re: [PATCH] HC-SR04 ultrasonic ranger IIO driver

2016-06-01 Thread Daniel Baluta
On Wed, Jun 1, 2016 at 12:05 AM, wrote: > From: Johannes Thoma > > The HC-SR04 is an ultrasonic distance sensor attached to two GPIO > pins. The driver based on Industrial I/O (iio) subsystem and is > controlled via configfs and sysfs. It supports an (in theory) unlimited > number of HC-SR04 dev

Re: How to enable IIO driver in 3.18 kernel

2016-06-01 Thread Daniel Baluta
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

Re: How to enable IIO driver in 3.18 kernel

2016-06-01 Thread Munagala Naresh
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

Re: Request for guidance

2016-06-01 Thread Drew Fustini
Free Electrons has excellent free training materials: http://free-electrons.com/training/kernel/ Slides: http://free-electrons.com/doc/training/linux-kernel/linux-kernel-slides.pdf Practical lab with BeagleBone Black: http://free-electrons.com/doc/training/linux-kernel/linux-kernel-labs.pdf On S

Re: How to enable IIO driver in 3.18 kernel

2016-06-01 Thread FrankYu
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 Jun 2016 13

Re: How to enable IIO driver in 3.18 kernel

2016-06-01 Thread Valdis . Kletnieks
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