Dual Boot (Windows 11 Pro & Kali Linux) Bluetooth Not Working: Fix
In this article, we will discuss how to resolve Bluetooth issues when running a dual boot setup with Windows 11 Pro and Kali Linux on a HP ZBook Firefly 16 G10 i5-1340p laptop. The focus will be on diagnosing and fixing the problem in Kali Linux.
1. Overview of the Problem
The user reported a problem with Bluetooth on their HP ZBook Firefly 16 G10 i5-1340p laptop, which has a dual boot setup with Windows 11 Pro and Kali Linux. The Bluetooth was working fine in Windows 11 Pro, but when booting into Kali Linux, the Bluetooth was not functioning. A screenshot of the terminal was provided as evidence.
2. Investigating the Issue
To diagnose the issue, the first step is to check if the Bluetooth hardware is recognized by the Kali Linux system. This can be done by running the following command:
sudo lspci -knn | grep Net -A3; sudo lsusb
This command will list all the network and USB devices connected to the system. Check if the Bluetooth device is present in the list. If it is not present, then it is a hardware detection issue. If it is present, then the problem may be with the Bluetooth software or settings.
3. Fixing the Issue
If the Bluetooth hardware is detected, then the next step is to check if the Bluetooth service is running. Run the following command to check the status of the Bluetooth service:
sudo systemctl status bluetooth
If the Bluetooth service is not running, then start it using the following command:
sudo systemctl start bluetooth
If the Bluetooth service starts successfully, then check if the Bluetooth is working by running the following command:
bluetoothctl
This command will open the Bluetooth control utility. Run the 'power on' command to turn on the Bluetooth. If the Bluetooth is turned on, then scan for devices using the 'scan on' command. If devices are found, then the Bluetooth is working properly.
4. Enabling Bluetooth Persistently
To ensure that the Bluetooth is enabled persistently, create a systemd service file using the following command:
sudo nano /etc/systemd/system/bluetooth.service
Add the following content to the file:
[Unit]
Description=Bluetooth service
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/bluetoothd --noplugin=time
Restart=always
[Install]
WantedBy=multi-user.target
Save and close the file. Then, enable and start the service using the following commands:
sudo systemctl enable bluetooth
sudo systemctl start bluetooth
This will ensure that the Bluetooth service is started automatically when the system boots.
5. Conclusion
In this article, we discussed how to diagnose and fix Bluetooth issues in a dual boot setup with Windows 11 Pro and Kali Linux on a HP ZBook Firefly 16 G10 i5-1340p laptop. By following the steps outlined in this article, the user should be able to resolve the Bluetooth issues and use the Bluetooth device in Kali Linux.
6. References
- Bluetooth - ArchWiki, https://wiki.archlinux.org/title/Bluetooth
- Bluetoothctl - ArchWiki, https://wiki.archlinux.org/title/Bluetooth#bluetoothctl
- systemd - ArchWiki, https://wiki.archlinux.org/title/Systemd