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
$ 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
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
[bluetooth]# power on
No default controller available
any suggestions?
Sometimes the physical bluetooth device is disabled, what is the output of?
rfkill
for better or worse, I get no output.
$ 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
lsmod | grep "bluetooth"
Return anything?
Hello, I know almost nothing about bluetooth, so let me try:
Have you installed "bluez-runit" package and enabled "bluetoothd" service which it provides?
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:
$ lsmod | grep "bluetooth"
bluetooth 770048 7 bnep
ecdh_generic 16384 1 bluetooth
rfkill 32768 2 bluetooth
crc16 16384 2 bluetooth,ext4
Yes! bluez-runit is installed and enabled!
post,
$sudo lsusb | grep Bluetooth
Since this is on your workstation, is this bluetooth built into the motherboard or is it an external device like a usb dongle?
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 do not have this command. Do you know which package I should install to run it?
It is not an external device. I think it is built into the motherboard.
I was not able to install this yet. It seems it missed systemd :o
I will take a look into this possibility later, thx!
it comes empty
$ lsusb | grep "bluetooth"
16:53:30 [computersname][user]:~
Make that
$ lsusb | grep -i bluetooth
Anyway, try also the wiki page (https://wiki.archlinux.org/title/Bluetooth#Troubleshooting). (Ignore systemd-specific commands, naturally.)
Read the posts carefully, pls
$sudo lsusb | grep Bluetooth
or more generically,
$sudo lsusb | grep -i Bluetooth
my apologies. But the behavior was the same
$ sudo lsusb | grep -i Bluetooth
18:00:20 [euphoria][lucas](master):~
I have been in this week a few times already. But I will give another go! Thx!
Not sure your system has bluetooth installed. Try to verify,
$sudo pacman -S hwinfo
$sudo hwinfo > /tmp/hwinfo
Followed your commands, the results are here https://gist.github.com/lucasemmoreira/06f470bdd22f888d4c20b88062184447
Also see https://forum.artixlinux.org/index.php/topic,3775.msg24501#msg24501
Thanks for the reply! I have spent some time on bluetooth's arch wiki with no luck...
I am not currently using pipewire. Would you recomment to me use pipewire in this case?
I already answered that here (https://forum.artixlinux.org/index.php/topic,3775.msg24551.html#msg24551).