#v4l 2015-08-18,Tue

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
pevHey - on my (embedded) board I've two video capture devices, video1 and video0. However, if video0 fails, the video1 hardware loads as video0... Is there a quick and dirty way to force the module to only ever load as video1? [12:37]
jmleopev: you can use udev [12:39]
***Parker_ changes his alias to ParkerR_
Parker_ changes his alias to ParkerR_
[12:49]
...... (idle for 28mn)
pevjmleo: Thanks. That's interesting. So I've got two decoders hanging of an imx6 capture driver - however it seems that the info comes from the capture driver and so doesn't have anything unique despite the fact that two decoders are different IC's!
Google seems to indicate using ID_SERIAL_SHORT may be a way of going about things so I guess maybe implementing that may be a solution...?
[13:21]
jmleopev: I don't follow you, sorry, you have a capture driver for the i.MX6 (which one ? which kernel ?)
you can distinguish CSI0 and CSI1
[13:36]
pevjmleo: Well, it's 3.0.35 but heavily re-written to use subdevs and do graphics modes for capture
doing "udevadm info --query=all --name=/dev/video0" doesn't show usefully unique info
Where would you expect the CSI to be reprasented
?
[13:41]
jmleopev it's a shame, you should not use Freescale kernel, but it is not your issue. in /dev/v4l/by-path you should have something ? [13:43]
pevjmleo: I know - there wasn't much option when we started however :-)
jmleo: I have "/dev/v4l/by-path/platform-mxc_v4l2_capture.1-video-index0" - are you saying that capture.1 is the CSI then?
[13:43]
jmleoit is one of yes
well, I didn't have a look to the Freescale driver, but pretty sure there is one video device per CSI
[13:44]
pevAhhh. That sounds entirely sensible, thanks :-) I'll give it a go! [13:49]
jmleopev: welcome, but looking at the driver : it is totally crappy !!
:D
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/media/video/mxc/capture/mxc_v4l2_capture.c?h=imx_3.0.35_4.1.0
[13:52]
pevOh, don't start
Yeah. Their "intdev" hack is pretty horrid - hence re-writing to use subdev
[14:00]
jmleopev ok, won't start ;) [14:06]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)