Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by LionHeartIV
I have a HP 250GT laptop, Linux Mint (cinnamon) 19.2
Open the Bluetooth app, show this message: No Bluetooth adapters found
Tried this:
$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
Looks as though it's inactive, yet I cannot see a BIOS setting to enable it, any ideas please?
Hi LionHeartIV,
Welcome to LQ.
Systemd services are not enabled or started in BIOS - you do that from a booted linux system. To start the bluetooth service, you would issue this command from a root command prompt or by using sudo :
Code:
systemctl start bluetooth
From the output of your status command, however, the service seems to be enabled, which means it should start at boot. Since it is not started, there may be another problem.
First verify that no hardware switch is in the Off position for the bluetooth adapter ... These come in different varieties depending on the computer ... sometimes a dedicated switch, sometimes a function key.
Also verify the radio status with the rfkill command:
Code:
rfkill
... if your bluetooth adapter appears it should not have a status "BLOCKED".
If the bluetooth adapter isn't listed with the rfkill command, I would then check to see if the bluetooth driver module and dependencies are loaded. Please report back the output of the following command :
Code:
lsmod | grep bt
... if several lines appear, including references to module btusb, your system should be able to start the systemd bluetooth service. If nothing appears, try loading the module with the following command :
Code:
sudo modprobe btusb
.. and then try the previous lsmod command again. If loaded modules now appear, you could try restarting your systemd bluetooth service with the first command and reporting the output of the status command again. If it then appears as loaded and started, you should be able to see your bluetooth device in whatever gui app you are using. Personally, I avoid gui apps and simply use the bluetoothctl command environment - if you are interested in this, let us know.
Your wireless LAN (wifi) adapter is soft-blocked. Although this is not likely to be the root cause of your bluetooth issue, it should be fixed. You can use the command that beachboy2 mentioned in post #5 to unblock it, substituting "wlan0" for "0".
The output of your lsmod command shows that your bluetooth driver module was not loaded. This will prevent anything from recognizing your adapter. The good news is with the next point ...
The result of your modprobe command shows that you were able to load the bluetooth adapter module manually. If you had run lsmod again after this command, your bluetooth module and its dependancies would have been listed.
The next thing to try would be to start the bluetooth service. Again, you can use the command beachboy2 mentioned in post #5. Afterward, verify if your bluetooth device is now recognized by the GUI app you are using in Mint.
Essentially, your probably seems to be caused by the bluetooth module not loading at boot. By making sure that the adapter is not soft blocked (via rfkill) or deactivated in BIOS (as explained earlier by TB0ne), you should be able to correct this. In the meantime, you are able to load it manually with the modprobe command.
$ sudo rfkill unblock wlan0
rfkill: invalid identifier: wlan0
$ sudo systemctl enable wlan0.service
Failed to enable unit: Unit file wlan0.service does not exist
The device that rfkill listed was "wlan" not "wlan0". So trying to unblock device wlan0 won't work, and neither then will the follow-up command.
Quote:
Also, I've looked through the BIOS settings and don't see a setting to enable bluetooth.
And I also suggested that you look for a key-combination/switch to turn bluetooth on; again, your device isn't showing up at all, so either it's turned off or won't work under Linux.
Try typing in
Code:
dmesg | egrep -i "firm|blue|net"
...and posting that output. Could be you have a combination bluetooth/wifi card, and the firmware isn't getting loaded to enable the bluetooth module.
$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-10-29 14:59:29 EET; 27min ago
Docs: man:bluetoothd(8)
Main PID: 2472 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─2472 /usr/lib/bluetooth/bluetoothd
Oct 29 14:59:29 kj-HP systemd[1]: Starting Bluetooth service...
Oct 29 14:59:29 kj-HP bluetoothd[2472]: Bluetooth daemon 5.48
Oct 29 14:59:29 kj-HP systemd[1]: Started Bluetooth service.
Oct 29 14:59:29 kj-HP bluetoothd[2472]: Starting SDP server
Oct 29 14:59:29 kj-HP bluetoothd[2472]: Bluetooth management interface 1.14 initialized
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hmmm. Looks good.
I'm beginning to suspect there's something amiss with that gui app you're using ... As previously mentioned, I don't use these ... What is under the "Settings" tab ?
Also, have you tried the bluetoothctl command line interface instead ? (let is know if you are unfamiliar with this and we can assist you if you want to try it).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.