public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] audio[308]: Access denied: Not authorized
@ 2008-03-06 13:02 pramod gurav
  2008-03-06 14:44 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: pramod gurav @ 2008-03-06 13:02 UTC (permalink / raw)
  To: bluez-users, bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 2516 bytes --]

hi All
I am working on arm platform.
i am trying to play audio from infineon Bt chip on board on my headset.
when I press button on headset it asks for the authorisation on board console.
and comes out with an error as 

audio[308]: Requesting authorization for device 00:0F:DE:B1:02:42, UUID 00001112-0000-1000-8000-00805F9B34FB
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECT_IN_PROGRESS
audio[308]: Access denied: Not authorized
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_CONNECT_IN_PROGRESS -> HEADSET_STATE_DISCONNECTED

when I play audio using
[root@OMAP2EVM /]#aplay -D bluetooth -f S16_LE test.raw
audio[308]: Accepted new client connection on unix socket (fd=9)
audio[308]: Audio API: received BT_GETCAPABILITIES_REQ
audio[308]: Audio API: sending BT_GETCAPABILITIES_RSP
Playing WAVE 'test.raw' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
audio[308]: Audio API: received BT_SETCONFIGURATION_REQ
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECT_IN_PROGRESS
Passkey request for device 00:0F:DE:B1:02:42
audio[308]: /org/bluez/audio/device0: Connecting to 00:0F:DE:B1:02:42 channel 1
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_CONNECT_IN_PROGRESS -> HEADSET_STATE_CONNECTED
audio[308]: /org/bluez/audio/device0: Connected to 00:0F:DE:B1:02:42
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_CONNECTED -> HEADSET_STATE_PLAY_IN_PROGRESS
audio[308]: Received AT*ECBP=?
audio[308]: Error handling command AT*ECBP=?: Invalid argument (22)
audio[308]: SCO socket opened for headset /org/bluez/audio/device0
audio[308]: SCO fd=11
audio[308]: Audio API: sending BT_SETCONFIGURATION_RSP
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_PLAY_IN_PROGRESS -> HEADSET_STATE_PLAYING
audio[308]: Audio API: received BT_STREAMSTART_REQ
audio[308]: Audio API: sending BT_STREAMSTART_RSP
audio[308]: Audio API: sending BT_STREAMFD_IND
audio[308]: Unix client disconnected (fd=9)
audio[308]: State changed /org/bluez/audio/device0: HEADSET_STATE_PLAYING -> HEADSET_STATE_DISCONNECTED

my hcid sdpd, bluetooth-audio-service are running.
What can do to make the access authorised?
Can any one help me in this?

Thanks and Best regards

Pramod





      5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

[-- Attachment #1.2: Type: text/html, Size: 2922 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-06 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 13:02 [Bluez-devel] audio[308]: Access denied: Not authorized pramod gurav
2008-03-06 14:44 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox