Wednesday, May 4, 2022

[Solved] Linux: Fix for USB Webcam not being recognized and no /dev/video* for newer kernels or after kernel upgrade

 So my USB webcam was working fine until newer kernel versions. Then all of a sudden it wouldn't show up in guvcview or cheese. Tried a bunch of stuff but it was pointless. Then after much googling, I found two fixes, a temporary one and a permanent one. 
Because this only worked because I tried the temporary fix first, your results may vary. Therefore, try the temp fix to see if your unrecognizable webcam will actually work.

1. [Temporary, necessary after reboot. **Must have a second working webcam**] If you have another USB webcam that actually works, reboot with the working webcam plugged in. This will load uvcvideo during boot. Then plug in the one that doesn't get recognized and it should get recognized.

2. [Permanent] in /etc/modules-load.d create uvcvideo.conf and add the following line

    uvcvideo

*If Fix #1 works, then this will load uvcvideo during boot without needing to actually do Fix #1. Also make sure uvcvideo isn't added to a blacklist.