Re: [PATCH v5 1/2] iio:imu: inv_mpu6050: support more interrupt types

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

 



On 04/13/2018 02:25 AM, Jean-Baptiste Maneyrol wrote:
Hello,

I am now able to reproduce the issue by generating kernel irq (just plug/unplug mouse or keyboard is sufficient).

My last modification doesn't solve anything, since event the hard irq handler is disabled when processing another interrupt. Having a latched interrupt and triggering by level is a workaround, but clearly not perfect.



I'm glad you can reproduce the issue now! What board are you using? My issues have been with the nanopi neo air (based on the Allwinner H3 SoC).

I think we need to work out a new solution for timestamping correctly the data.

JB


I think we should try to solve the missing interrupts issue. Without solving it, the best we can do is interpolate, as I do in the other patch.

That said, I think supporting more interrupt types and interpolating are good ideas regardless. Supporting more interrupt types is useful for integrating with more types of hardware, and interpolating is useful for being more robust against systems having issues, which can unexpectedly happen even if we fix the immediate issue we see here.
--
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