You are not logged in.

#1 2021-01-25 01:44:33

realmawl
Member
Registered: 2021-01-25
Posts: 5

Logitech C270 webcam not detected with custom kernel config (5.10.9)

Let me make this straight and simple:

I compiled my own custom kernel and set the options using "make menuconfig".
Here is my .config file

I cannot seem to figure out why zoom, discord, and a myriad of other applications (pretty much all) do not recognize my Logitech C270 webcam. I booted into the arch generic kernel and they were detected just fine, but with the custom kernel, no matter how many options I compiled with, they would never seem to work with the camera.

With the custom kernel lsusb detects it, there are no errors associated with the device, and there seems to be a weird thing with

lsusb -s 001:004

(001:004 is the ID of the camera in lsusb) where it shows no output when I execute the command.

I have been looking tirelessly online to figure out how to get it working with no luck, so I feel I need to make a new topic about this. I do believe this is a driver issue or a kernel config issue, but I just cannot seem to figure out WHY it is not showing up.

Thanks in advance!

Last edited by realmawl (2021-01-25 01:45:15)

Offline

#2 2021-01-25 02:31:43

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: Logitech C270 webcam not detected with custom kernel config (5.10.9)

Have you compared the loaded modules between the two kernels after using the webcam?

Offline

#3 2021-01-25 02:39:20

realmawl
Member
Registered: 2021-01-25
Posts: 5

Re: Logitech C270 webcam not detected with custom kernel config (5.10.9)

I tried to check but there are so many modules loaded in the default kernel that it's completely unrealistic to try and pinpoint the specific module for the camera. I even tried looking for modules related to cameras but no luck.

Offline

#4 2021-01-25 02:49:47

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: Logitech C270 webcam not detected with custom kernel config (5.10.9)

Please post the output of lsmod from the default kernel.  On the custom kernel was ov2640 module loaded?  gspca_zc3xx is built in on the custom kernel so can not check using that module.

Offline

#5 2021-01-25 02:51:09

realmawl
Member
Registered: 2021-01-25
Posts: 5

Re: Logitech C270 webcam not detected with custom kernel config (5.10.9)

Edit: crap i did this from custom kernel. I'll update with the generic in a sec. Sorry bout that
Edit 2: Just added both from generic and custom. Both are 5.10.9

Output from 'lsmod' on custom kernel:

Module                  Size  Used by
snd_usb_audio         249856  0
snd_usbmidi_lib        28672  1 snd_usb_audio
snd_rawmidi            32768  1 snd_usbmidi_lib
nvidia_drm             57344  8
nvidia_modeset       1204224  17 nvidia_drm
wmi_bmof               16384  0
nvidia              33943552  1254 nvidia_modeset
rapl                   20480  0
pcspkr                 16384  0
i2c_piix4              24576  0
k10temp                16384  0
snd_hda_codec_hdmi     61440  0
drm_kms_helper        204800  1 nvidia_drm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
i2c_nvidia_gpu         16384  0
wmi                    24576  1 wmi_bmof
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxdrv               430080  2 vboxnetadp,vboxnetflt
drm                   466944  11 drm_kms_helper,nvidia_drm

Output from 'lsmod' on generic kernel:

