* Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
@ 2008-01-29 14:08 pramod gurav
2008-01-29 14:11 ` Johan Hedberg
0 siblings, 1 reply; 8+ messages in thread
From: pramod gurav @ 2008-01-29 14:08 UTC (permalink / raw)
To: BlueZ users
[-- Attachment #1.1: Type: text/plain, Size: 6275 bytes --]
hi Miguel sir,
I am able to connect now...
but the connection lasts for only for few seconds..after it gets disconnected,.
Also the pop up is not comming on the system...it came only once...
When i try to play audo file using
[Pramod@localhost ~]$ mplayer_install/usr/local/bin/mplayer -ao alsa:device=bluetooth 1.mp3
this gives me error...
bt_audio_service_open: connect() failed: Connection refused (111)
[AO_ALSA] Playback open error: Connection refused
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
whats are the reason for these...dont i have alsa plugins or what...
thanks in advance..
Pramod
----- Original Message ----
From: Miguel <mc354@tid.es>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Tuesday, 29 January, 2008 6:55:55 PM
Subject: Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
rfcomm creates a devices in /dev/rfcomm0 in your case. Check if you have the correct permissions.
Try to connect using root user ...
On Tue, 2008-01-29 at 18:37 +0530, pramod gurav wrote:
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
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
-------------------------------------------------------------------------
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-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users
Now you can chat without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php
[-- Attachment #1.2: Type: text/html, Size: 9296 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
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
@ 2008-01-29 14:14 pramod gurav
2008-01-29 14:59 ` Miguel
0 siblings, 1 reply; 8+ messages in thread
From: pramod gurav @ 2008-01-29 14:14 UTC (permalink / raw)
To: BlueZ users
[-- Attachment #1.1: Type: text/plain, Size: 6770 bytes --]
hi miguel sir,
Need i install ALSA plugins for this....
But i read in audio servicxe related doc that they are there in BLuez....
Thanks
Pramod
----- Original Message ----
From: pramod gurav <pramod_gurav_etc@yahoo.co.in>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Tuesday, 29 January, 2008 7:38:31 PM
Subject: Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
hi Miguel sir,
I am able to connect now...
but the connection lasts for only for few seconds..after it gets disconnected,.
Also the pop up is not comming on the system...it came only once...
When i try to play audo file using
[Pramod@localhost ~]$ mplayer_install/usr/local/bin/mplayer -ao alsa:device=bluetooth 1.mp3
this gives me error...
bt_audio_service_open: connect() failed: Connection refused (111)
[AO_ALSA] Playback open error: Connection refused
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
whats are the reason for these...dont i have alsa plugins or what...
thanks in advance..
Pramod
----- Original Message ----
From: Miguel <mc354@tid.es>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Tuesday, 29 January, 2008 6:55:55 PM
Subject: Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
rfcomm creates a devices in /dev/rfcomm0 in your case. Check if you have the correct permissions.
Try to connect using root user ...
On Tue, 2008-01-29 at 18:37 +0530, pramod gurav wrote:
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
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
-------------------------------------------------------------------------
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-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users
Meet people who discuss and share your passions. Join them now.
Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php
[-- Attachment #1.2: Type: text/html, Size: 10241 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
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
2008-01-29 14:14 pramod gurav
@ 2008-01-29 14:59 ` Miguel
0 siblings, 0 replies; 8+ messages in thread
From: Miguel @ 2008-01-29 14:59 UTC (permalink / raw)
To: BlueZ users
[-- Attachment #1.1: Type: text/plain, Size: 7466 bytes --]
sorry Pramond, I haven't worked with audio and bluetooth...
I can't help you any more, sorry...
On Tue, 2008-01-29 at 19:44 +0530, pramod gurav wrote:
> hi miguel sir,
> Need i install ALSA plugins for this....
> But i read in audio servicxe related doc that they are there in
> BLuez....
> Thanks
> Pramod
>
>
>
> ----- Original Message ----
> From: pramod gurav <pramod_gurav_etc@yahoo.co.in>
> To: BlueZ users <bluez-users@lists.sourceforge.net>
> Sent: Tuesday, 29 January, 2008 7:38:31 PM
> Subject: Re: [Bluez-users] Can't connect RFCOMM socket: Permission
> denied
>
>
> hi Miguel sir,
> I am able to connect now...
> but the connection lasts for only for few seconds..after it gets
> disconnected,.
> Also the pop up is not comming on the system...it came only once...
>
> When i try to play audo file using
> [Pramod@localhost ~]$ mplayer_install/usr/local/bin/mplayer -ao
> alsa:device=bluetooth 1.mp3
> this gives me error...
>
> bt_audio_service_open: connect() failed: Connection refused (111)
> [AO_ALSA] Playback open error: Connection refused
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Video: no video
>
> whats are the reason for these...dont i have alsa plugins or what...
> thanks in advance..
> Pramod
>
>
> ----- Original Message ----
> From: Miguel <mc354@tid.es>
> To: BlueZ users <bluez-users@lists.sourceforge.net>
> Sent: Tuesday, 29 January, 2008 6:55:55 PM
> Subject: Re: [Bluez-users] Can't connect RFCOMM socket: Permission
> denied
>
> rfcomm creates a devices in /dev/rfcomm0 in your case. Check if you
> have the correct permissions.
>
> Try to connect using root user ...
>
> On Tue, 2008-01-29 at 18:37 +0530, pramod gurav wrote:
>
> > 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
> >
> >
> >
> > ____________________________________________________________________
> >
> > 5, 50, 500, 5000 - Store N number of mails in your inbox. Click
> > here.
> >
> > -------------------------------------------------------------------------
> > 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-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>
>
>
>
>
> ______________________________________________________________________
> Meet people who discuss and share your passions. Join them now.
>
>
>
>
>
>
> ______________________________________________________________________
> Unlimited freedom, unlimited storage. Get it now
>
> -------------------------------------------------------------------------
> 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-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users
[-- Attachment #1.2: Type: text/html, Size: 12328 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
@ 2008-01-29 13:55 pramod gurav
2008-01-29 14:01 ` Miguel
0 siblings, 1 reply; 8+ messages in thread
From: pramod gurav @ 2008-01-29 13:55 UTC (permalink / raw)
To: BlueZ users
[-- Attachment #1.1: Type: text/plain, Size: 5952 bytes --]
thank you sir for ur reply
i tried being root..
Now its working..but when i enter the PIN for HS BT device on my system it shows an error
[Pramod@localhost ~]$ sudo rfcomm connect 0 00:0F:DE:B1:02:42
Can't create RFCOMM TTY: Address already in use
whats the reason....
Thanks in advance
Pramod
----- Original Message ----
From: Miguel <mc354@tid.es>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Tuesday, 29 January, 2008 6:55:55 PM
Subject: Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
rfcomm creates a devices in /dev/rfcomm0 in your case. Check if you have the correct permissions.
Try to connect using root user ...
On Tue, 2008-01-29 at 18:37 +0530, pramod gurav wrote:
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
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
-------------------------------------------------------------------------
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-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users
Get the freedom to save as many mails as you wish. To know how, go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
[-- Attachment #1.2: Type: text/html, Size: 8958 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
^ permalink raw reply [flat|nested] 8+ messages in thread* [Bluez-users] Can't connect RFCOMM socket: Permission denied
@ 2008-01-29 13:07 pramod gurav
2008-01-29 13:25 ` Miguel
0 siblings, 1 reply; 8+ messages in thread
From: pramod gurav @ 2008-01-29 13:07 UTC (permalink / raw)
To: Bluez-users
[-- 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
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [Bluez-users] Can't connect RFCOMM socket: Permission denied
2008-01-29 13:07 pramod gurav
@ 2008-01-29 13:25 ` Miguel
0 siblings, 0 replies; 8+ messages in thread
From: Miguel @ 2008-01-29 13:25 UTC (permalink / raw)
To: BlueZ users
[-- Attachment #1.1: Type: text/plain, Size: 5033 bytes --]
rfcomm creates a devices in /dev/rfcomm0 in your case. Check if you have
the correct permissions.
Try to connect using root user ...
On Tue, 2008-01-29 at 18:37 +0530, pramod gurav wrote:
> 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
>
>
>
>
> ______________________________________________________________________
> 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
>
> -------------------------------------------------------------------------
> 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-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users
[-- Attachment #1.2: Type: text/html, Size: 7797 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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-01-29 14:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29 14:08 [Bluez-users] Can't connect RFCOMM socket: Permission denied pramod gurav
2008-01-29 14:11 ` Johan Hedberg
-- strict thread matches above, loose matches on Subject: below --
2008-01-29 14:14 pramod gurav
2008-01-29 14:59 ` Miguel
2008-01-29 13:55 pramod gurav
2008-01-29 14:01 ` Miguel
2008-01-29 13:07 pramod gurav
2008-01-29 13:25 ` Miguel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox