ERROR:Reject SCO: Agent not registered.
by Abhishek Dharmapurikar
Hi,
I was trying to setup HFP uing ofono. I have the following setup
Rasperry Pi B+ ( ARM1176JZF-S)
Bluez 5.32
Pulseaudio 6.0
ofono 1.16
Used the following steps
http://padovan.org/blog/2010/02/handsfree-profile-into-bluez-and-ofono/
start pulseaudio, bluetoothd and ofonod
Connect to phone using bluetoothctl
./enable-modem
./dial-number
loopback
I was able to pair my nexus 4 device and use the script ./dial-number which
actually sets a call up. But the audio of the call doesn't route to the
default sink. I see the following error in ofonod
*Reject SCO: Agent not registered*
Which could be the reason for the audio problem.
Things that I have already tried.
Patched http://cgit.freedesktop.org/~jprvita/pulseaudio/ file
bluetooth-headsets-media-api.
Recompiled the raspbian kernel with
*CONFIG_BT_SCOCONFIG_BT_HCIUSB_SCO*
enabled
Added
*Enable = Source,Sink,Headset,Gateway,Control,MediaDisable = Socket*
to /etc/bluetooth/audio.conf.
Things that could be wrong
When I do a pactl list cards, i see the bluetooth card at #0 with two
profiles.
* Profiles: a2dp_source: High Fidelity Capture (A2DP
Source) (sinks: 0, sources: 1, priority: 10, available: yes)
headset_audio_gateway: Headset Audio Gateway (HSP/HFP) (sinks: 1, sources:
1, priority: 20, available: no) off: Off (sinks: 0, sources:
0, priority: 0, available: yes) Active Profile: a2dp_source*
But when I try making the headset_audio_gateway the default profile. I get
*$ sudo pactl set-card-profile 0 headset_audio_gatewayFailure: Input/Output
error*
Also read this in the pulseaudio notes
http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/6.0/
"When building PulseAudio, it's possible to choose between "native" and
"ofono" BlueZ 5 headset backends."
How do I specify that I wish to use the ofono headset backend? Is that the
problem?
5 years, 1 month
Hands Free/Pulse - not working well
by Jason Gauthier
Greetings,
I've been working on getting a HFP working with bluez and
pulseaudio. I'm running into an assortment of issues- I don't even know
where to begin!
To set the stage, I'm running the latest version of bluez (5.33) pulseaudio
(6.0) and ofono
(pulled out of git). I've compiled everything from source.
Using PA and Bluez, I have audio sink working. So I've verified several
components at this point.
I can connect the HFP. Once I start making calls, is when things start to
fall apart.
(BTW, this happens with ofono 1.15, and 1.16 as well)
So, as I'm writing this, the last two times after booting (debian jessie),
connecting, and dialing, the system reboots. I've tried looking at
debugging the kernel crash, and I've just not got very far.
I realize no one can tell me clearly how to fix this, I would appreciate
some suggestions, or ways I can continue to debug this.
Ultimately, my goal is to put this on a raspberry pi for a car stereo. At
the moment, I am just trying to get a proof of concept working.
Thanks!
5 years, 5 months
Waiting "PB DONE" message before create the phonebook
by Viallard Anthony
Hi,
My module (SIMCOM5216) sends "PB DONE" when the phonebook is ready. So,
I would like to wait for this message before instantiated the phonebook
interface in ofono.
In the phonebook AT driver, there is a quirk for ifx vendor. So, I try
to do the same thing, not with the "+PBREADY" message, but with "PB
DONE" and it doesn't work.
I don't known where to put my quirk. Can you give me some hints ?
Regards,
Anthony Viallard.
5 years, 5 months
basic connection howto
by Bo
Hi,
Seems that there takes some fiddling to connect
my cellular dongle to the ofono framework.
My issue is i quickly looked at the man pages
to see how to create the link between
ofono my device.
The man pages mention that:
"oFono is controlled through D-Bus;
for example, one can tell ofonod to send
AT commands over /dev/rfcomm0 by calling
the D-Bus method org.ofono.at.Manager.Create"
So as any developer would do, I built my dbus command:
dbus-send --system --print-reply
--dest=org.ofono / org.ofono.at.Manager.Create
string:"dev:/dev/ttyUSB0" string:"at"
I had already done my typical marshalling of my device like so:
usb_modeswitch -v 1199 -p 0025
rmmod usbserial
modprobe usbserial vendor=0x1199 product=0x0025
which correspond to the sierra-wireless 598u
HOWEVER, there is no command called org.ofono.at.Manager.Create.
I quickly see that the man page was created in 2009...
Quickly peeking through the test scripts
I don't find anything that sounds familiar,
took a peek in list-modems and enable-modem....
Also there is no examples to find in the docs to follow.
I also have conman installed, but not really sure who does what here.
Who is controlling the device?
Where do i give someone my
golden /dev/ttyUSB0 string so it all magically works?
Thanks all!
Bo
5 years, 5 months
[PATCH 0/3] Accept WAP push notifications with any origin port
by Alfonso Sanchez-Beato
Accept WAP push notifications regardless of the origin port, as some
operators seem to use random ports. The destination port is enough to
route properly the message.
Alfonso Sanchez-Beato (3):
push-notification: Accept push from any origin
smsutil: Do not check the origin port
sms: Add trace when datagram is not delivered
plugins/push-notification.c | 25 +++++++------------------
src/sms.c | 7 +++++++
src/smsutil.c | 3 ---
3 files changed, 14 insertions(+), 21 deletions(-)
--
2.1.4
5 years, 5 months
u-blox modem plugin: missing VoiceCallManager and MessageManager interfaces
by Fabio
Hello,
I'm using the u-blox driver with a LISA-U200 modem: the modem is correctly
detected, registers to the network, connects to vodafone apn and browses
Internet.
My problem is that the VoiceCallManager and MessageManager interfaces are
not exposed, and I need to send sms and make calls.
$ ./list-modems
[ /ublox_0 ]
Features = net gprs sim
Emergency = 0
Powered = 1
Lockdown = 0
Interfaces = org.ofono.NetworkRegistration org.ofono.ConnectionManager
org.ofono.SimManager
Online = 1
Model = LISA-U200
Revision = 22.40
Type = hardware
Serial = 358901046388192
Manufacturer = u-blox
[ org.ofono.NetworkRegistration ]
Status = registered
Strength = 20
Name = vodafone IT
LocationAreaCode = 36031
Mode = auto
MobileCountryCode = 222
Technology = hspa
CellId = 10735182
MobileNetworkCode = 10
[ org.ofono.ConnectionManager ]
Powered = 1
Attached = 1
Bearer = hspa
Suspended = 0
RoamingAllowed = 1
[ org.ofono.SimManager ]
Retries = [pin2 = 3] [puk2 = 10] [pin = 3] [puk = 10]
MobileCountryCode = 222
FixedDialing = 0
SubscriberNumbers =
PreferredLanguages = it en de fr sv
BarredDialing = 0
CardIdentifier = 8939103100003792186
LockedPins =
MobileNetworkCode = 10
SubscriberIdentity = 222107602654388
Present = 1
PinRequired = none
I know that the driver was implemented for a SARA-U270 modem.
Can someone help me?
Thanks in advance,
FabioT
5 years, 5 months
u-blox modem plugin: missing VoiceCallManager and MessageManager interfaces
by Fabio
Hello,
I'm using the u-blox driver with a LISA-U200 modem: the modem is correctly
detected, registers to the network, connects to vodafone apn and browse
Internet.
My problem is that the VoiceCallManager and MessageManager interfaces are
not exposed, and I need to send sms and make calls.
$ ./list-modems
[ /ublox_0 ]
Features = net gprs sim
Emergency = 0
Powered = 1
Lockdown = 0
Interfaces = org.ofono.NetworkRegistration org.ofono.ConnectionManager
org.ofono.SimManager
Online = 1
Model = LISA-U200
Revision = 22.40
Type = hardware
Serial = 358901046388192
Manufacturer = u-blox
[ org.ofono.NetworkRegistration ]
Status = registered
Strength = 20
Name = vodafone IT
LocationAreaCode = 36031
Mode = auto
MobileCountryCode = 222
Technology = hspa
CellId = 10735182
MobileNetworkCode = 10
[ org.ofono.ConnectionManager ]
Powered = 1
Attached = 1
Bearer = hspa
Suspended = 0
RoamingAllowed = 1
[ org.ofono.SimManager ]
Retries = [pin2 = 3] [puk2 = 10] [pin = 3] [puk = 10]
MobileCountryCode = 222
FixedDialing = 0
SubscriberNumbers =
PreferredLanguages = it en de fr sv
BarredDialing = 0
CardIdentifier = 8939103100003792186
LockedPins =
MobileNetworkCode = 10
SubscriberIdentity = 222107602654388
Present = 1
PinRequired = none
I know that the driver was implemented for a SARA-U270 modem.
Can someone help me?
Thanks in advance,
FabioT
5 years, 5 months