[00:23] <godane> can anyone help me with my roxio video capture usb? [00:44] *** thiblahute has quit IRC () [01:08] *** iive has quit IRC (Quit: They came for me...) [01:18] *** Whoopie has quit IRC (Ping timeout: 240 seconds) [02:43] *** __raven__ has quit IRC (Ping timeout: 272 seconds) [03:20] *** bparrot has quit IRC (Remote host closed the connection) [03:21] *** arnd has quit IRC () [06:51] <arkver> Hi. Anyone on her familiar with media-ctl and /dev/media0 device creation? [06:51] <arkver> here [07:31] <sailus> arkver: Would you have a question related to the topic by any chance? :-) [07:32] <arkver> Yeah :) I'm testing Steve Longerbeam's mx6 capture on a Yocto built system and trying to create a pipeline with media-ctl, but I have no /dev/media* devices. [07:32] <arkver> I assume I'm missing something, but kconfig looks ok. [07:33] <arkver> Do I need udev rules to make the device too? I get all the /dev/video* nodes created OK, and the log has this... [07:33] <arkver> [ 0.492849] media: Linux media interface: v0.10 (and) [ 1.992244] imx-media capture-subsystem: Media device initialized [07:35] <arkver> I am possibly missing a media aware sensor device at the moment, which might be an issue? [07:37] <arkver> sailus: hyvää huomenta, btw. [07:39] <sailus> Could it be that the complete callback of the async notifier never gets called? [07:40] <sailus> That's where the media device is typically created. [07:40] <sailus> This could conceivably be up to the user space. [07:40] <sailus> Could you check if you have it in /proc/devices? [07:41] <sailus> Oh, wait, that only tells whether the major is registered. [07:41] <arkver> My DT has a "fake" sensor hooked up to the capture subsys. THis might not do the correct register calls, so maybe the capture device is still waiting on it. [07:41] <sailus> Does this fake sensor have a driver? [07:41] <sailus> The async registration typically needs to succeed in order to complete things, including registering the media device. [07:41] <arkver> 252 media [07:41] <arkver> in proc/devices [07:42] <sailus> Yes, but that only tells whether the major number is registered. Not whether /dev/media0 is registerd. [07:43] <arkver> It has a driver, but I based it on an older OV-something driver. I should redo it based on one of Steve's which should work with the rest of his series. [07:43] <arkver> But what should be creating the /dev/media0 device? [07:44] <sailus> Udevd typically does that. [07:45] <arkver> ok. Just noticed I have no /sys/dev/char/252* entries. [07:45] <sailus> Could you check whether the async binding and notifier complete is successful for all async sub-devices? [07:49] <arkver> I see register subdev all the ipu stuff, but not my fake sensor. I'll go look at that, since it seems relevant. Thanks! [07:54] <arkver> I also note Hans' patch to udev rules. Pretty sure I don't have any such rules in my build. Will dig for those too. [07:57] <sailus> arkver: You're welcome! [08:12] <hfr> posciak: tfiga: Hi Pawel Thomasz, did you seen my mail about [RFC] V4L2 unified low-level decoder API ? [08:12] <hfr> posciak: tfiga: RFC is there: https://www.spinics.net/lists/linux-media/msg107150.html [08:13] <hfr> posciak: tfiga: and latest implementation with ST DELTA video decoder for MPEG2 is there: https://www.spinics.net/lists/linux-media/msg114716.html [08:14] *** svarbanov has quit IRC (Ping timeout: 240 seconds) [08:14] <hfr> posciak: tfiga: would be nice that you have a quick look to this and give your feedback if it fits with Chromium implementation [08:24] <pinchartl> hfr: I'll reply to your e-mail. I'm sorry for the delay [08:31] <hfr> pinchartl: you're welcome, no pbm Laurent [08:36] *** _abbenormal has quit IRC (Ping timeout: 240 seconds) [09:30] <hfr> Hi media guys, do you know if sensor ov5640 is supported ? I see that ov5645/ov5647 driver is there but could it be used for ov5640 ? [09:45] <pH5> hfr: I haven't tested it, but an ov5640 was posted with the i.mx media staging driver: https://patchwork.kernel.org/patch/9647769/ [09:45] <pH5> ov5640 driver [10:25] <hfr> pH5: Thanks for prompt reply, I'll check that code [11:22] <arkver> sailus: # CONFIG_VIDEO_FIXEDCAM is not set [11:22] <arkver> sailus: would explain why the subdevice wasn't notifying. [11:22] <arkver> grr [12:08] *** indy has quit IRC (Ping timeout: 255 seconds) [12:14] *** andrey_utkin has quit IRC (Remote host closed the connection) [13:12] *** Nikhil_D has quit IRC (Remote host closed the connection) [13:23] <tfiga> sailus: hello :) [16:08] *** benjiG has left [17:27] <arkver> sailus: # CONFIG_VIDEO_MULTIPLEXER is not set <-- another required subdev. [17:39] <arkver> sailus: Now the subdevs all notify their registration so the completion callback is called and /dev/media0 is created. media-ctl shows the topology. Configuring it and trying to stream is for tomorrow.