Reply To: Bluetooth Addon BETA

Max2Play Home 2016 (en) Forums Max2Play Add-ons Bluetooth Addon BETA Reply To: Bluetooth Addon BETA

5. November 2016 at 11:28 #23719

Dear All,

I have a problem that might as well be related to my USB BT dongle. I am using a PI2, under Max2Play version 2.37, and I have just bought the premium license (thanks for this amazing project, by the way!).
I have installed the Bluetooth plugin and the procedure seemed to end correctly, only any scan for devices turns out empty. This is the debug window:


#### Bluetooth Installation ####
 

#### Bluetooth Dongle ####
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 00:11:67:05:4A:C1  ACL MTU: 678:8  SCO MTU: 48:10
	UP RUNNING 
	RX bytes:760 acl:0 sco:0 events:31 errors:0
	TX bytes:117 acl:0 sco:0 commands:31 errors:0

 

#### PACMD LIST | grep active ####
 

#### PACMD LIST | grep sink ####
Default sink name: auto_null
		module.description = "When a bluetooth sink or source is added, load module-loopback"
		module.description = "Automatically restore the default sink and source"
		module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
	name: <module-always-sink>
		module.description = "Always keeps at least one sink loaded even if it's a null one"
	name: <module-null-sink>
	argument: <sink_name=auto_null sink_properties='device.description="Dummy Output"'>
		module.description = "Clocked NULL sink"
		module.description = "When a sink/source is idle for too long, suspend it"
		module.description = "Load filter sinks automatically when needed"
1 sink(s) available.
	driver: <module-null-sink.c>
	driver: <module-null-sink.c>
0 sink input(s) available.
 

#### X-SERVER RUNNING ####
1 

#### PULSEAUDIO RUNNING ####
1 S  1000  1413     1  0  80   0 - 23265 -      ?        00:00:00 pulseaudio
1 S  1000  1434     1  0  80   0 -   478 -      ?        00:00:00 start-pulseaudi

A (little) bit of investigation from the console led me to:


 service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
   Active: active (running) since Sat 2016-11-05 09:41:28 CET; 24min ago
     Docs: man:bluetoothd(8)
 Main PID: 365 (bluetoothd)

and to


hcitool scan
Scanning ...
        11:75:58:23:81:06       AS200

and I can get the device information too.
Only, if I try to connect:

sudo hcitool cc  11:75:58:23:81:06
Can't create connection: Input/output error

Going into bluetoothctl, I have:


[bluetooth]# list
[bluetooth]# devices
[bluetooth]#

Any idea? Thanks!
Christian