Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluetoothctl hangs as a regular user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Evilguru
Guru
Guru


Joined: 16 Aug 2005
Posts: 390
Location: England

PostPosted: Sun Jun 24, 2018 4:21 pm    Post subject: bluetoothctl hangs as a regular user Reply with quote

Hi all,

One of the things I have never been able to get working on any of my Linux systems is bluetooth. Despite having it on several systems there has always been something which has prevented it from functioning. Back in ~2006 this was understandable, but given we're now in 2018 I've finally decided to take another look.

My motherboard has an integrated BCM20702A1 HCI, for which firmware is not available in the kernel. So following the dmesg output I found the firmware online and placed it into the relevant directory. Thus
Code:

[274918.809128] Bluetooth: hci0: BCM: chip id 63
[274918.810109] Bluetooth: hci0: BCM: features 0x07
[274918.826132] Bluetooth: hci0: Fluorine
[274918.827133] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1714
[274919.544137] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1714
[274919.560157] Bluetooth: hci0: Bluetooth USB module

with this I decided to try and run bluetoothctl to get everything up and running. My normal user, freddie, is in the plugdev group and the bluetooth service has been started. However, when I run it, I get:
Code:

freddie@fluorine ~ $ bluetoothctl


where it simply hangs indefinitely. As root
Code:

fluorine # bluetoothctl
Agent registered
[bluetooth]#
[bluetooth]# quit

which I understand to be the expected behaviour. What am I doing wrong and how can I debug this?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6656
Location: The soundosphere

PostPosted: Tue Jun 26, 2018 6:35 pm    Post subject: Reply with quote

I'd like to finish setting up my bluetooth, so let me see if I can help you get as far as I got. I can see devices and pair them, but have not gotten sound to work.

I use genkernel, dunno if that really matters, but it might have filled in some blanks for me automatically.

These are the packages installed on my system. I don't recall which I installed directly and which got pulled in as dependencies:
qtbluetooth
bluez-alsa
blueberry
bluez
bluez-tools
gnome-bluetooth (I use xfce4, I avoid directly installing gnome libs, so this is probably a dep of something else.)

I also have +bluetooth use flag in make.conf.

I have bluetooth and bluealsa in my default runlevel. Blueberry scans for and finds devices and connects to them, but as I mentioned, no sound for me yet. Bluetoothctl connects to agent.

Check for the items I mentioned above and play around for a bit and let me know if you make any progress.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum