Setting up Bluetooth Audio (A2DP)
Dhinakaran K <Dhinakaran.K <at> Lntemsys.com>
2008-12-04 13:59:30 GMT
Hi,
I
intend to use the A2DP profile of BlueZ, by playing some music over my
desktop(Having Broadcom USB bluetooth adaptor) and listering it on BT-headset.
System Details:
Linux Flavour:
Fedora Core 4
Linux Kernel:
2.6.26
BlueZ version:
4.18
DBUS version: 1.2.4
GLIB version: 2.14
ALSA version: 1.013
HCID:
When
I start bluetooth service, hcid throws error: Unable to get on
DBUS and continues to run. I proceed further to pair with headset,
wherein in gives, Can't connect: Input/Output error. But surprisingly
it can connect with other bluetooth devices like mobile phones. Behaviour
is alike irrespective of pin-helpers,bluepin or bluez-pin.
Bluetoothd:
Yes,
I know that version 4.xx replaces hcid wiht bluetoothd. I edited the /etc/ini.d/bluetooth
script to spawn bluetoothd daemon, instead of hcid daemon. Even Bleutoothd
daemon throws error: Unable to get on DBUS and exits.
Im attaching the debug log herewith.
Any help in this regard is deeply appreciated.
Warm Regards
- dhinakaran
Dhinakarank K
Software Engineer, EmSyS
(
:
+91 821 240 5638
Larsen and Toubro Limited, Mysore
Campus
(
:
+91 821 240 5489
KIADB Industrial Area, Hebbal - Hootagalli
Ê :
+91 821 2403752
Mysore - 570 018
š
: Dhinakaran.K <at> Lntemsys.com
India
ý
: http://www.Lntemsys.com
This mail is classified as
L&T EmSyS Proprietary
L&T EmSyS Internal Use
L&T EmSyS Confidential
L&T EmSyS General
Business
lsusb:
Bus 004 Device 005: ID 0a5c:2039 Broadcom Corp.
/etc/ini.d/bluetooth start
Starting Bluetooth services: [ OK ]
tail -f /var/log/messages
Dec 4 10:09:07 localhost hcid[5179]: Bluetooth HCI daemon
Dec 4 10:09:07 localhost hcid[5179]: Unable to get on D-BUS
Dec 4 10:09:07 localhost sdpd[5182]: Bluetooth SDP daemon
Dec 4 10:09:07 localhost hcid[5179]: HCI dev 0 up
Dec 4 10:09:07 localhost hcid[5179]: Starting security manager 0
hciconfig -a
hci0: Type: USB
BD Address: 00:06:C9:90:02:1D ACL MTU: 1017:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:384 acl:0 sco:0 events:17 errors:0
TX bytes:311 acl:0 sco:0 commands:17 errors:0
Features: 0xff 0xff 0x8d 0xfe 0x8f 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'EMMYS0420 at localhost.localdomain (0)'
Class: 0x120104
Service Classes: Networking, Object Transfer
Device Class: Computer, Desktop workstation
HCI Ver: 2.0 (0x3) HCI Rev: 0x2000 LMP Ver: 2.0 (0x3) LMP Subver: 0x410d
Manufacturer: Broadcom Corporation (15)
hcitool scan
Scanning ...
00:0D:FD:20:28:2F Motorola S9
hcitool cc 00:0D:FD:20:28:2F
Can't create connection: Input/output error
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
Bluez-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users