Bluetooth not working on Linux

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
BlackFi.sh

Bluetooth not working on Linux

Post by BlackFi.sh »

Hey,

I am a total noob when it comes to linux. I am learning the commandline, but am still a beginner. I tried Googling my problem, but I couldn't solve it. So I had to create a new thread. Excuse me for this...

I am dual booting Windows 8 and Mint 17 on my sony vaio laptop. On Windows, Bluetooth is fine, but I can't search and find any bluetooth devices on Linux.

What all logs/information do you wan't? Please help me with this.

Thankyou
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working on Linux

Post by JeremyB »

Code: Select all

lspci

Code: Select all

lsusb

Code: Select all

dmesg | grep Bluetooth

Code: Select all

rfkill list
Should be enough to start with
seeley

Re: Bluetooth not working on Linux

Post by seeley »

Hi BlackFI.sh!
The most important thing to know is your DE, because e.g.
KDE uses bluedevil,
Xfce uses blueman.

Edit:
Terminal >

Code: Select all

echo $DESKTOP_SESSION
or

Code: Select all

inxi -F | grep Desktop
seeley

Re: Bluetooth not working on Linux

Post by seeley »

To see if your BT adapter is recognized:
Terminal (as root)

Code: Select all

 sudo hcitool dev

Code: Select all

[sudo] password for seeley: 
Digits are not shown!

Output should be a Hex number (12 digits, every 2 of them separated), such as

Code: Select all

Devices:
	hci0	88:53:2E:B6:17:81
BlackFi.sh

Re: Bluetooth not working on Linux

Post by BlackFi.sh »

Hey, Here are thee results:

Firstly I tried to find my DE. This is what I found:

Code: Select all

System:    Host: dalton Kernel: 3.13.0-24-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 17 Qiana
Then I ran lspci:

Code: Select all

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
07:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Then, lsusb:

Code: Select all

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 5986:0543 Acer, Inc 
Bus 001 Device 003: ID 0489:e062 Foxconn / Hon Hai 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 003 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 003 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Here are the results of dmesg | grep Bluetooth:

Code: Select all

[   12.004687] Bluetooth: Core ver 2.17
[   12.004714] Bluetooth: HCI device and connection manager initialized
[   12.004723] Bluetooth: HCI socket layer initialized
[   12.004727] Bluetooth: L2CAP socket layer initialized
[   12.004733] Bluetooth: SCO socket layer initialized
[   12.153764] Bluetooth: can't load firmware, may not work correctly
[   14.654368] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.654373] Bluetooth: BNEP filters: protocol multicast
[   14.654384] Bluetooth: BNEP socket layer initialized
[   14.656086] Bluetooth: RFCOMM TTY layer initialized
[   14.656099] Bluetooth: RFCOMM socket layer initialized
[   14.656107] Bluetooth: RFCOMM ver 1.11
so firmware not loaded correctly? Here are the results of rfkill list:


Code: Select all

0: sony-wifi: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: sony-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: nfc0: NFC
	Soft blocked: no
	Hard blocked: no


Also I'd like to report that my BT adapter was recognized properly. I got the Hex No.
seeley

Re: Bluetooth not working on Linux

Post by seeley »

Please post the output of

Code: Select all

sudo hcitool dev

and

Code: Select all

sudo hcitool scan
if a device is detected:

Code: Select all

Scanning ...
        08:37:3D:AD:09:99       NOTE 2
Here you again have a Hex number.

And please find out, if your DE is Cinnamon.

(On older Mint distributions

Code: Select all

mate-about
shows the version of MATE.)
BlackFi.sh

Re: Bluetooth not working on Linux

Post by BlackFi.sh »

I desperately needed get my Bluetooth working because I wanted to establish a tethering internet connection via my old N73. I tried for weeks, but the mobile did not show up in BT devices. But all of a sudden, it started working for today eve.
Now I can pair, but Mint reports that the connection was refused(Er. Code 111) when I tried to tether. But it works fine with windows. I guess you can do nothing about it... or will you surprise me?
seeley

Re: Bluetooth not working on Linux

Post by seeley »

Your requsted PIN for pairing: 4 or more digits; I made the experience that with a 4 digit PIN it did not work.
BlackFi.sh

Re: Bluetooth not working on Linux

Post by BlackFi.sh »

I can pair successfully now, but I can't use my mobile to connect to the internet. I can do so on Windows 8.1, but linux can't get it done
seeley

Re: Bluetooth not working on Linux

Post by seeley »

BlackFi.sh wrote:... I can't use my mobile to connect to the internet...
I don't have experience with that.
There is a tool to test NW, I dont know if it works in your case - I would try it:
see my help, part II (signature).
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth not working on Linux

Post by JeremyB »

In bluetooth settings, I think you should be able to click on your device and then have an option to use as PAN
Locked

Return to “Hardware Support”