Ubuntu 22.04 LTS の UEFI モードでは droidcam が動作しない

Ubuntu 22.04 LTS の UEFI モードでは droidcam が動作しない

コマンドを実行するとsudo ./install-videoこのエラーが表示されます

Registering webcam device
insmod: ERROR: could not insert module /lib/modules/5.15.0-56-generic/kernel/drivers/media/video/v4l2loopback-dc.ko: Operation not permitted
warning: insmod failed

完全な出力:

sudo ./install-video                              
Webcam parameters: '640' and '480'
Building v4l2loopback-dc.ko
make: Entrando no diretório '/tmp/droidcam/v4l2loopback'
make -C /lib/modules/5.15.0-56-generic/build M=/tmp/droidcam/v4l2loopback modules
make[1]: Entrando no diretório '/usr/src/linux-headers-5.15.0-56-generic'
  CC [M]  /tmp/droidcam/v4l2loopback/v4l2loopback-dc.o
  MODPOST /tmp/droidcam/v4l2loopback/Module.symvers
  CC [M]  /tmp/droidcam/v4l2loopback/v4l2loopback-dc.mod.o
  LD [M]  /tmp/droidcam/v4l2loopback/v4l2loopback-dc.ko
  BTF [M] /tmp/droidcam/v4l2loopback/v4l2loopback-dc.ko
Skipping BTF generation for /tmp/droidcam/v4l2loopback/v4l2loopback-dc.ko due to unavailability of vmlinux
make[1]: Saindo do diretório '/usr/src/linux-headers-5.15.0-56-generic'
make: Saindo do diretório '/tmp/droidcam/v4l2loopback'
Secure Boot is enabled, attempting to sign the driver
Copying file
+ cp v4l2loopback/v4l2loopback-dc.ko /lib/modules/5.15.0-56-generic/kernel/drivers/media/video/
+ set +x
Registering webcam device
insmod: ERROR: could not insert module /lib/modules/5.15.0-56-generic/kernel/drivers/media/video/v4l2loopback-dc.ko: Operation not permitted
warning: insmod failed
Running depmod
make: Entrando no diretório '/tmp/droidcam/v4l2loopback'
make -C /lib/modules/5.15.0-56-generic/build M=/tmp/droidcam/v4l2loopback clean
make[1]: Entrando no diretório '/usr/src/linux-headers-5.15.0-56-generic'
  CLEAN   /tmp/droidcam/v4l2loopback/Module.symvers
make[1]: Saindo do diretório '/usr/src/linux-headers-5.15.0-56-generic'
make: Saindo do diretório '/tmp/droidcam/v4l2loopback'
Done

プログラムを開くとこのメッセージが表示される

ドロイドカム

何ができると思いますか?

答え1

解決しました。セキュアブートを無効にし、v4l2loopbackを再インストールしました

sudo apt install v4l2loopback-utils v4l2loopback-dkms cmake nasm yasm pkg-config libgtk2.0-dev
sudo modprobe v4l2loopback
v4l2-ctl --list-devices     # check if you have dummy video devices
Dummy video device (0x0000) (platform:v4l2loopback-000):
/dev/video0

関連情報