public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Can't connect RFCOMM socket: Resource temporarily unavailable
@ 2005-05-01 17:22 Szilágyi Szilveszter
  2005-05-01 17:31 ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Szilágyi Szilveszter @ 2005-05-01 17:22 UTC (permalink / raw)
  To: bluez-users

Hi all,
i cannot connect my SonyEricsson T68 on bluetooth (i tried with a Z600 
as well, same problem)
on google there is no solution
root:~# rfcomm connect 0 00:09:D9:26:70:46 2
(((on my phone accept and enter the pin:1111)))
Can't connect RFCOMM socket: Resource temporarily unavailable
root:~# (((I tried it as rfcomm connect 0 00:09:D9:26:70:46 1 as well)))
any ideas?

more info:
the process
http://sszilveszter.uw.hu/blue/theprocess.log
logs and settings in /etc
http://sszilveszter.uw.hu/blue/1
http://sszilveszter.uw.hu/blue/2
http://sszilveszter.uw.hu/blue/hcid.conf
http://sszilveszter.uw.hu/blue/hcidump-x
http://sszilveszter.uw.hu/blue/hcidump-X.1
http://sszilveszter.uw.hu/blue/pin
http://sszilveszter.uw.hu/blue/rfcomm.conf
http://sszilveszter.uw.hu/blue/sdptool


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Bluez-users] Can't connect RFCOMM socket: Resource temporarily unavailable
@ 2007-08-21 15:25 Hamid MENOUAR
  0 siblings, 0 replies; 9+ messages in thread
From: Hamid MENOUAR @ 2007-08-21 15:25 UTC (permalink / raw)
  To: BlueZ users

Dear all,

I'm trying to connect some my laptop (Fedora Core 4) to some bluetooth
device using an ANYCOM bluetooth USB adaptor. Every thing works well
but not when doing the last step. When doing "rfcomm connect rfcomm0
xx:xx:xx:xx:xx:xx" I get this message "Can't connect RFCOMM socket:
Resource temporarily unavailable"

The code is as in follow:

[root@localhost ~]# hciconfig
hci0:   Type: USB
        BD Address: 00:16:38:CA:55:ED ACL MTU: 1017:8 SCO MTU: 64:1
        DOWN
        RX bytes:1642 acl:2 sco:0 events:85 errors:0
        TX bytes:264 acl:1 sco:0 commands:52 errors:0

[root@localhost ~]#
[root@localhost ~]# hciconfig hci0 reset
[root@localhost ~]# hciconfig
hci0:   Type: USB
        BD Address: 00:16:38:CA:55:ED ACL MTU: 1017:8 SCO MTU: 64:1
        UP RUNNING PSCAN ISCAN
        RX bytes:1713 acl:2 sco:0 events:93 errors:0
        TX bytes:295 acl:1 sco:0 commands:60 errors:0

[root@localhost ~]#
[root@localhost ~]# hcitool scan
Scanning ...
        00:0D:18:60:14:8E       Bluetooth-device
[root@localhost ~]#
[root@localhost ~]# /etc/init.d/bluetooth restart
Stopping Bluetooth services:                               [FAILED]
Starting Bluetooth services:                               [  OK  ]
[root@localhost ~]#
[root@localhost ~]# /etc/init.d/bluetooth restart
Stopping Bluetooth services:                               [  OK  ]
Starting Bluetooth services:                               [  OK  ]
[root@localhost ~]#
[root@localhost ~]# l2ping 00:0D:18:60:14:8E
Ping: 00:0D:18:60:14:8E from 00:16:38:CA:55:ED (data size 20) ...
4 bytes from 00:0D:18:60:14:8E id 0 time 50.87ms
4 bytes from 00:0D:18:60:14:8E id 1 time 8.71ms
4 bytes from 00:0D:18:60:14:8E id 2 time 13.76ms
3 sent, 3 received, 0% loss
[root@localhost ~]#
[root@localhost ~]# rfcomm release all
[root@localhost ~]#
[root@localhost ~]# rfcomm connect rfcomm0 00:0D:18:60:14:8E
Can't connect RFCOMM socket: Resource temporarily unavailable
[root@localhost ~]#
[root@localhost ~]# lsmod
Module                  Size  Used by
...
rfcomm                 42333  0
l2cap                  30661  5 rfcomm
hci_usb                18761  1
bluetooth              56133  5 rfcomm,l2cap,hci_usb
...
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# cat /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
#