Module                  Size  Used by
uvcvideo              114688  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              290816  3 videobuf2_v4l2,uvcvideo,videobuf2_common
mousedev               24576  0
nvidia_drm             65536  2
nvidia_modeset       1232896  3 nvidia_drm
nvidia              34086912  92 nvidia_modeset
iwlmvm                479232  0
snd_hda_codec_realtek   143360  1
mac80211             1110016  1 iwlmvm
xpad                   40960  0
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
btusb                  65536  0
ff_memless             20480  1 xpad
btrtl                  24576  1 btusb
ledtrig_audio          16384  1 snd_hda_codec_generic
btbcm                  20480  1 btusb
btintel                32768  1 btusb
snd_hda_codec_hdmi     73728  1
joydev                 28672  0
edac_mce_amd           32768  0
bluetooth             741376  5 btrtl,btintel,btbcm,btusb
libarc4                16384  1 mac80211
snd_hda_intel          57344  3
snd_intel_dspcfg       24576  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      36864  1 soundwire_intel
kvm_amd               114688  0
nct6775                73728  0
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
hwmon_vid              16384  1 nct6775
ecdh_generic           16384  1 bluetooth
ccp                   118784  1 kvm_amd
eeepc_wmi              16384  0
asus_wmi               45056  1 eeepc_wmi
iwlwifi               417792  1 iwlmvm
ecc                    36864  1 ecdh_generic
rng_core               16384  1 ccp
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
sparse_keymap          16384  1 asus_wmi
ucsi_ccg               24576  0
kvm                   933888  1 kvm_amd
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
typec_ucsi             40960  1 ucsi_ccg
typec                  53248  1 typec_ucsi
irqbypass              16384  1 kvm
video                  53248  1 asus_wmi
wmi_bmof               16384  0
crct10dif_pclmul       16384  1
snd_soc_core          323584  1 soundwire_intel
crc32_pclmul           16384  0
drm_kms_helper        274432  1 nvidia_drm
ghash_clmulni_intel    16384  0
aesni_intel           372736  0
r8169                  98304  0
crypto_simd            16384  1 aesni_intel
cfg80211              987136  3 iwlmvm,iwlwifi,mac80211
cec                    69632  1 drm_kms_helper
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
snd_compress           32768  1 snd_soc_core
realtek                24576  1
syscopyarea            16384  1 drm_kms_helper
glue_helper            16384  1 aesni_intel
ac97_bus               16384  1 snd_soc_core
mdio_devres            16384  1 r8169
sysfillrect            16384  1 drm_kms_helper
sp5100_tco             20480  0
sysimgblt              16384  1 drm_kms_helper
rapl                   16384  0
pcspkr                 16384  0
k10temp                16384  0
fb_sys_fops            16384  1 drm_kms_helper
i2c_piix4              28672  0
snd_pcm_dmaengine      16384  1 snd_soc_core
i2c_nvidia_gpu         16384  0
snd_usb_audio         315392  1
libphy                151552  3 r8169,mdio_devres,realtek
rfkill                 28672  6 asus_wmi,bluetooth,cfg80211
wmi                    36864  2 asus_wmi,wmi_bmof
snd_usbmidi_lib        40960  1 snd_usb_audio
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_rawmidi            45056  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
mc                     61440  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
pinctrl_amd            32768  0
mac_hid                16384  0
snd_pcm               147456  9 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
acpi_cpufreq           28672  0
snd_timer              45056  1 snd_pcm
snd                   114688  22 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
usbhid                 65536  0
soundcore              16384  1 snd
vboxnetflt             32768  0
vboxnetadp             28672  0
drm                   569344  5 drm_kms_helper,nvidia_drm
vboxdrv               528384  2 vboxnetadp,vboxnetflt
fuse                  163840  1
agpgart                53248  1 drm
bpf_preload            16384  0
ip_tables              32768  0
x_tables               53248  1 ip_tables
ext4                  933888  2
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  151552  1 ext4
crc32c_intel           24576  4
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci

Last edited by realmawl (2021-01-25 02:55:32)

Offline

#6 2021-01-25 02:56:11

realmawl
Member
Registered: 2021-01-25
Posts: 5

Re: Logitech C270 webcam not detected with custom kernel config (5.10.9)

Just posted the lsmod from the generic kernel. Sorry for the confusion about that

Offline

#7 2021-02-04 09:39:18

manouchk
Member
Registered: 2008-07-29
Posts: 306

Re: Logitech C270 webcam not detected with custom kernel config (5.10.9)

Is your not just a problem due to the new kernel? THere is problem with some logitech webcam. I had to downgrade kernel. I suggest you get a look at my post about that:
https://bbs.archlinux.org/viewtopic.php … 4#p1951494

Offline

#8 2021-02-04 09:59:59

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: Logitech C270 webcam not detected with custom kernel config (5.10.9)

Most cameras use the uvcvideo module.

If you install usbutils and run usb-devices, its output includes the driver used for each usb-device.

Last edited by progandy (2021-02-04 10:00:17)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB