max1363 driver not working with iio_generic_buffer tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
(I'm sorry, the question may be too simple for this mailing list)
I'm working with max1136 via max1363 driver.
I can read raw values via sysfs.
But I cannot use it with iio_generic_buffer.

I enable a channel:
  echo 1 | sudo tee
/sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en

and then:
  sudo ./iio_generic_buffer -g -n max1136

returns:
  Failed to enable buffer: Invalid argument

whilst with TI-am335x-adc driver I can read values.
Please suggest me what to try, or may be INDIO_DIRECT_MODE doesn't
suppose work with the buffer?
Thank you very much,
Dmitry Mastykin
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux