[09:04] <pinchartl> hverkuil: goeiemorgen [09:04] <pinchartl> quick question about V4L2 controls [09:04] <pinchartl> do I understand correctly that the U8, U16 and U32 types can be used for non-compound controls too, with a single value ? [09:05] <pinchartl> despite them being > V4L2_CTRL_COMPOUND_TYPES [09:07] <hverkuil> As an array only. For single values you would use the INTEGER type. [09:08] <pinchartl> ok [09:08] <pinchartl> that wasn't clear from the spec [09:08] <pinchartl> looking at https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/vidioc-g-ext-ctrls.html [09:08] <pinchartl> documentation of the value field [09:09] <pinchartl> "New value or current value. Valid if this control is not of type V4L2_CTRL_TYPE_INTEGER64 and V4L2_CTRL_FLAG_HAS_PAYLOAD is not set." [09:09] <pinchartl> hmmm... [09:10] <pinchartl> ok, I now see that V4L2_CTRL_FLAG_HAS_PAYLOAD is always set for U8, U16 and U32 [09:10] <hverkuil> So types U8 etc. will set HAS_PAYLOAD since they are compound types. [09:10] <hverkuil> right :-) [09:10] <pinchartl> it's not explicitly documented in the spec though, unless I've missed it ? [09:11] <hverkuil> That could be improved, yes. [09:11] <pinchartl> thanks for the clarification [09:23] <svarbanov> hverkuil, Hi, do you plan to send other pull requests for fixes? I wonder can you take the venus smatch fix or I have to prepare pull request for venus [09:32] <hverkuil> svarbanov: probably not this week, I just made a PR for fixes yesterday. [09:33] <svarbanov> hverkuil, ok, thanks. [15:37] <lucaceresoli> hi, I'm stuck on a mysterious problem with async notifiers and don't know where else to investigate, I hope anybody here can shed some light [15:38] <lucaceresoli> I have this v4l2 pipeline: [15:38] <lucaceresoli> SENSOR -> SERDES -> CSI2-RX -> VIDEO-IN [15:39] <lucaceresoli> at the CSI2 driver I'm trying to use async notifiers to know the upstream subdev (deser) that gets connected [15:39] <lucaceresoli> but all I can get is a .bound() called with 'subdev' pointing at the sensor [15:40] <lucaceresoli> 1. is this expected at all??? [15:40] <lucaceresoli> 2. why does the deser subdev not trigger .bound? (or: where to investigate?) [15:41] <lucaceresoli> A couple details that might help: [15:41] <lucaceresoli> - the deser driver is instantiated at boot time [15:41] <lucaceresoli> - sensor + csi2rx are instantiated upon loading of a DT overlay [15:41] <lucaceresoli> - kernel based on 4.19.79 [15:42] <lucaceresoli> (IIUC the notify code has changed significantly in 4.20) [19:12] *** benjiG has left