Open j-gama-oliveira opened 1 year ago
There are a bunch of the following lines in the log:
[ 2.567912] Loading of unsigned module is rejected
That looks like secureboot prevents you from loading some modules and could explain the message you see.
What happens if you try to load the loopback module manually?
That might be it then (secureboot preventing loading some modules), though I have had the camera working for a couple of months now and have been keeping the linux-surface kernel always updated, and had no such problem with any of the updates up to the latest.
I just tried to run
sudo modprobe v4l2loopback video_nr=42 card_label="virtualcam" exclusive_caps=1
and indeed it got rejected:
modprobe: ERROR: could not insert 'v4l2loopback': Key was rejected by service
Right, that sounds like secureboot. You can try disabling it and see if that works. In the long term, you probably want to try and set up secureboot support / auto-signing for those modules.
Still didn't have the opportunity to do it, but will eventually. Thanks!
Maximilian Luz @.***> escreveu no dia domingo, 27/08/2023 à(s) 19:30:
Right, that sounds like secureboot. You can try disabling it and see if that works. In the long term, you probably want to try and set up secureboot support / auto-signing for those modules.
— Reply to this email directly, view it on GitHub https://github.com/linux-surface/linux-surface/issues/1219#issuecomment-1694732230, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANHJN2WZTS7PSUX7MKYQU7TXXOG47ANCNFSM6AAAAAA3N3TZYA . You are receiving this because you authored the thread.Message ID: @.***>
After update to the latest linux-surface kernel (6.4.7-surface #3) in my SP6, camera stopped working (I had previously implemented the GStreamer Loopback Device, so that I would start the camera manually from the command line). I think the problem comes from failure to load kernel modules at boot time, since I get a message «[FAILED] Failed to start Load Kernel Modules», which didn't show up before update to the lastest kernel. Thanks for any help on this, and for the great job so far.
Environment
`dmesg` output
[dmesg.out.txt](https://github.com/linux-surface/linux-surface/files/12327189/dmesg.out.txt)