public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: pramod gurav <pramod_gurav_etc@yahoo.co.in>
To: Bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Can't connect RFCOMM socket: Permission denied
Date: Tue, 29 Jan 2008 18:37:04 +0530 (IST)	[thread overview]
Message-ID: <766221.43681.qm@web8409.mail.in.yahoo.com> (raw)


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

hi all, 
I am connection my system to Bt headset...
But when i try to connect it using 
$rfcomm connect 0 00:0F:DE:B1:02:42 
error comes......... Can't connect RFCOMM socket: Permission denied
The /var/log/messages has following..

Jan 29 18:03:17 localhost hcid[1406]: HCI dev 0 registered
Jan 29 18:03:17 localhost hcid[1406]: HCI dev 0 up
Jan 29 18:03:17 localhost hcid[1406]: Device hci0 has been added
Jan 29 18:03:17 localhost hcid[1406]: Starting security manager 0
Jan 29 18:03:17 localhost hcid[1406]: Device hci0 has been activated
Jan 29 18:06:47 localhost hcid[1406]: link_key_request (sba=00:00:00:00:00:00, dba=00:0F:DE:B1:02:42)
Jan 29 18:06:47 localhost hcid[1406]: pin_code_request (sba=00:00:00:00:00:00, dba=00:0F:DE:B1:02:42)
Jan 29 18:11:13 localhost hcid[1406]: pin_code_request (sba=00:00:00:00:00:00, dba=00:0F:DE:B1:02:42)
Jan 29 18:13:25 localhost last message repeated 2 times
Jan 29 18:14:03 localhost hcid[15000]: Bluetooth HCI daemon
Jan 29 18:14:03 localhost hcid[15000]: Unknown option 'passkey' line 24
Jan 29 18:14:03 localhost hcid[15000]: syntax error line 24
Jan 29 18:14:03 localhost hcid[15000]: syntax error line 34
Jan 29 18:14:03 localhost hcid[15000]: Can't get system message bus name: Connection ":1.34" is not allowed to own the service "org.bluez" due to security policies in the configuration file
Jan 29 18:14:03 localhost hcid[15000]: Can't open PIN file /etc/bluetooth/pin: Permission denied (13)
Jan 29 18:14:03 localhost hcid[15001]: Can't init device hci0: Permission denied (13)
Jan 29 18:14:03 localhost hcid[15002]: Can't set scan mode on hci0: Permission denied (13)
Jan 29 18:14:03 localhost hcid[15002]: Can't set auth on hci0: Permission denied (13)
Jan 29 18:14:03 localhost hcid[15002]: Can't set encrypt on hci0: Permission denied (13)
Jan 29 18:14:03 localhost hcid[15000]: Starting security manager 0
Jan 29 18:18:10 localhost hcid[15022]: Bluetooth HCI daemon
Jan 29 18:18:10 localhost hcid[15022]: Unknown option 'passkey' line 24
Jan 29 18:18:10 localhost hcid[15022]: syntax error line 24
Jan 29 18:18:10 localhost hcid[15022]: syntax error line 34
Jan 29 18:18:10 localhost hcid[15022]: Can't get system message bus name: Connection ":1.35" is not allowed to own the service "org.bluez" due to security policies in the configuration file
Jan 29 18:18:10 localhost hcid[15022]: Can't open PIN file /etc/bluetooth/pin: Permission denied (13)
Jan 29 18:18:10 localhost hcid[15023]: Can't init device hci0: Permission denied (13)
Jan 29 18:18:10 localhost hcid[15024]: Can't set scan mode on hci0: Permission denied (13)
Jan 29 18:18:10 localhost hcid[15024]: Can't set auth on hci0: Permission denied (13)
Jan 29 18:18:10 localhost hcid[15024]: Can't set encrypt on hci0: Permission denied (13)
Jan 29 18:18:10 localhost hcid[15022]: Starting security manager 0
Jan 29 18:18:29 localhost hcid[15000]: Exit.
Jan 29 18:18:31 localhost hcid[15022]: Exit.
Jan 29 18:20:22 localhost smartd[1554]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
Jan 29 18:20:22 localhost smartd[1554]: Device: /dev/hda, 1 Offline uncorrectable sectors
Jan 29 18:26:19 localhost kernel: usb 2-1: USB disconnect, address 5
Jan 29 18:26:19 localhost hcid[1406]: HCI dev 0 down
Jan 29 18:26:19 localhost hcid[1406]: Stopping security manager 0
Jan 29 18:26:19 localhost hcid[1406]: Device hci0 has been disabled
Jan 29 18:26:19 localhost hcid[1406]: HCI dev 0 unregistered
Jan 29 18:26:19 localhost hcid[1406]: Unregister path: /org/bluez/hci0
Jan 29 18:26:19 localhost hcid[1406]: Device hci0 has been removed
Jan 29 18:32:01 localhost hcid[15118]: Bluetooth HCI daemon
Jan 29 18:32:01 localhost hcid[15118]: Unknown option 'passkey' line 24
Jan 29 18:32:01 localhost hcid[15118]: syntax error line 24
Jan 29 18:32:01 localhost hcid[15118]: Can't get system message bus name: Connection ":1.36" is not allowed to own the service "org.bluez" due to security policies in the configuration file
Jan 29 18:32:01 localhost hcid[15118]: Can't open PIN file /etc/bluetooth/pin: Permission denied (13)


Can anyone please help me....

Thanks in Advance...
Pramod




      Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/

[-- Attachment #1.2: Type: text/html, Size: 4722 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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2008-01-29 13:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 13:07 pramod gurav [this message]
2008-01-29 13:25 ` [Bluez-users] Can't connect RFCOMM socket: Permission denied Miguel
  -- strict thread matches above, loose matches on Subject: below --
2008-01-29 13:55 pramod gurav
2008-01-29 14:01 ` Miguel
2008-01-29 14:08 pramod gurav
2008-01-29 14:11 ` Johan Hedberg
2008-01-29 14:14 pramod gurav
2008-01-29 14:59 ` Miguel

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=766221.43681.qm@web8409.mail.in.yahoo.com \
    --to=pramod_gurav_etc@yahoo.co.in \
    --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