You are not logged in.

#1 2020-06-05 21:57:49

Moonbane
Member
From: Köln, Germany
Registered: 2014-07-21
Posts: 13

enable CONFIG_MEDIA_SUPPORT with modprobed-db

I've been using my webcam since years. Also building my own (-ck) kernel for years. Just used to work. I can't really pin it down but my webcam stopped working on my self-built kernels. The modprobed.db does list the uvcvideo driver entry and all other entries from lsmod. Yet the main config option (zcat /proc/config.gz) CONFIG_MEDIA_SUPPORT returns an "is not set". Even though the uvc video class is in that config group. Why? And how to enable? I've puzzled around for a month now... no clue as yet.

Offline

#2 2020-06-06 19:23:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,189

Re: enable CONFIG_MEDIA_SUPPORT with modprobed-db

Afaik you can only change such options at build time.

Are you using linux-ck from AUR ?

If not, post the PKGBUILD you use (or describe your build porcess if you don't use a PKGBUILD for the kernel ) .


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2020-06-07 06:01:09

Moonbane
Member
From: Köln, Germany
Registered: 2014-07-21
Posts: 13

Re: enable CONFIG_MEDIA_SUPPORT with modprobed-db

I use the AUR PKGBUILD. I just set my march (23) and set localmodconfig=y. No other changes. My Modprobed.db is as follows:

aesni_intel
aes_x86_64
agpgart
ahci
ath
ath9k
ath9k_common
ath9k_hw
atkbd
ccm
cdrom
cec
cfg80211
cmdlinepart
coretemp
crc16
crc32c_generic
crc32c_intel
crc32_pclmul
crc_itu_t
crct10dif_pclmul
cryptd
crypto_simd
crypto_user
dca
drm
drm_kms_helper
e1000e
ehci_hcd
ehci_pci
evdev
ext4
fat
fb_sys_fops
fuse
ghash_clmulni_intel
glue_helper
hid
hid_generic
hid_roccat
hid_roccat_common
hid_roccat_isku
hwmon_vid
i2c_algo_bit
i2c_i801
i8042
igb
input_leds
intel_cstate
intel_powerclamp
intel_rapl_common
intel_rapl_msr
intel_rapl_perf
intel_spi
intel_spi_platform
intel_uncore
ipmi_devintf
ipmi_msghandler
ip_tables
irqbypass
isofs
it87
iTCO_vendor_support
iTCO_wdt
jbd2
joydev
kvm
kvm_intel
libahci
libarc4
libata
libps2
loop
lpc_ich
mac80211
mac_hid
mbcache
mc
mei
mei_hdcp
mei_me
mousedev
mtd
mxm_wmi
nls_cp437
nls_iso8859_1
nls_utf8
nvidia_drm
nvidia_modeset
nvidia_uvm
ofpart
pcspkr
psmouse
rc_core
rfkill
scsi_mod
sd_mod
serio
serio_raw
sg
snd
snd_hwdep
snd_intel_dspcfg
snd_intel_nhlt
snd_oxygen_lib
snd_pcm
snd_seq
snd_seq_device
snd_seq_dummy
snd_seq_midi
snd_seq_midi_event
snd_timer
snd_virtuoso
soundcore
spi_nor
sr_mod
syscopyarea
sysfillrect
sysimgblt
uas
udf
uhid
uinput
usbhid
usb_storage
uvcvideo
vfat
videobuf2_common
videobuf2_memops
videobuf2_v4l2
videobuf2_vmalloc
videodev
wmi
x86_pkg_temp_thermal
xhci_hcd
xhci_pci
x_tables

Its just that it worked around december I think. Hard to pin down exactly. I don't use my webcam that much. AS you can see, the uvcvideo driver is included. If I build manually, I need to set CONFIG_MEDIA_SUPPORT to get to the UVC Video class. So it should select.

Last edited by Moonbane (2020-06-07 14:31:57)

Offline

#4 2020-06-07 06:05:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,884
Website

Re: enable CONFIG_MEDIA_SUPPORT with modprobed-db

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-06-07 14:32:12

Moonbane
Member
From: Köln, Germany
Registered: 2014-07-21
Posts: 13

Re: enable CONFIG_MEDIA_SUPPORT with modprobed-db

Done!

Offline

#6 2020-06-07 14:38:38

loqs
Member
Registered: 2014-03-06
Posts: 10,961

Re: enable CONFIG_MEDIA_SUPPORT with modprobed-db

With all the modules loaded,  does the following generate the expected .config?

make localmodconfig

Offline

#7 2020-06-27 11:42:07

Moonbane
Member
From: Köln, Germany
Registered: 2014-07-21
Posts: 13

Re: enable CONFIG_MEDIA_SUPPORT with modprobed-db

Solved. Had to add v4l2-common to the modprobed.db

Offline

Board footer

Powered by FluxBB