* [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; 11+ 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] 11+ messages in thread
* Re: [Bluez-users] Can't connect RFCOMM socket: resource temporarily unavailable
2005-01-28 17:26 [Bluez-users] Can't connect RFCOMM socket: resource temporarily unavailable Filipa Duarte
@ 2005-01-28 19:19 ` Marcel Holtmann
2005-01-31 16:36 ` [Bluez-users] Can't connect RFCOMM socket Filipa Duarte
0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2005-01-28 19:19 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Filipa,
> 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".
you can't use bind and connect together. Choose one.
> 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.
Check with "hcidump -x" as root if it is really a PIN helper problem.
Regards
Marcel
-------------------------------------------------------
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] 11+ messages in thread
* Re: [Bluez-users] Can't connect RFCOMM socket
2005-01-28 19:19 ` Marcel Holtmann
@ 2005-01-31 16:36 ` Filipa Duarte
2005-01-31 17:07 ` Marcel Holtmann
0 siblings, 1 reply; 11+ messages in thread
From: Filipa Duarte @ 2005-01-31 16:36 UTC (permalink / raw)
To: bluez-users
Hi everyone,
Marcel, many thanks for your help, but I still
couldn't connect to my friend PC. So I decided to
connect to a mobile phone first. It is an Sony
Ericsson Z600.
The 'hcitool scan' shows me the phone and the phone
also recognize my laptop. After this, I did a 'rfcomm
bind' on the laptop.
When I try to connect the mobile phone to my laptop,
the mobile phone asks me the passkey. When I
introduced the PIN (the same I have defined in the
/etc/bluetooth/pin) the reply on the phone is 'passkey
mismatch'.
Here is the output of the 'hcidump -X':
HCIDump - HCI packet analyzer ver 1.16
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
0000: b4 db c9 d9 0a 00 04 02 52 01 ........R.
< HCI Command: Accept Connection Request (0x01|0x0009)
plen 7
0000: b4 db c9 d9 0a 00 01 .......
> HCI Event: Command Status (0x0f) plen 4
0000: 00 01 09 04 ....
> HCI Event: PIN code Request (0x16)plen6
0000: b4 db c9 d9 0a 00 ......
< HCI Command: PIN Code Request Reply (0x01|0x000d)
plen 23
0000: b4 db c9 d9 0a 00 05 42 6c 75 65 5a 00 00 00
00 .......BlueZ....
0010: 00 00 00 00 00 00 00 .......
> HCI Event: Command Complete (0x0e) plen 10
0000: 01 0d 04 00 b4 db c9 d9 0a 00 ..........
< HCI Command: PIN Code Request Reply (0x01|0x000d)
plen 23
0000: b4 db c9 d9 0a 00 05 42 6c 75 65 5a 00 00 00
00 .......BlueZ....
0010: 00 00 00 00 00 00 00 .......
> HCI Event: Command Complete (0x0e) plen 10
0000: 01 0d 04 00 b4 db c9 d9 0a 00 ..........
> HCI Event: Connect Complete (0x03) plen 11
0000: 05 29 00 b4 db c9 d9 0a 00 01 00
.).........
Could you please help me with this output? I am not
sure what it means, if the PIN helper is working or
not...
If it is not the PIN helper, could you give any
directions to look for the problem?
Many thanks. Regards,
Filipa
--- Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Filipa,
>
> > 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".
>
> you can't use bind and connect together. Choose one.
>
> > 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.
>
> Check with "hcidump -x" as root if it is really a
> PIN helper problem.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> 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
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
-------------------------------------------------------
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] 11+ messages in thread
* Re: [Bluez-users] Can't connect RFCOMM socket
2005-01-31 16:36 ` [Bluez-users] Can't connect RFCOMM socket Filipa Duarte
@ 2005-01-31 17:07 ` Marcel Holtmann
0 siblings, 0 replies; 11+ messages in thread
From: Marcel Holtmann @ 2005-01-31 17:07 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Filipa,
> Marcel, many thanks for your help, but I still
> couldn't connect to my friend PC. So I decided to
> connect to a mobile phone first. It is an Sony
> Ericsson Z600.
>
> The 'hcitool scan' shows me the phone and the phone
> also recognize my laptop. After this, I did a 'rfcomm
> bind' on the laptop.
>
> When I try to connect the mobile phone to my laptop,
> the mobile phone asks me the passkey. When I
> introduced the PIN (the same I have defined in the
> /etc/bluetooth/pin) the reply on the phone is 'passkey
> mismatch'.
>
> Here is the output of the 'hcidump -X':
> HCIDump - HCI packet analyzer ver 1.16
> device: hci0 snap_len: 1028 filter: 0xffffffff
> > HCI Event: Connect Request (0x04) plen 10
> 0000: b4 db c9 d9 0a 00 04 02 52 01 ........R.
> < HCI Command: Accept Connection Request (0x01|0x0009)
> plen 7
> 0000: b4 db c9 d9 0a 00 01 .......
> > HCI Event: Command Status (0x0f) plen 4
> 0000: 00 01 09 04 ....
> > HCI Event: PIN code Request (0x16)plen6
> 0000: b4 db c9 d9 0a 00 ......
> < HCI Command: PIN Code Request Reply (0x01|0x000d)
> plen 23
> 0000: b4 db c9 d9 0a 00 05 42 6c 75 65 5a 00 00 00
> 00 .......BlueZ....
> 0010: 00 00 00 00 00 00 00 .......
> > HCI Event: Command Complete (0x0e) plen 10
> 0000: 01 0d 04 00 b4 db c9 d9 0a 00 ..........
> < HCI Command: PIN Code Request Reply (0x01|0x000d)
> plen 23
> 0000: b4 db c9 d9 0a 00 05 42 6c 75 65 5a 00 00 00
> 00 .......BlueZ....
> 0010: 00 00 00 00 00 00 00 .......
> > HCI Event: Command Complete (0x0e) plen 10
> 0000: 01 0d 04 00 b4 db c9 d9 0a 00 ..........
> > HCI Event: Connect Complete (0x03) plen 11
> 0000: 05 29 00 b4 db c9 d9 0a 00 01 00
> .).........
>
> Could you please help me with this output? I am not
> sure what it means, if the PIN helper is working or
> not...
>
> If it is not the PIN helper, could you give any
> directions to look for the problem?
it looks like you have two instances of hcid running. This is bad. Kill
one and make sure that you restart the other one. The PIN you have to
enter in your phone is "BlueZ" according to this log.
Regards
Marcel
-------------------------------------------------------
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] 11+ messages in thread
* [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; 11+ 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] 11+ messages in thread
* Re: [Bluez-users] Can't connect RFCOMM socket: Resource temporarily unavailable
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
0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2005-05-01 17:31 UTC (permalink / raw)
To: bluez-users
Hi,
> 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?
run "hcidump -X -V" as root while connecting, but I think that you have
problems with your PIN helper. Look at the mailing list archives for
more details.
Regards
Marcel
-------------------------------------------------------
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] 11+ messages in thread
* Re: [Bluez-users] Can't connect RFCOMM socket: Resource temporarily unavailable
2005-05-01 17:31 ` Marcel Holtmann
@ 2005-05-01 19:27 ` Szilágyi Szilveszter
0 siblings, 0 replies; 11+ messages in thread
From: Szilágyi Szilveszter @ 2005-05-01 19:27 UTC (permalink / raw)
To: bluez-users
yes you are right
I did not know that I had bad parameters in /etc/bluetooth/hcid.conf
in line
pin_helper /usr/bin/bluez-pin
the /usr/bin/bluez-pin was bad link
thank you!
you helped me to understand it deeper!
Marcel Holtmann írta:
>Hi,
>
>
>
>>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 2kr
>>(((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?
>>
>>
>
>run "hcidump -X -V" as root while connecting, but I think that you have
>problems with your PIN helper. Look at the mailing list archives for
>more details.
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>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
>
>
-------------------------------------------------------
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] 11+ 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; 11+ 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
Im 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] 11+ messages in thread
* Re: [Bluez-users] Can"t connect RFCOMM socket: resource temporarily unavailable
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
0 siblings, 1 reply; 11+ messages in thread
From: Luiz Fernando Capitulino @ 2005-06-23 12:26 UTC (permalink / raw)
To: bluez-users
Hi Esther,
Esther Lopez wrote:
> I have also created a file: /etc/Bluetooth/my-pin:
>=20
> #! /bin/bash
> Echo =93PIN:1111=94
>=20
>=20
> In /etc/Bluetooth/hcid.conf I have changed the line corresponding to=20
> =93pin helper=94 to:
>=20
> Pin_helper/etc/Bluetooth/my-pin
>=20
>=20
> If I start gnome =93file sharing=94 utility, I can send files from my L=
inux=20
> box to the Win XP one (no Pin message is shown).
>=20
>=20
> If I state: =93rfcomm connect /dev/rfcomm0 <mac> 1=94, I can see in my =
Win=20
> XP Pc a message to set the PIN, I put 1111, and press enter. When a tim=
e=20
> is elapsed, the message =93Can"t connect RFCOMM socket: resource=20
> temporarily unavailable=94 appears
> =20
>=20
> Some idea of what is going wrong??
Yes. :)
Did you write 'Echo' instead of 'echo'? Bash is case-sensitive. Try to wr=
ite
such commands in lower-case.
--=20
Luiz Fernando N. Capitulino
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [Bluez-users] Can"t connect RFCOMM socket: resource temporarily unavailable
2005-06-23 12:26 ` Luiz Fernando Capitulino
@ 2005-06-23 13:51 ` Esther Lopez
0 siblings, 0 replies; 11+ messages in thread
From: Esther Lopez @ 2005-06-23 13:51 UTC (permalink / raw)
To: bluez-users
Hi Fernando
Yes, I wrote them in lower-case. (When writing the email it has =
"corrected"
the first character of the sentence)
Regards
-----Mensaje original-----
De: bluez-users-admin@lists.sourceforge.net
[mailto:bluez-users-admin@lists.sourceforge.net] En nombre de Luiz =
Fernando
Capitulino
Enviado el: jueves, 23 de junio de 2005 14:27
Para: bluez-users@lists.sourceforge.net
Asunto: Re: [Bluez-users] Can"t connect RFCOMM socket: resource =
temporarily
unavailable
Hi Esther,
Esther Lopez wrote:
> I have also created a file: /etc/Bluetooth/my-pin:
>=20
> #! /bin/bash
> Echo "PIN:1111"
>=20
>=20
> In /etc/Bluetooth/hcid.conf I have changed the line corresponding to=20
> "pin helper" to:
>=20
> Pin_helper/etc/Bluetooth/my-pin
>=20
>=20
> If I start gnome "file sharing" utility, I can send files from my =
Linux=20
> box to the Win XP one (no Pin message is shown).
>=20
>=20
> 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=20
> is elapsed, the message "Can"t connect RFCOMM socket: resource=20
> temporarily unavailable" appears
> =20
>=20
> Some idea of what is going wrong??
Yes. :)
Did you write 'Echo' instead of 'echo'? Bash is case-sensitive. Try to =
write
such commands in lower-case.
--=20
Luiz Fernando N. Capitulino
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bluez-users] Can't connect RFCOMM socket: Resource temporarily unavailable
@ 2007-08-21 15:25 Hamid MENOUAR
0 siblings, 0 replies; 11+ 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] 11+ messages in thread
end of thread, other threads:[~2007-08-21 15:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-28 17:26 [Bluez-users] Can't connect RFCOMM socket: resource temporarily unavailable Filipa Duarte
2005-01-28 19:19 ` Marcel Holtmann
2005-01-31 16:36 ` [Bluez-users] Can't connect RFCOMM socket Filipa Duarte
2005-01-31 17:07 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
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
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
2007-08-21 15:25 [Bluez-users] Can't connect RFCOMM socket: Resource " Hamid MENOUAR
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox