Bluetooth on raspberry pi 5

I am unable to use bluetooth on my rapberry pi 5. I have done the installation and tried starting bluetooth. with systemctl start bluetoth but I get the error mesage
Bluetooth service was skipped because of an unmet condition check (ConditionPathIsDirectory=/sys/class/bluetooth).

bluetoothctl stops at Waiting to connect to bluetoothd…
and /var/lib/bluetooth is empty.

It looks like my bluetooth is broken. can I re-install bluetooth ? And if so then how do I do that ?

Here is part of the jornalctl that mentions bluetooth
Sep 04 21:57:56 desktop wireplumber[793]: spa.bluez5: BlueZ system service is not available
Sep 04 21:57:56 desktop wireplumber[793]: wplua: [string “alsa.lua”]:182: attempt to concatenate a nil value (local ‘node_name’)
stack traceback:
[string “alsa.lua”]:182: in function <[string “alsa.lua”]:175>

Any help to get my blutooth working for my MX Anywhere mouse and my Logitech K380 keyboard would be greatly appreciated.

If you need any more information then pleae ask.

                       Thank You.
                               David.
1 Like

I haven’t been using EnOS ARM for quite a while but I would have a look into /boot/config.txt to see if there is this line:

dtoverlay=disable-bt

If so, I would comment it out and re-enable/ restart bluetooth.

1 Like

I have fixed the problem. I was looking at a previous post about bluetooth on the pi 4 and the reply was that bluetooth is disabled in config.txt. I was surprised to find that the installation of this operating system disables bluetooth.
in my boot directory I have two config.txt files. One is named config.txt and one called config.txt.orig.
bt is enabled in config.txt.orig and disabled in config.txt.
I have re-enabled bluetooth in config.txt and bluetooth is now working perfectly for my bluetooth devices.
I am just wondering what the reason might be for disabling bluetooth as a lot of people use it.
Is there a reason for disabling bluetooth ?

                      Thank You.
                              David.
1 Like

Thank you pebcak. A simple fix if you know where to look. I just didn’t imagine that bluetooth would be disabled.

@vovim
Welcome to the EndeavourOS forum. :enos_flag: I hope you enjoy your time here.
And welcome to EnOS ARM.

We try to keep EnOS ARM the same as EnOS x86_64 as much as possible.
Bluetooth is disabled by default in EnOS x86_64. As per the WiKi
https://discovery.endeavouros.com/audio/bluetooth/2021/03/

EnOS ARM and Raspberry Pi just needs an extra step as @pebcak pointed out.

Pudge

1 Like

@vovim
Just out of curiosity, did you install on a uSD card or USB SSD?
Also what DE did you choose.

Looking for feedback. Other than bluetooth being disabled, did the installer meet your expectations and needs?

Pudge

Hi Pudge, I installed Endeavouros on an SD card but I am going to clone it later to my new nvme m.2 ssd. I chose the xfce desktop.
The installer worked fine except for when choosing the repository for pacman as I found it difficult to know when to use he OK button and when to use the done button. So overall I think that it is a good installer. I am not a linux newbie because my first linux distribution was Slackware version 3 when I was at university. The thing is that I am used to the sysvinit system rather than systemd. And I must admit that I definitely prefer the sysvinit old way of doing things.
Some things in this OS have surprised me, like having to install the man command. And your wiki entry about bluetooth doesn’t mention the fact that you have to change config.txt it starts at the systemctl start bluetooth comand.
There is one thing left that I can’t figure out and that is how I connect using ssh from a machine in my home network. I have copied the id_rsa.pub file into the .ssh/authorized_keys file and in firewalld in the home zone ssh is ticked. But it still doesn’t work. Can you please give me some advice on how to set up ssh to be able to connect from my home network ? And I also want to use this machine as a vncserver on my home network using tigervnc so I need to open port 5900. How do I do this in firewalld ?
So, just a few little problems but overall I like Endeavouros and I am thinking of changing my other raspberry pi machines to Endeavouros from Manjaro.

1 Like

Thanks for the feedback. It is appreciated.

ARM devices were designed to use minimal resources. Some ARM devices only have 2 to 4 GB of RAM. Many utilize small uSD devices of 16 GB to 32 GB for storage, especially in the early days. So this leaves the choice to the user. Install man pages if storage space is at a premium, or save storage space by simply using Firefox to bring up man pages.
I simply type in the URL bar, ‘linux man fallocate’ and it shows numerous options including archlinux man pages if one exists.

That is something I can easily take care of. Thanks for pointing that out.

My dedicated home LAN server is a headless Raspberry Pi 4b. Works great.
To connect with SSH, one computer must be set up as a SSH server, and another computer must be set up as a SSH client. The client initiates a request and the server acts upon the request.

set up ssh to be able to connect from my home network ? 

Will the RPi 5 be a server or client, or both.

My suggestion would be to install the raspberry Pi headless server image on a spare uSD card if you have one. https://github.com/endeavouros-arm/images/releases/tag/server-rpi-image

Then go to the EnOS ARM WiKi and do Homeserver 1, Homeserver 2, and Homeserver three.

This will teach you how to set up openssh and sshfs. Then you can go back to installing tigervpn on the original install.

If you need any assistance, let me know.

Pudge

RPi 4b, RPi 5, and RPi 400 all have bluetooth disabled by default.
After mulling over @vovim 's feedback, I have decided that during first boot setup, to include a dialog box that allows the user to enable bluetooth.

I have the dialog box designed, and the logic is in place to change /boot/config.txt.
I have tested this and it all seems to work properly.

My next question is, does systemctl need to enable a service for bluetooth with ARM??
If so I need to add this to the install script.

I don’t have any bluetooth hardware, so I can’t test if this actually works.

Hopefully, I can get the new images out tomorrow or the next day.

Pudge

Hi Pudge, I have fixed my ssh problem. It was caused by my having a senior moment. I had new fibre broadband installed and everything was using wired ethernet connections to the fibre network but my phone was connected by WiFi to the old network. It never would have connected like that. I have now done an installation of Endeavouros to my nvme drive and now just have to copy stuff from my SD card. I also thought that I would mention that there is a little slip in the arm installation instructions on your website. It says to install the xz compressed image using dd. As you probably know this leaves an unreadable partition, you need to uncompress it first. To end on a cheerful note, thank you for mentioning me in your latest post about Bluetooth. And yes you do have to start the system bluetooth service but you cover that in your Bluetooth instructions.

1 Like

Could you give me the URL for the page with this ooopsie?? I can’t seem to find it.

I found the mistake and corrected it. Thanks for informing me about the ooopsie :pensive:

Thank you for your interest in EnOS.

Also glad that EnOS ARM is working out for you.

Pudge

1 Like

I took @vovim 's feed back and treated it as a feature request.

https://github.com/endeavouros-arm/images/releases/tag/rpi-5b-image

Which contains this comment.

NEW. During install, added a dialog box asking whether or not to enable Bluetooth.

On RPi 4b, RPi 400, and RPi 5, bluetooth can optionally be enabled in /boot/config.txt, enabled with systemctl, and install the correct Bluetooth GUI for the Desktop Environment selected.

When the installation is complete, after first boot the Bluetooth icon should appear in the panel.

If bluetooth problems are encountered, please give feedback here.

Pudge