Can't enable bluetooth on my RPi 3

The SARPi project forum. For anything and everything relating to Slackware ARM on a Raspberry Pi 1, 2, and 3. This forum is NOT a replacement or substitute for the Slackware (ARM) forums on Linux Questions website! Please try to seek help there first about any issues you may be experiencing, or question you might have, before posting on here.
User avatar
jplf
Registered user
Registered user
Posts: 3
Joined: Fri Jul 28 2017 - 23:39:10

Can't enable bluetooth on my RPi 3

Postby jplf » Sat Jul 29 2017 - 09:45:16

I've spent days trying to enable bluetooth on my RPI but without success :(

uname -a gives :

Code: Select all

Linux sedirpi152 4.9.32-v7-arm #1 SMP Sat Jun 17 13:52:41 BST 2017 armv7l BCM2835 GNU/Linux


- using ubuntu instead of slackware bt works fine on the RPi
- with slackware using a usb dongle in the RPi (instead of the device in the soc ) bt works fine

I've checked and rechecked the content of cmdline.txt and config.txt in /boot trying various parameters
I've tried a couple of rules in /udev/rules.d
I've started bluetooth manually using the commands in rc.bluetooth
I've loaded manually a couple of modules especially hci_uart (which stayed used by 0)

The device hci0 is never found whatever I try
Directory /sys/class/bluetooth stays empty
Dmesg does not show anything suspect
Comparing my config with another RPi on ubuntu I found out that
/sys/devices/platform/soc/ has a directory named 3f201000.serial instead of 3f201000.uart on the ubuntu but I could not conclude anything from that.

User avatar
glorsplitz
Registered user
Registered user
Posts: 38
Joined: Sun Aug 07 2016 - 22:54:24

Re: Can't enable bluetooth on my RPi 3

Postby glorsplitz » Sat Jul 29 2017 - 16:32:40

does

Code: Select all

/usr/bin/bluetoothctl
do anything ?

what does

Code: Select all

hciconfig -a
say ?

does http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/Bluetooth_in_Slackware_HOWTO this help to diagnose without the kde parts ?

User avatar
jplf
Registered user
Registered user
Posts: 3
Joined: Fri Jul 28 2017 - 23:39:10

Re: Can't enable bluetooth on my RPi 3

Postby jplf » Sat Jul 29 2017 - 16:49:02

Of course I ran a thousand times hciconfig, bluetoothctl, rfkill, ...
The answer was always the same : device hci0 not found
Wifi looks ok though

I'm wondering whether this install of slackware provides a kernel with bluetooth hciuart enabled.The parameter CONFIG_BT_HCIUART is not set in the kernel sources configuration .Oddly in /usr/src the linux version is 4.11.11 but uname -a gives 4.9.32-v7-arm.
However I can modprobe hci_uart but this has no effect

User avatar
jplf
Registered user
Registered user
Posts: 3
Joined: Fri Jul 28 2017 - 23:39:10

Re: Can't enable bluetooth on my RPi 3

Postby jplf » Tue Aug 01 2017 - 10:08:23

Looking at the configuration of the kernel on an other linux box having the bluetooth working I noticed that the parameter CONFIG_BT_HCIUART is set to 'm' (module).
So I guess that my problem is likely due to a misconfiguration of the kernel for the RPi since CONFIG_BT_HCIUART is not set.

Is it reasonable to recompile the kernel ?

User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 201
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Re: Can't enable bluetooth on my RPi 3

Postby Exaga » Sun Aug 06 2017 - 09:29:40

jplf wrote:Looking at the configuration of the kernel on an other linux box having the bluetooth working I noticed that the parameter CONFIG_BT_HCIUART is set to 'm' (module).
So I guess that my problem is likely due to a misconfiguration of the kernel for the RPi since CONFIG_BT_HCIUART is not set.

Is it reasonable to recompile the kernel ?


If the kernel parameter is misconfigured (i.e. not set) then you'd have to rebuild the kernel to enable it or include it as a module.

I'll look into that next time I build a new kernel for the RPi3.
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

Return to “SARPi Project - Slackware ARM on a Raspberry Pi”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests