Re: ad7793 iio-ring test read issue - Reg

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

 



On 08/23/11 09:18, malas wrote:
> 
> Dear Michael Hennerich,
> 
> 
> I shall post iio quesris in this mail list as per your suggestions.
> 
> AD7793 driver is built into kernel. The chip gets configured and am able to read data on
> continuous mode via spi interface using ad7793 driver at kernel level.
> 
> While testing userspace test iio-ring to read data from ring buffer, generic_buffer code
> was executed, it  proceeds till opening /sys/bus/iio/devices/device0:buffer0 and
> Read call fails.
Question 1: What's the kernel and where did you get it from? (Interfaces are moving
fast so it's plausible you've fallen in a hole where userspace wasn't matching kernelspace).
> 
> In fs I can list the iio device ad7793 with following properties get/set.
> 
> root:/> ls /sys/bus/iio/devices/device0\:buffer0/
> bytes_per_datum  enable           power            subsystem
> dev              length           scan_elements    uevent
> root:/>
> 
> I find access0 and event0 missing in this list. Is that the reason for read() fails.
Yes.  Question is why and without kernel version I don't know where to look I'm afraid.

> 
> Please help.
> 
> Thanks
> Mala
> --
> Open WebMail Project (http://openwebmail.org)
> 
> 
> 
> --
> 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
> 

--
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