Re: IIO timestamp get skewed when suspending (st_lsm6dsx)

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

 





On 29/05/2020 14.16, Lorenzo Bianconi wrote:
On May 29, Sean Nyekjaer wrote:


Ack, values seem properly updated, while values reported to the upserspace are
using wrong value? could you please try to dump ts samples reading the hw queue
after the resume?

Regards,
Lorenzo


I have add the raw timestamps to the trace:
https://gist.github.com/sknsean/1eb3c074d6f2d134632582a4771322bb

Both with and without the proposed patch :)

/Sean

are these values from the hw FIFO? can you please add sensor->ts_ref to the trace and
a log into st_lsm6dsx_reset_hw_ts?


Hi,

This certainly looks weird,

https://gist.github.com/sknsean/b32bae140008cf446a8fea58e305da47

Seems like the ts_ref is updated and used but not read/used in userspace...

/Sean



[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