I have used bluealsa in agl on IMX6. when the phone is connected with my device via bluetooth, the sound player is work correctly and play music. But when I make a call, I can not hear on my IMX6 the person calling me.
In other words the PCM is not working properly.
my org.bluealsa.service:
[Unit]
Description=Bluetooth Audio ALSA Backend
After=bluetooth.service
Requires=bluetooth.service
[Service]
Type=simple
ExecStart=/usr/bin/bluealsa -p hfp-hf
#ExecStart=/usr/bin/bluealsa -p a2dp-sink -p hfp-hf
[Install]
WantedBy=multi-user.target
my /etc/alsa/conf.d/20-bluealsa.conf :
# BlueALSA integration setup
defaults.bluealsa.service "org.bluealsa"
defaults.bluealsa.profile "a2dp"
defaults.bluealsa.delay 20000
defaults.bluealsa.battery "yes"
defaults.bluealsa.device "88:BD:45:A5:D0:1E"
ctl.bluealsa {
@args [ SRV BAT ]
@args.SRV {
type string
default {
@func refer
name defaults.bluealsa.service
}
}
@args.BAT {
type string
default {
@func refer
name defaults.bluealsa.battery
}
}
type bluealsa
service $SRV
battery $BAT
}
pcm.bluealsa {
@args [ SRV DEV PROFILE DELAY ]
@args.SRV {
type string
default {
@func refer
name defaults.bluealsa.service
}
}
@args.DEV {
type string
default {
@func refer
name defaults.bluealsa.device
}
}
@args.PROFILE {
type string
default {
@func refer
name defaults.bluealsa.profile
}
}
@args.DELAY {
type integer
default {
@func refer
name defaults.bluealsa.delay
}
}
type plug
slave.pcm {
type bluealsa
service $SRV
device $DEV
profile $PROFILE
delay $DELAY
}
hint {
show {
@func refer
name defaults.namehint.extended
}
description "Bluetooth Audio Hub"
}
}
the journalctl log after running org.bluealsa.service is:
Jun 29 04:56:07 imx6solo-icmm1010 bluetoothd[281]: Endpoint registered: sender=:1.56 path=/org/bluez/hci0/A2DP/SBC/Source/1
Jun 29 04:56:07 imx6solo-icmm1010 bluetoothd[281]: Endpoint registered: sender=:1.56 path=/org/bluez/hci0/A2DP/SBC/Source/2
Jun 29 04:56:07 imx6solo-icmm1010 bluetoothd[281]: Endpoint registered: sender=:1.56 path=/org/bluez/hci0/A2DP/SBC/Sink/1
Jun 29 04:56:07 imx6solo-icmm1010 bluetoothd[281]: Endpoint registered: sender=:1.56 path=/org/bluez/hci0/A2DP/SBC/Sink/2
in this log there is no hfp-ofono content or anything about it!
How can I solve my problem?
Best Regards.
_._,_._,_
Links:
You receive all messages sent to this group.
View/Reply Online (#8959) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Mute #bluetooth
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]
_._,_._,_