To be able to fully use my Acer Aspire A514-55 with Deepin (20.8) I need to recompile 2 modules for the original running kernel after having modified uvc_driver.c and btusb.c. This is for the webcam (Quanta Computer, Inc. ACER HD User Facing) and bluetooth (Lite-On Technology Corp. Wireless_Device).
In Ubuntu I can run 'apt-get source linux-modules-extra-$(uname -r)' to get the source, but doing this on Deepin I get "E: Unable to find a source package for linux-modules-extra-5.18.17-amd64-desktop-community-hwe".
How can I do this in Deepin?
I've solved it myself, and I decided to share it here in case there are someone out there wanting to compile their own kernels for Deepin.
I started out with Deepin 20.8, running kernel 5.18.17-amd64-desktop-community-hwe. This kernel lacked support for both my bluetooth and webcam, so I needed to compile a new kernel after having modified those drivers.