Skip to main content
Topic: bluetooth can't power on (Read 1688 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

bluetooth can't power on

I am having some trouble to turn on my bluetooth. I am running Artix with runit

I installed all packages that I understand that are important

Code: [Select]
$ pacman -Qs bluetooth
local/bluelog 1.1.2-1
    A highly configurable Linux Bluetooth scanner with optional web interface
local/blueman 2.2.4-1
    GTK+ Bluetooth Manager
local/bluez 5.63-1
    Daemons for the bluetooth protocol stack
local/bluez-hid2hci 5.63-1
    Put HID proxying bluetooth HCI's into HCI mode
local/bluez-libs 5.63-1
    Deprecated libraries for the bluetooth protocol stack
local/bluez-utils 5.63-1
    Development and debugging utilities for the bluetooth protocol stack
local/hidapi 0.11.2-1
    Simple library for communicating with USB and Bluetooth HID devices
local/libldac 2.0.2.3-1
    LDAC Bluetooth encoder library
local/pulseaudio-bluetooth 15.0-1
    Bluetooth support for PulseAudio
local/sbc 1.5-2
    Bluetooth Subband Codec (SBC) library



My user is part of the lp group, and I tried to start bluetoothctl with sudo. Not sure what I am missing.

I came to doubt that my computer does not have bluetooth, but my memory and this suggest me that it does

Code: [Select]
sudo dmesg | grep -i bluetooth
[   10.803609] Bluetooth: Core ver 2.22
[   10.803628] NET: Registered PF_BLUETOOTH protocol family
[   10.803629] Bluetooth: HCI device and connection manager initialized
[   10.803633] Bluetooth: HCI socket layer initialized
[   10.803634] Bluetooth: L2CAP socket layer initialized
[   10.803637] Bluetooth: SCO socket layer initialized
[   10.936163] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.936166] Bluetooth: BNEP filters: protocol multicast
[   10.936168] Bluetooth: BNEP socket layer initialized


When I run bluetoothctl (with or without sudo) and run power on I get

Code: [Select]
[bluetooth]# power on
No default controller available
any suggestions?

Re: bluetooth can't power on

Reply #1
Sometimes the physical bluetooth device is disabled, what is the output of?

Code: [Select]
rfkill

Re: bluetooth can't power on

Reply #2
for better or worse, I get no output.

Code: [Select]
$ rfkill
08:27:24 [computersname][user]:~

Re: bluetooth can't power on

Reply #3
for better or worse, I get no output.

Code: [Select]
$ rfkill
08:27:24 [computersname][user]:~
That means, for one reason or another, your system isn't picking up any wireless devices. Are you able to connect to Wi-Fi ok? It's possible your vendor requires a bluetooth driver that isn't in the default kernel (I'm assuming that's what you're on). So you might have to find out which driver your vendor requires.

Does
Code: [Select]
lsmod | grep "bluetooth"

Return anything?

Re: bluetooth can't power on

Reply #4
Hello, I know almost nothing about bluetooth, so let me try:

Have you installed "bluez-runit" package and enabled "bluetoothd" service which it provides?

Re: bluetooth can't power on

Reply #5
That means, for one reason or another, your system isn't picking up any wireless devices. Are you able to connect to Wi-Fi ok? It's possible your vendor requires a bluetooth driver that isn't in the default kernel (I'm assuming that's what you're on). So you might have to find out which driver your vendor requires.

Does
Code: [Select]
lsmod | grep "bluetooth"

Return anything?

I do *not* have wifi. All of this is happenning in my workstation in which I use ethernet. Again, I am confident that I have bluetooth due the dmesg message I showed in my first post. But I might be mistaken.

The command you asked:

Code: [Select]
$ lsmod | grep "bluetooth"
bluetooth             770048  7 bnep
ecdh_generic           16384  1 bluetooth
rfkill                 32768  2 bluetooth
crc16                  16384  2 bluetooth,ext4

Hello, I know almost nothing about bluetooth, so let me try:

Have you installed "bluez-runit" package and enabled "bluetoothd" service which it provides?
Yes! bluez-runit is installed and enabled!

Re: bluetooth can't power on

Reply #6
post,

Code: [Select]
$sudo lsusb | grep Bluetooth

Re: bluetooth can't power on

Reply #7
I do *not* have wifi. All of this is happenning in my workstation in which I use ethernet. Again, I am confident that I have bluetooth due the dmesg message I showed in my first post. But I might be mistaken.
Since this is on your workstation, is this bluetooth built into the motherboard or is it an external device like a usb dongle?

The command you asked:

Code: [Select]
$ lsmod | grep "bluetooth"
bluetooth             770048  7 bnep
ecdh_generic           16384  1 bluetooth
rfkill                 32768  2 bluetooth
crc16                  16384  2 bluetooth,ext4
Looks like you're loading bluetooth modules alright, have you tried installing bluez-utils-compat from the AUR, you might be using an older bluetooth device and that package contains libraries for them.

Re: bluetooth can't power on

Reply #8
post,

Code: [Select]
$sudo lsusb | grep Bluetooth
I do not have this command. Do you know which package I should install to run it?

Since this is on your workstation, is this bluetooth built into the motherboard or is it an external device like a usb dongle?
It is not an external device. I think it is built into the motherboard.

Looks like you're loading bluetooth modules alright, have you tried installing bluez-utils-compat from the AUR, you might be using an older bluetooth device and that package contains libraries for them.
I was not able to install this yet. It seems it missed systemd  :o
I will take a look into this possibility later, thx!

Re: bluetooth can't power on

Reply #9
Quote
I do not have this command. Do you know which package I should install to run it?

usbutils



Re: bluetooth can't power on

Reply #12
Read the posts carefully, pls

Code: [Select]
$sudo lsusb | grep Bluetooth

or more generically,

Code: [Select]
$sudo lsusb | grep -i Bluetooth

Re: bluetooth can't power on

Reply #13
Read the posts carefully, pls

Code: [Select]
$sudo lsusb | grep Bluetooth

or more generically,

Code: [Select]
$sudo lsusb | grep -i Bluetooth
my apologies. But the behavior was the same

Code: [Select]
$ sudo lsusb | grep -i Bluetooth
18:00:20 [euphoria][lucas](master):~

Make that
Code: [Select]
$ lsusb | grep -i bluetooth
Anyway, try also the wiki page. (Ignore systemd-specific commands, naturally.)

I have been in this week a few times already. But I will give another go! Thx!

Re: bluetooth can't power on

Reply #14
Not sure your system has bluetooth installed. Try to verify,

Code: [Select]
$sudo pacman -S hwinfo

$sudo hwinfo > /tmp/hwinfo