komgall
1 Copper

Re: Dell xps 13 9370 Webcam support

You don't need to rebuild the entire kernel but just a single module (uvcvideo), here is an example on  debian stretch :

- Get source and headers for your current kernel :

apt-get install linux-source-4.9  linux-headers-amd64

- Untar and configure :

cd /usr/src/linux-source-4.9

make oldconfig

cp -v /usr/src/linux-headers-$(uname -r)/Module.symvers .

make prepare

make modules_prepare

make scripts

- Apply patch  : https://lkml.org/lkml/2018/5/8/1117

- Build the kernel module an install it :

cd drivers/media/usb/uvc

make -C /lib/modules/$(uname -r)/build M=$(pwd) modules

make -C /lib/modules/$(uname -r)/build M=$(pwd) modules_install

- Load new module 

depmod 

rmmod uvcvideo

modprobe -f uvcvideo

- Extra Step

delete /lib/modules/4.9.0-6-amd64/extra/uvcvideo.ko if you want to go back to original kernel module

0 Kudos