Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3980

Troubleshooting • Raspberry pi 4 -- /dev/video* are missing

$
0
0
Hi, I am new to here.
I have been using a Raspberry pi 4 (4GB) for two years as a file server.
I once ran Ubuntu but got into a trouble (I guess that I broke dependency). Later I newly installed Debian bookworm (tested image, Nov 2023) in December 2023.
Putting the OS matters aside, it seems that the hardware has been working as a fileserver as expected.

However recently I found something is wrong with /dev/video.
A week ago, I attempted hardware encoding and failed. I checked whether /dev/video1* exist or not, only to discover that there is no "/dev/video*" at all. None. Not even "/dev/video0."
As far as I can remember, I could process video with the Raspi hardware encoder two years ago. But I left such function untouched for a long time and thus I am not sure when it went long.

I guess that the problem lies in pretty low-level -- kernel, kernel modules, firmware, or hardware.
>>uname -a
Linux rpi4-20231108 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux
-------------------------------------
>>lsmod

Code:

Module                  Size  Used bybinfmt_misc            24576  1hci_uart              139264  0btqca                  24576  1 hci_uartbtrtl                  28672  1 hci_uartbtbcm                  24576  1 hci_uartbtintel                40960  1 hci_uartbtsdio                 20480  0bluetooth             753664  7 btrtl,btqca,btsdio,btintel,hci_uart,btbcmjitterentropy_rng      20480  1nls_ascii              16384  1sha512_generic         16384  0nls_cp437              20480  1sd_mod                 61440  2t10_pi                 16384  1 sd_modvfat                   24576  1fat                    77824  1 vfatcrc64_rocksoft_generic    16384  1sha512_arm64           20480  1evdev                  28672  2crc64_rocksoft         20480  1 t10_picrc_t10dif             20480  1 t10_picrct10dif_generic      16384  1bcm2835_v4l2           40960  0crc64                  20480  2 crc64_rocksoft,crc64_rocksoft_genericbcm2835_mmal_vchiq     32768  1 bcm2835_v4l2vc4                   282624  4aes_neon_bs            24576  0smsdvb                 28672  0sg                     45056  0videobuf2_vmalloc      20480  1 bcm2835_v4l2aes_neon_blk           28672  1 aes_neon_bsdvb_core              135168  1 smsdvbvideobuf2_memops       20480  1 videobuf2_vmallocsnd_soc_hdmi_codec     24576  2snd_bcm2835            28672  0videobuf2_v4l2         24576  1 bcm2835_v4l2uas                    28672  1snd_soc_core          212992  2 vc4,snd_soc_hdmi_codecusb_storage            73728  1 uassmsusb                 28672  0snd_pcm_dmaengine      16384  1 snd_soc_corevideobuf2_common       53248  4 videobuf2_vmalloc,videobuf2_v4l2,bcm2835_v4l2,videobuf2_memopssnd_pcm               118784  4 snd_bcm2835,snd_soc_hdmi_codec,snd_soc_core,snd_pcm_dmaenginescsi_mod              229376  4 sd_mod,usb_storage,uas,sgbrcmfmac              299008  0videodev              225280  3 videobuf2_v4l2,bcm2835_v4l2,videobuf2_commonsmsmdtv                61440  2 smsusb,smsdvbcec                    45056  1 vc4snd_timer              40960  1 snd_pcmscsi_common            16384  4 scsi_mod,usb_storage,uas,sgmc                     57344  6 videodev,smsusb,smsdvb,videobuf2_v4l2,dvb_core,videobuf2_commonbrcmutil               16384  1 brcmfmacdrbg                   40960  1rc_core                53248  4 smsmdtv,cecsnd                    98304  5 snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcmansi_cprng             16384  0drm_display_helper    118784  1 vc4v3d                    77824  0cpufreq_dt             20480  0soundcore              16384  1 sndcfg80211              790528  1 brcmfmacdrm_dma_helper         16384  1 vc4raspberrypi_cpufreq    16384  0ecdh_generic           16384  1 bluetoothdrm_kms_helper        139264  4 drm_dma_helper,vc4,drm_display_helperrfkill                 36864  3 bluetooth,cfg80211ecc                    32768  1 ecdh_genericgpu_sched              36864  1 v3dbcm2711_thermal        16384  0pwm_bcm2835            16384  0vchiq                 327680  2 snd_bcm2835,bcm2835_mmal_vchiqdrm_shmem_helper       20480  1 v3dbcm2835_wdt            20480  0leds_gpio              16384  0iproc_rng200           16384  0loop                   36864  0fuse                  135168  3drm                   442368  8 gpu_sched,drm_kms_helper,drm_dma_helper,v3d,vc4,drm_shmem_helper,drm_display_helperefi_pstore             16384  0dm_mod                143360  0dax                    32768  1 dm_modconfigfs               49152  1ip_tables              32768  0x_tables               36864  1 ip_tablesautofs4                45056  2ext4                  765952  1crc16                  16384  2 bluetooth,ext4mbcache                20480  1 ext4jbd2                  139264  1 ext4crc32c_generic         16384  2broadcom               28672  1bcm_phy_ptp            24576  1 broadcombcm_phy_lib            20480  2 bcm_phy_ptp,broadcomdwc2                  237568  0udc_core               57344  1 dwc2xhci_pci               24576  0genet                  69632  0roles                  16384  1 dwc2xhci_hcd              258048  1 xhci_pcireset_raspberrypi      16384  1sdhci_iproc            20480  0mdio_bcm_unimac        20480  1of_mdio                20480  2 mdio_bcm_unimac,genetsdhci_pltfm            16384  1 sdhci_iprocusbcore               270336  7 xhci_hcd,smsusb,dwc2,usb_storage,brcmfmac,xhci_pci,uassdhci                  69632  2 sdhci_pltfm,sdhci_iprocusb_common             16384  4 xhci_hcd,dwc2,usbcore,udc_corecrct10dif_ce           16384  0crct10dif_common       16384  3 crct10dif_ce,crct10dif_generic,crc_t10diffixed_phy              16384  2 genet,of_mdiofwnode_mdio            20480  1 of_mdioi2c_bcm2835            20480  0libphy                 98304  7 mdio_bcm_unimac,genet,fwnode_mdio,of_mdio,broadcom,fixed_phy,bcm_phy_libgpio_regulator         16384  1fixed                  20480  1phy_generic            20480  1------------------------------------------/boot/firmware/cmdline.txtconsole=tty0 console=ttyS1,115200 root=LABEL=RASPIROOT rw fsck.repair=yes net.ifnames=0  rootwait ------------------------------------------
/boot/firmware/config.txt
# Do not modify this file!
#
# It is automatically generated upon install or update of either the
# firmware or the Linux kernel.
#
# If you need to set boot-time parameters, do so via the
# /etc/default/raspi-firmware, /etc/default/raspi-firmware-custom or
# /etc/default/raspi-extra-cmdline files.

# Switch the CPU from ARMv7 into ARMv8 (aarch64) mode
arm_64bit=1

enable_uart=1
upstream_kernel=1

kernel=vmlinuz-6.1.0-20-arm64
# For details on the initramfs directive, see
# https://www.raspberrypi.org/forums/view ... 63&t=10532
initramfs initrd.img-6.1.0-20-arm64
------------------------------------------

Do I have to post additional information?

Any help will be welcomed. Thanks.

Statistics: Posted by kitahachi — Mon May 06, 2024 11:16 am



Viewing all articles
Browse latest Browse all 3980

Trending Articles