[SOLVED] How can list all modules enen blocked?
by luofeiyu from LinuxQuestions.org on (#6ECWM)
In debian:
Code:uname -a
Linux debian 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/LinuxIf i block uvcvideo :
Code:vim /etc/modprobe.d/blacklist.conf
blacklist uvcvideoShow modules:
lsmod | grep video
video 61440 0
If i disable the block,remove uvcvideo from blacklist.conf:
Code:lsmod | grep video
uvcvideo 118784 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 36864 1 uvcvideo
videobuf2_common 65536 2 videobuf2_v4l2,uvcvideo
videodev 294912 3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc 61440 5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
usbcore 331776 6 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,uvcvideo,xhci_pci
usb_common 16384 3 xhci_hcd,usbcore,uvcvideo
video 61440 01.How can list all modules related with video no matter it is in blocked status?Or say,when video was in blacklist,still show all modules whose name contain "video"?
2.Which directory are these modules located?
Code:uname -a
Linux debian 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/LinuxIf i block uvcvideo :
Code:vim /etc/modprobe.d/blacklist.conf
blacklist uvcvideoShow modules:
lsmod | grep video
video 61440 0
If i disable the block,remove uvcvideo from blacklist.conf:
Code:lsmod | grep video
uvcvideo 118784 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 36864 1 uvcvideo
videobuf2_common 65536 2 videobuf2_v4l2,uvcvideo
videodev 294912 3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc 61440 5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
usbcore 331776 6 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,uvcvideo,xhci_pci
usb_common 16384 3 xhci_hcd,usbcore,uvcvideo
video 61440 01.How can list all modules related with video no matter it is in blocked status?Or say,when video was in blacklist,still show all modules whose name contain "video"?
2.Which directory are these modules located?