Linux - Hardware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
10-29-2019, 08:39 AM
|
#16
|
LQ Newbie
Registered: Aug 2019
Posts: 20
Original Poster
Rep: 
|
Hi Rickkkk
Settings tab - please see shot-2.png
I am unfamiliar with the bluetooth command line, could you please help with this?
|
|
|
10-29-2019, 08:58 AM
|
#17
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
OK - not much there in the Settings tab ...
For bluetoothctl, start the command line interface :
... if the package is present on your system, you will be presented with a new command prompt, following the detection of the MAC address of your bluetooth controller. Something like this :
Code:
Agent registered
[CHG] Controller xx:xx:xx:xx:xx:xx Pairable: yes
[bluetooth]#
.. in my case above, the "Agent" is already registered and on, but the sequence of useful commands to issue, in order, would be :
... this does what it implies .. powers on your bluetooth controller's radio.
... described above ...
... this scans for available bluetooth devices to potentially pair with, connect to and use, listing them with their MAC addresses.
Try that for now and report back the output.
If the bluetoothctl command yields "command not found", report back as well. We'll have to install the missing package.
|
|
|
10-29-2019, 10:09 AM
|
#18
|
LQ Newbie
Registered: Aug 2019
Posts: 20
Original Poster
Rep: 
|
Hi Rick
it just seems to hang forever...
Code:
$ sudo bluetoothctl
Waiting to connect to bluetoothd...
|
|
|
10-29-2019, 10:20 AM
|
#19
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by LionHeartIV
Hi Rick
it just seems to hang forever...
Code:
$ sudo bluetoothctl
Waiting to connect to bluetoothd...
|
That is *really* odd. That usually means that the bluetooth systemd service is not running .. which a previous command confirmed it *was*.
Would you mind checking the output again of :
Code:
systemctl status bluetooth
.. please ?
|
|
|
10-29-2019, 10:28 AM
|
#20
|
LQ Newbie
Registered: Aug 2019
Posts: 20
Original Poster
Rep: 
|
Code:
$ 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)
$ lsmod | grep btusb
$ rfkill
ID TYPE DEVICE SOFT HARD
0 wlan phy0 blocked unblocked
I have BlueZ version 5.48
$ bluetoothd -v
5.48
Do I need to upgrade to 5.51 ?
|
|
|
10-29-2019, 11:39 AM
|
#21
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by LionHeartIV
Code:
$ 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)
$ lsmod | grep btusb
$ rfkill
ID TYPE DEVICE SOFT HARD
0 wlan phy0 blocked unblocked
I have BlueZ version 5.48
$ bluetoothd -v
5.48
Do I need to upgrade to 5.51 ?
|
Wow.
The current state of your system, according to those command outputs, has changed completely since your last post.
- The bluetooth driver module is not loaded
- Your wifi adapter is soft blocked in rfkill (probably not pertinent to this situation, but still strange since we unblocked it ....)
- The systemd bluetooth service is inactive
... This explains why bluetoothctl (or the gui app, for that matter) isn't working ...
Did you reboot between posts ?
As for the BlueZ version, I would be surprised if it was the sole reason, but if Mint's repos have an updated version, you could try that. Make sure your entire system is up to date, for that matter.
I'm wondering if something is preventing the bluetooth module from loading at boot, which would prevent the bluetooth service from working. Do you know if you have a combined wifi/bluetooth adapter in that machine ? Show the output of :
Last edited by Rickkkk; 10-29-2019 at 11:42 AM.
|
|
|
10-29-2019, 12:04 PM
|
#22
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Never mind my last question - I looked up your adapter - it is indeed a combo card. There is anecdotal evidence of difficulties with the bluetooth functionality under linux, but it doesn't seem categorically impossible ...
I would update your system and reboot. Then:
- Check state of driver and bluetooth service
- Load both manually if not already the case
- Check state of bluetooth (and wifi) adapter in rfkill
- Once you know that all is well with the above, without rebooting, then try both your bluetooth gui app and bluetoothctl if necessary.
Let us know .. again ...  ...
|
|
|
10-30-2019, 02:06 AM
|
#23
|
LQ Newbie
Registered: Aug 2019
Posts: 20
Original Poster
Rep: 
|
Hi Rick
Time difference, it was time to sleep, had to shut down the laptop.
Code:
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 05c8:0238 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 003: ID 09da:2403 A4Tech Co., Ltd.
Bus 001 Device 002: ID 045e:0810 Microsoft Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Sorry, could you give me the Linux commands again for each of your steps? Thanks.
Last edited by LionHeartIV; 10-30-2019 at 06:49 AM.
|
|
|
10-30-2019, 07:35 AM
|
#24
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Hi LionHeartIV,
Your wifi / bluetooth adapter doesn't appear in that list. Could you report the output of :
... please ?
|
|
|
10-30-2019, 09:06 AM
|
#25
|
LQ Newbie
Registered: Aug 2019
Posts: 20
Original Poster
Rep: 
|
Okay, thanks again for your persistence.
The output - as requested:
Code:
$ lspci
00:00.0 Host bridge: Intel Corporation Device 3e34 (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Device 9df9 (rev 30)
00:14.0 USB controller: Intel Corporation Device 9ded (rev 30)
00:14.2 RAM memory: Intel Corporation Device 9def (rev 30)
00:16.0 Communication controller: Intel Corporation Device 9de0 (rev 30)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 30)
00:1d.0 PCI bridge: Intel Corporation Device 9db0 (rev f0)
00:1d.1 PCI bridge: Intel Corporation Device 9db1 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Device 9db4 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 9d84 (rev 30)
00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)
00:1f.4 SMBus: Intel Corporation Device 9da3 (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 9da4 (rev 30)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
03:00.0 Non-Volatile memory controller: SK hynix Device 1327
|
|
|
10-30-2019, 10:50 AM
|
#26
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Hi again LionHeartIV,
The bluetooth adapter isn't showing up anywhere most likely because the driver wasn't loaded when you queried the system for devices (lsusb and lspci).
It would be interesting if we could at least get bluetooth running to prove that it can work, and then figure out why the driver module isn't loading automatically at boot ...
Could you please refer back to post #22 and do what is listed there, beginning with a system update. Reboot after the system update but once you start going through the other steps (essentially manually loading the driver and starting bluetooth), don't reboot again before reporting back on your status.
Thanks.
|
|
|
10-31-2019, 12:22 AM
|
#27
|
LQ Newbie
Registered: Aug 2019
Posts: 20
Original Poster
Rep: 
|
Hi Rick.
1) My system is up to date.
2) Presume these are the steps in post #22?
Code:
$ 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)
$ lsmod | grep btusb
$ rfkill
ID TYPE DEVICE SOFT HARD
0 wlan phy0 blocked unblocked
(I'm leaving my laptop on all day.)
|
|
|
10-31-2019, 11:38 AM
|
#28
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Hi LionHeartIV,
No, those are just the status query commands. Assuming that your system is still in the above state, in order, execute:
Code:
sudo modprobe btusb
... verify that bluetooth adapter now shows up in output and that its status is unblocked. If blocked, unblock it with :
Code:
rfkill unblock {ID}
... replacing {ID} with the proper identifier ... Last time it was 0.
Code:
sudo systemctl restart bluetooth
Code:
systemctl status bluetooth
... if status is now active and running, go to your gui app and see if adapter now shows up.
Report back :-)
|
|
|
11-01-2019, 02:47 AM
|
#29
|
LQ Newbie
Registered: Aug 2019
Posts: 20
Original Poster
Rep: 
|
Rick
Thank you for your patience with this, however, because of the time difference and the obvious difficulties - I've decided to throw the towel in and call it a day.
I will probably buy a Bluetooth dongle and live with it as is.
Thanks again!
|
|
|
11-01-2019, 07:44 AM
|
#30
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by LionHeartIV
Rick
Thank you for your patience with this, however, because of the time difference and the obvious difficulties - I've decided to throw the towel in and call it a day.
I will probably buy a Bluetooth dongle and live with it as is.
Thanks again!
|
Understood - I hope you have an easier time with your alternative.
Feel free to return should you decide more assistance is required.
Cheers.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 08:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|