Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

akvcam module fails with kernel 5.7 #22

Closed
darkonen opened this issue Apr 22, 2020 · 8 comments
Closed

akvcam module fails with kernel 5.7 #22

darkonen opened this issue Apr 22, 2020 · 8 comments

Comments

@darkonen
Copy link

akvcam module fails with kernel 5.7
v4l2 API have some changes (VFL_TYPE_GRABBER => VFL_TYPE_VIDEO)
here a patch to solve it
akvcam.zip

darkonen

@dx9s
Copy link

dx9s commented May 12, 2020

Not sure if this is related.. but recently the akvcam driver has been failing on load and I think there was a kernel update recently.. I recompiled from latest git and still same:

$ sudo modprobe akvcam
[sudo] password for dx:
Killed
$ dmesg
[...]
[ 50.385782] media: Linux media interface: v0.10
[ 50.390278] videodev: Linux video capture interface: v2.00
[ 50.393883] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
[ 50.393886] PGD 0 P4D 0
[ 50.393888] Oops: 0000 [#1] PREEMPT SMP PTI
[ 50.393890] CPU: 4 PID: 3451 Comm: modprobe Tainted: P OE 4.18.0-13-lowlatency #14~18.04.1-Ubuntu
[ 50.393891] Hardware name: System76 Wild Dog Pro/Z370 HD3P-CF, BIOS F5 Z5 12/15/2017
[ 50.393897] RIP: 0010:akvcam_driver_read_device+0x46/0x240 [akvcam]

@dx9s
Copy link

dx9s commented May 12, 2020

the above was caused by some issue I could not find in the config.ini .. started from fresh config.ini one "output" to one "capture" and it now works.. still trying to find a cause, predictable it hard to pin down.

@hipersayanX
Copy link
Member

5.7 has not arrived to Arch repositories yet, will check once it arrives to the repository.

@jfernandz
Copy link

Is this patch going to be merged to upstream in a future?

@hipersayanX
Copy link
Member

Test latest commit.

@jfernandz
Copy link

@hipersayanX I'm trying to compile it again from your AUR package but apparently the latest commit in my local is 'Package updated'

@hipersayanX
Copy link
Member

@wyre try again.

@darkonen
Copy link
Author

I's OK
module with this commit works with kernel 5.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants