Hi All
I am trying play audio from system on my headset.
When try mplayer
[Pramod@localhost ~]$ mplayer_install/bin/mplayer -ao alsa:device=headset 1.mp3
system hangs with following logs in /var/log/messages
Feb 6 09:52:36 localhost hcid[3559]: Bluetooth HCI daemon
Feb 6 09:52:36 localhost hcid[3559]: Starting security manager 0
Feb 6 09:52:56 localhost sdpd[3567]: Bluetooth SDP daemon
Feb 6 09:53:40 localhost headsetd[3596]: Bluetooth headset daemon version 0.5
Feb 6 09:54:46 localhost hcid[3559]: pin_code_request (sba=00:0B:0D:33:9E:FB, dba=00:0F:DE:B1:02:42)
Feb 6 09:54:51 localhost hcid[3559]: link_key_notify (sba=00:0B:0D:33:9E:FB, dba=00:0F:DE:B1:02:42)Feb 6 09:55:17 localhost headsetd[3596]: Configuration phase ended: target bdaddr is 00:0F:DE:B1:02:42, timeout is 6000 ms
Feb 6 09:55:17 localhost headsetd[3596]: Changing state: Idle-->Paging
Feb 6 09:55:19 localhost hcid[3559]: pin_code_request (sba=00:0B:0D:33:9E:FB, dba=00:0F:DE:B1:02:42)
Feb 6 09:55:23 localhost headsetd[3596]: Timeout connecting L2CAP socket to headset, aborting.
Feb 6 09:55:23 localhost headsetd[3596]: Changing state: Paging-->Idle
Feb 6 09:55:28 localhost hcid[3559]: link_key_notify (sba=00:0B:0D:33:9E:FB, dba=00:0F:DE:B1:02:42)Feb 6 09:55:36 localhost headsetd[3596]: Configuration phase ended: target bdaddr is 00:0F:DE:B1:02:42, timeout is 6000 ms
Feb 6 09:55:36 localhost headsetd[3596]: Changing state: Idle-->Paging
Feb 6 09:55:39 localhost hcid[3559]: link_key_request (sba=00:0B:0D:33:9E:FB, dba=00:0F:DE:B1:02:42)
Feb 6 09:55:39 localhost headsetd[3596]: Changing state: Paging-->Connecting
Feb 6 09:55:39 localhost headsetd[3596]: Changing state: Connecting-->Ready
Feb 6 09:55:39 localhost headsetd[3596]: Changing state: Ready-->Opening
Feb 6 09:55:39 localhost headsetd[3596]: SCO channel opened handle=0x0100 mtu=60
Feb 6 09:55:39 localhost headsetd[3596]: Changing state: Opening-->Streaming
Feb 6 10:00:05 localhost syslogd 1.4.1: restart.
1) My ~/.asoundrc has
pcm.headset {
@args [BDADDR TIMEOUT]
# The Bluetooth device address for target headset,
# used for Audio Gateway (PC) initiated connections
# Please note that this value is ignored when the connection is Headset initiated
@args.BDADDR {
type string
# Enter address of your headset here
default "00:0F:DE:B1:02:42" #headset BDADDRESS
}
# This value represents how long we will try to reach the headset, until we give up.
# Value is in milliseconds
@args.TIMEOUT {
type integer
default 6000
}
type sco
bdaddr $BDADDR
timeout $TIMEOUT
}
ctl.headset {
type sco
}
2) My /etc/bluetooth/audio.service has.................
[Bluetooth Service]
Identifier=audio
Name=Audio service
Description=Bluetooth Audio service
Autostart=true
3) /etc/bluetooth/hcid.conf has................
# HCI daemon configuration file.
options {
autoinit yes;
security user;
pairing multi;
# passkey "BlueZ";
}
4) I am using linux-2.6.22 kernel, Bluez-3.25 (libs, utils), also installed PLUGS & SBC from svn
But i could not aplly SCO flow control patch to my kernel...it failed..
Need I give more info to know whats going wrong..
Whats is the patch for SCO flow control for 2.6.22 ??
Someone help me please.
Thanks and Best regards
Pramod
Forgot the famous last words? Access your message archive online at http://in.messenger.yahoo.com/webmessengerpromo.php
Hi Pramod,
> 4) I am using linux-2.6.22 kernel, Bluez-3.25 (libs, utils), also
> installed PLUGS & SBC from svn
> But i could not aplly SCO flow control patch to my kernel...it
> failed..
>
> Need I give more info to know whats going wrong..
> Whats is the patch for SCO flow control for 2..6.22 ??
try using the Bluetooth audio service (which comes with 3.25) instead of
external headsetd. See wiki.bluez.org for instructions.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel