Hi Toradex community,
we are using image version “2.7” (Linux / Kernel 4.1.xx) on the Colibri iMX6DL and an RedPine Signals RS9113 usb-connected module for WiFi + Bluetooth classic.
Wifi works without problems, but i do have some problems with Bluetooth. Discovering and pairing with other devices works fine, but trying to connect with any other device yields:
[bluetooth]# connect CC:3D:82:32:9D:25
Attempting to connect to CC:3D:82:32:9D:25
Failed to connect: org.bluez.Error.Failed
And with obexftp
:
root@colibri-imx6:~# obexftp -b CC:3D:82:32:9D:25 -p dummyfile.txt
Browsing CC:3D:82:32:9D:25 ...
Connecting...failed: connect
Tried to connect for 4ms
error on connect(): Invalid argument
Still trying to connect
Connecting...failed: connect
Tried to connect for 5ms
error on connect(): Invalid argument
Still trying to connect
Connecting...failed: connect
Tried to connect for 3ms
error on connect(): Invalid argument
Still trying to connect
However,
[bluetooth]# info CC:3D:82:32:9D:25
Device CC:3D:82:32:9D:25
Name: LAPTOP-BIRKHOLZ
Alias: LAPTOP-BIRKHOLZ
Class: 0x1a010c
Icon: computer
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: PANU (00001115-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (c7f94713-891e-496a-a0e7-983a0946126e)
Modalias: bluetooth:v0006p0001d0A00
When i use dbus-monitor --system
while trying to connect i get the following output:
method call time=1542128220.673852 sender=:1.25 -> destination=org.bluez serial=17 path=/org/bluez/hci0/dev_CC_3D_82_32_9D_25; interface=org.bluez.Device1; member=Connect
error time=1542128220.675872 sender=:1.7 -> destination=:1.25 error_name=org.bluez.Error.Failed reply_serial=17
string "Protocol not available"
I searched for the Protocol not available
message and found some hints pointing to a missing “pulseaudio-bluetooth” package; since we don’t have any multimedia-hardware on our target system we disabled building GStreamer in the Openembedded/Yocto builds, but we would like to have file-transfer capabilities. Do you have any idea how we can enable that functionality?
Kind regards,
Stefan Birkholz