From: "colorant" <colorant@163.com>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] Error encounter when connecting A2DP following wiki instruction ! How to connect A2DP ?
Date: Wed, 18 Jun 2008 15:20:23 +0800 [thread overview]
Message-ID: <008e01c8d113$c65174b0$6e01a8c0@Raymondpc> (raw)
In-Reply-To: 4852914F.6020209@earthlink.net
Hi
I try to connect earphone with A2DP on arm board .
I follow the instruction from
http://wiki.bluez.org/wiki/HOWTO/AudioDevices
I encounter error while doing connect saying connect method does not
exist !
This is what I did :
~ # ps
PID Uid VSZ Stat Command
.....
271 root 1576 SW< /sbin/udevd --daemon
445 root 1884 SW /bin/sh /etc/init.d/rc 2
454 root 1964 SW /bin/sh
554 root SW< [krfcommd]
563 messagebus 1944 SW /usr/bin/dbus-daemon --system --fork
566 root 1416 SW hciattach -s 921600 /dev/ttyS1 bcsp 921600
573 root 1564 SW ./sdpd
575 root 2520 SW hcid -d
578 root 2444 SW /usr/lib/bluetooth/bluetoothd-service-audio
579 root 2412 SW /usr/lib/bluetooth/bluetoothd-service-input
619 root 1960 RW ps
~ # dbus-send --system --print-reply --dest=org.bluez /org/bluez
org.bluez.Manager.ActivateService string:audio
method return sender=:1.0 -> dest=:1.8
string ":1.1"
~ # dbus-send --system --type=method_call --print-reply --dest=org.bluez
/org/bluez org.bluez.Manager.ActivateService string:audio
method return sender=:1.0 -> dest=:1.9
~ # dbus-send --system --type=method_call --print-reply --dest=":1.1"
/org/bluez/audio org.bluez.audio.Manager.CreateDevice
string:00:02:5B:00:C1:A0
method return sender=:1.1 -> dest=:1.10
string "/org/bluez/audio/device3"
~ #
~ # dbus-send --system --type=method_call --print-reply --dest=":1.1"
"/org/bluez/audio/device3" org.bluez.audio.Sink.Connect
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with
signature "" on interface "org.bluez.audio.Sink" doesn't exist
So I have following questions :
1 . Anyone can help to point out what might be wrong in the above operation
?
2. Actually I also try the method of modify the /etc/asound.conf to add the
bluetooth and use aplay directly to play the music, that way also not
working!
~ # cat /etc/asound.conf
pcm.bluetooth{
type bluetooth
device "00:02:5b:00:c1:a0"
profile "auto"
}
~ # aplay -D bluetooth sample.wav
Segmentation fault
~ #
What might be the reason ? I can do aplay sample.wav to speaker. So alsa
utils should be ok.
3. I notice that , on this howto, it do not mentioned the process of
pairing, Shouldn't that be done in some other place ? How can I done that ?
actually I have put in hcid.conf something like :
# HCId options
options {
....
security auto;
pairing multi;
passkey "1234";
....
}
But this one do not work for dbus-send method , right ?
Thanks.
Raymond
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2008-06-18 7:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 12:07 [Bluez-users] Bluez build problem Voni Hakau
2008-06-13 15:25 ` Mumia W..
2008-06-16 12:05 ` Voni Hakau
2008-06-16 22:41 ` Mumia W..
2008-06-30 12:06 ` Voni Hakau
2008-06-30 12:09 ` Voni Hakau
2008-07-01 15:09 ` jayjwa
2008-07-02 7:56 ` Voni Hakau
2008-07-03 22:18 ` jayjwa
2008-06-18 7:20 ` colorant [this message]
2008-06-19 8:20 ` [Bluez-users] When Connect A2DP : Error 22 while configuring device colorant
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='008e01c8d113$c65174b0$6e01a8c0@Raymondpc' \
--to=colorant@163.com \
--cc=bluez-users@lists.sourceforge.net \
/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