rfcomm0 {
        # Automatically bind the device at startup
        bind yes;

        # Bluetooth address of the device
        device 00:0D:18:60:14:8E;

        # RFCOMM channel for the connection
        channel 1;

        # Description of the connection
        comment "You got me";
}
[root@localhost ~]#


Does anybody know how to solve this problem (Can't connect RFCOMM
socket: Resource temporarily unavailable) ?

Thanks very much for your help.
Menouar

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Bluez-users] Can"t connect RFCOMM socket: resource temporarily unavailable
@ 2005-06-23 10:49 Esther Lopez
  2005-06-23 12:26 ` Luiz Fernando Capitulino
  0 siblings, 1 reply; 9+ messages in thread
From: Esther Lopez @ 2005-06-23 10:49 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]

Hi everybody

 

I’m running Fedora Core 4 (Linux Kernel 2.4.11) and have a Conceptronic
CBT100U USB Dongle.

 

I have this device UP, and I can other devices (a Windows XP PC).

 

I have modified the file /etc/bluetooth/rfcomm.conf including (as read in
some tutorials):

            Rfcomm0{

                        Bind yes;

                        Device <win xp mac>;

                        Channel 1;

                        Comment “TDK-BT”;

            }

 

I have also created a file: /etc/Bluetooth/my-pin:

            #! /bin/bash

            Echo “PIN:1111”

 

In /etc/Bluetooth/hcid.conf I have changed the line corresponding to “pin
helper” to:

            Pin_helper/etc/Bluetooth/my-pin

 

 

If I start gnome “file sharing” utility, I can send files from my Linux box
to the Win XP one (no Pin message is shown).

 

If I state: “rfcomm connect /dev/rfcomm0 <mac> 1”, I can see in my Win XP Pc
a message to set the PIN, I put 1111, and press enter. When a time is
elapsed, the message “Can"t connect RFCOMM socket: resource temporarily
unavailable” appears

 

Some idea of what is going wrong??

 

Thanks in advance

 

Regards

 

 

Esther López Casariego


[-- Attachment #2: Type: text/html, Size: 6457 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Bluez-users] Can't connect RFCOMM socket: resource temporarily unavailable
@ 2005-01-28 17:26 Filipa Duarte
  2005-01-28 19:19 ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Filipa Duarte @ 2005-01-28 17:26 UTC (permalink / raw)
  To: BlueZ Users

Hi everyone,

I am have Linux 2.6.9 in my laptop and an Conceptronic
CBT 100U USB adapter. I installed bluez-utils-2.14 and
bluez-libs-2.14.

'hciconfig -a' shows me my device and 'hcitool scan'
show me the computer of a friend (a windows pc). I can
do an 'l2ping' and an 'rfcomm bind' to this computer
without any problem. 

The problems arrive when I try to do 'rfcomm connect'.
The answer is: "Can't connect RFCOMM socket: resource
temporarily unavailable". 

I saw on the web and on the mailling lists that there
is a problem with the 'bluepin'. I checked mine and it
didn't work. So, I created a new file (called pin in 
/usr/bin/) with:

#!bin/sh
# file: /usr/bin/pin
echo -n "PIN: "
cat /etc/bluetooth/pin

and created a file in /etc/bluetooth/ also called pin
with a numerical the PIN code.

Still I could not make the 'rfcomm connect' work! It
appears a window asking for the PIN in my friend's
computer, but in my computer I still have the same
answer.

I could not find a solution to this problem on the
web. Any help would be appreciated.

Regards,


Filipa Duarte


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2007-08-21 15:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-01 17:22 [Bluez-users] Can't connect RFCOMM socket: Resource temporarily unavailable Szilágyi Szilveszter
2005-05-01 17:31 ` Marcel Holtmann
2005-05-01 19:27   ` Szilágyi Szilveszter
  -- strict thread matches above, loose matches on Subject: below --
2007-08-21 15:25 Hamid MENOUAR
2005-06-23 10:49 [Bluez-users] Can"t connect RFCOMM socket: resource " Esther Lopez
2005-06-23 12:26 ` Luiz Fernando Capitulino
2005-06-23 13:51   ` Esther Lopez
2005-01-28 17:26 [Bluez-users] Can't " Filipa Duarte
2005-01-28 19:19 ` Marcel Holtmann

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