2008-03-06 13:02:17

by pramod gurav

[permalink] [raw]
Subject: [Bluez-devel] audio[308]: Access denied: Not authorized

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


Attachments:
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-03-06 14:44:40

by Johan Hedberg

[permalink] [raw]
Subject: Re: [Bluez-devel] audio[308]: Access denied: Not authorized

Hi,

On Mar 6, 2008, at 10:02, pramod gurav wrote:
> my hcid sdpd, bluetooth-audio-service are running.
> What can do to make the access authorised?

http://wiki.bluez.org/wiki/HOWTO/Authorization

Johan


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