Open Source Telephony
 help / color / mirror / Atom feed
From: Andrea Furin <andrea.furin@slacky.it>
To: ofono@ofono.org
Subject: Re: ERROR:Reject SCO: Agent not registered. HSP vs A2DP in Debian8
Date: Sun, 10 Jan 2016 15:22:38 +0000	[thread overview]
Message-ID: <loom.20160110T162103-945@post.gmane.org> (raw)
In-Reply-To: <55DC2B87.7020901@chini.tk>

[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]

I've found a way to use pc like an headset with Android phone (for making
callings).
!!! I've use pulseaudio from jessie-backports: I don't know how much this
takes risks ;-) !!!

In /etc/apt/sources.list add:

deb http://ftp.jp.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ jessie-backports main contrib non-free

$ sudo apt-get update
$ sudo apt-get install pulseaudio=7.1-2~bpo8+1 pulseaudio-utils=7.1-2~bpo8+1 \
    pulseaudio-module-x11=7.1-2~bpo8+1
pulseaudio-module-bluetooth=7.1-2~bpo8+1 \
    libpulse-mainloop-glib0=7.1-2~bpo8+1 libpulsedsp=7.1-2~bpo8+1
libpulse0=7.1-2~bpo8+1 \
    libpulse0:i386=7.1-2~bpo8+1

create a file (with same ownership of /var/lib/gdm3) (create directories if
necessary)
/var/lib/gdm3/.config/pulse/client.conf

autospawn = no
daemon-binary = /bin/true

[http://www.gem.mydns.jp/daitei/linux/jessie/bt-headset/]


Install "ofono"

in /etc/pulse/default.pa 
modify the line:
load-module module-bluetooth-discover
in:
load-module module-bluetooth-discover headset=ofono

Restart pulseaudio:
killall -9 pulseaudio
(is not necessary "pulseaudio --start" because from pulseaudio 6 it will
restart automatically)

For now it seems that:
- if in /etc/pulse/default.pa you have add "headset=ofono" you will have the
headset;
- if not you will have a2dp (restart pulseaudio every time).

Good luck


  reply	other threads:[~2016-01-10 15:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25  6:51 ERROR:Reject SCO: Agent not registered Abhishek Dharmapurikar
2015-08-25  8:47 ` Georg Chini
2016-01-10 15:22   ` Andrea Furin [this message]
2016-01-10 19:50     ` ERROR:Reject SCO: Agent not registered. HSP vs A2DP in Debian8 Andrea Furin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20160110T162103-945@post.gmane.org \
    --to=andrea.furin@slacky.it \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox