Re: drivers: iio: dummy: Unable to add channels to simple_dummy_channel

2019-01-23 Thread valdis . kletnieks
On Wed, 23 Jan 2019 23:25:59 +0530, Bharath Vedartham said: > I am trying to add the 3-axis compass data channels to the > simple_dummy_channel. I have mounted configfs and am able to load the > modules correctly. Is this the right approach? printk is not printing > anything to syslogs. Do you

Re: drivers: iio: Adding channels to the simple_dummy module

2019-01-23 Thread Bharath Vedartham
On Wed, Jan 23, 2019 at 04:36:05PM +0530, Himanshu Jha wrote: > On Tue, Jan 22, 2019 at 11:33:18PM +0530, Bharath Vedartham wrote: > > Hey everyone, > > > > I am trying to get started with the IIO subsystem by doing the following > > tasks: > > > > https://kernelnewbies.org/IIO_tasks > > > >

drivers: iio: dummy: Unable to add channels to simple_dummy_channel

2019-01-23 Thread Bharath Vedartham
I am trying to add the 3-axis compass data channels to the simple_dummy_channel. I have mounted configfs and am able to load the modules correctly. Is this the right approach? printk is not printing anything to syslogs. This is part of the iio_tasks in (I have finished the first 2 tasks):

Re: drivers: iio: Adding channels to the simple_dummy module

2019-01-23 Thread Himanshu Jha
On Tue, Jan 22, 2019 at 11:33:18PM +0530, Bharath Vedartham wrote: > Hey everyone, > > I am trying to get started with the IIO subsystem by doing the following > tasks: > > https://kernelnewbies.org/IIO_tasks > > In task 3, which requires us to add 3 channels to the dummy_device, I > have