Tried this for 20.04 when everything else did not seem to work, but all efforts pointed to the Bluetooth adapter not being recognized. First tried:
sudo apt-get install --install-recommends linux-generic-hwe-20.04 xserver-xorg-hwe-20.04
which returned:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package xserver-xorg-hwe-20.04
E: Couldn't find any package by glob 'xserver-xorg-hwe-20.04'
E: Couldn't find any package by regex 'xserver-xorg-hwe-20.04'
So I just tried the first part of the command:
sudo apt-get install --install-recommends linux-generic-hwe-20.04
which was successful, except for some errors at the end:
Processing triggers for initramfs-tools (0.136ubuntu6.5) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-74-generic
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.4.0-74-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-5.8.0-55-generic (5.8.0-55.62~20.04.1) ...
/etc/kernel/postinst.d/dkms:
- dkms: running auto installation service for kernel 5.8.0-55-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.0-55-generic
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.8.0-55-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.8.0-55-generic (--configure):
installed linux-image-5.8.0-55-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
linux-image-5.8.0-55-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have no idea how to fix the errors...I did reboot (cold start) afterwards, but bluetooth cannot seem to find my adapter.
I'm still running on the 5.4 kernel, as one would expect from the errors.
My hardware is a Lenovo W530 ThinkPad which seems to use an integrated controller from Intel that supports Bluetooth 4.0
I know this is capable of working as I had bluetooth running on a W530 at work (previous laptop).
My Lenovo p50 laptop (work) is running RHEL and bluetooth works fine there...