#v4l 2018-01-04,Thu

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

WhoWhatWhen
LazyGrizzlyi am currently unable to load uvcvideo
dmesg reports
Latest git patches (needed if you report a bug to linux-media@vger.kernel.org): 6f0e5fd39143a59c22d60e7befc4f33f22aeed2f media: vb2: add a new warning about pending buffers 2e33dbb06da4078f94ed8e5fb596ddeca45a1099 media: vb2: add pr_fmt() macro ce4686702f8f56e14388ab452f0b5201b8277872 media: vb2: Fix a bug about unnecessary calls to queue cancel and free
videobuf2_core: disagrees about version of symbol v4l_vb2q_enable_media_source
videobuf2_core: Unknown symbol v4l_vb2q_enable_media_source (err -22)
[05:54]
.......................................... (idle for 3h26mn)
***prabhakarlad has left [09:20]
.................................. (idle for 2h49mn)
kbingham[m]LazyGrizzly have you solved your module issue yet? Looks like it needs a clean rebuild or you're not building against the same build that is being run [12:09]
LazyGrizzlykbingham[m]: not yet. i pulled a fresh repo. without success. debian testing two with kernel 4.13 and 4.14 on another machine. kernels came from the repositories so that might cause problems [12:14]
kbingham[m]Are you testing this on the machine you are running? I.e. your development machine? [12:16]
pinchartlLazyGrizzly: it seems to be a build issue, not a uvc issue
(I read the code to see what v4l_vb2q_enable_media_source was and it made me cry, but that's a separate problem)
[12:17]
LazyGrizzlyi am running it on my dev machine but additionally on a separate pc that can be wiped at any time [12:18]
kbinghamAnd are you building against the running kernel headers ? I.e. make -C /lib/modules/`uname -r`/build M=path/to/linux/drivers/media/usb/uvc/
(if your testing on your development machine that is ...)
[12:29]
LazyGrizzlylets use my test machine as reference as it is in a way more clearer state. i set it up to check if it was a more general problem or if i just screwed my dev machine. debian testing kernel 4.14. For setting up the media build i basically followed this guide https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

developer's approach
[12:32]
.... (idle for 18mn)
kbinghamkbingham has never used media_build ... perhaps he should try it out one day [12:51]
LazyGrizzlyif there are better/more recommended ways to build the whole stuff i am all ears [12:51]
kbinghamI've just rebuild and loaded uvcvideo here locally on my development machine.
The important part is that the call to the build system - must be the same as the kernel that you want to load the module into.
And the kernel source version should be at least the same major release base.
So - my ubuntu system is running a v4.14 kernel.
[12:52]
prabhakarladLazyGrizzly: I guess you are missing 'sudo make install'
above would make sure, your kernel and module are of same version!
[12:53]
LazyGrizzlysudo make -C ../ install is executed and installs to /lib/modules/4.14.0-2-amd64/kernel like i would expect. [12:55]
prabhakarladbut the kernel version is a mismatch! if you arent building it from the same source version which you have currently booted [12:56]
kbinghamLazyGrizzly: make -C /lib/modules/`uname -r`/build M=/home/<path to your tree>/linux/drivers/media/usb/uvc/
Then you can just do sudo rmmod uvcvideo (to remove whatever is loaded) and then
sudo insmod <path to your tree>/linux/drivers/media/usb/uvc/uvcvideo.ko
[13:01]
LazyGrizzlywill try. one moment pls [13:02]
make -C /lib/modules/`uname -r`/build M=/home/user/media_build/linux/drivers/media/usb/uvc compiles.
insmod says "insmod: ERROR: could not insert module linux/drivers/media/usb/uvc/uvcvideo.ko: Invalid parameters"
will try with a v4.14 branch tomorrow. maybe that helps
[13:09]
kbinghamYes, the branch base should be the same or as close to the kernel you are running ... so if you want to test on a v4.14 kernel - make sure your patches are based on v4.14 [13:13]
prabhakarladLazyGrizzly: https://www.pastiebin.com/5a4e27f927822 [13:14]
LazyGrizzlyprabhakarlad: i will try that tomorrow morning. thank you. i have to leave in a few minutes.... [13:16]
welp until tomorrow. thank you for your help [13:22]
..................................... (idle for 3h1mn)
posIs it at all possible to query a v4l (bttv) chip/input about the actual input TVL or resolution?
xawtv seems to be able to do it, but i've got a few headless systems here :
[16:23]
................................................. (idle for 4h3mn)
***awalls has left [20:26]

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