2005-12-19 03:32:29

by Swathi Mathur80

[permalink] [raw]
Subject: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello,
When i try to pair my PC with the nokia headset-hs 11w, ie when i execute the below command
btsco 00:08:C6:3E:54:2C 1
i get the below error. Can somebody point what might have went wrong ?
Can't connect RFCOMM channel: Resource temporarily unavailable
Regards,
Swathi




__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


2005-12-28 12:16:10

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

HI Swathi,

> Yes, i am running btsco module on Fedora Core 4. What
> do you mean by your statement "if nothing else works
> try to switch it off".

I am talking about SELinux. Use Google for more information about it,
because this is not the topic of this mailing list.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-28 11:44:12

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
Yes, i am running btsco module on Fedora Core 4. What
do you mean by your statement "if nothing else works
try to switch it off".
Warm Regards,
Swathi

--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > As per your request i have pasted the result of
> > “hciconfig -a” and “hcidump -X -V”. Along
> with it
> > someother information which i thought might be
> helpful
> > in debugging.
> >
> > When i first started my pc if found that hcid
> demon
> > was not running. So i re-started the bluetooth
> > services and made the hcid to run
> >
>
-------------------------------------------------------
> > [root@localhost bluetooth]# /etc/init.d/bluetooth
> > status
> > hcid is stopped
> > sdpd (pid 1729) is running...
> > [root@localhost bluetooth]# /etc/init.d/bluetooth
> > restart
> > Stopping Bluetooth services:
>
> > [FAILED]
> > Starting Bluetooth services:
>
> > [ OK ]
> > [root@localhost bluetooth]# /etc/init.d/bluetooth
> > restart
> > Stopping Bluetooth services:
>
> > [ OK ]
> > Starting Bluetooth services:
>
> > [ OK ]
> >
>
-------------------------------------------------------
> >
> > The headset is being put in the pairing mode.
> Hcidump
> > -X -V is running in the background. I execute the
> > btsco command
> >
>
-------------------------------------------------------
> > [root@localhost /]# btsco 00:08:C6:3E:54:2C -v -r
> > btsco v0.4c
> > Device is 1:0
> > Error: Failed to connect to SDP server: Function
> not
> > implemented
> > Assuming channel 2
> >
> > Voice setting: 0x0060
> > Can't connect RFCOMM channel: Resource temporarily
> > unavailable
> >
>
-------------------------------------------------------
> >
> > output of hcidump -X -V is as below
> >
>
-------------------------------------------------------
> > < HCI Command: Create Connection (0x01|0x0005)
> plen 13
> > bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
> 0x01
> > clkoffset 0x0000
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > > HCI Event: Command Status (0x0f) plen 4
> > Create Connection (0x01|0x0005) status 0x00
> ncmd 1
> > > HCI Event: PIN Code Request (0x16) plen 6
> > bdaddr 00:08:C6:3E:54:2C
> > > HCI Event: Connect Complete (0x03) plen 11
> > status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
> > type ACL encrypt 0x00
> > Error: LMP Response Timeout
> > < HCI Command: Read Voice Setting (0x03|0x0025)
> plen 0
> > > HCI Event: Command Complete (0x0e) plen 6
> > Read Voice Setting (0x03|0x0025) ncmd 1
> > status 0x00 voice setting 0x0060
> > < HCI Command: Create Connection (0x01|0x0005)
> plen 13
> > bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
> 0x01
> > clkoffset 0x0000
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > > HCI Event: Command Status (0x0f) plen 4
> > Create Connection (0x01|0x0005) status 0x00
> ncmd 1
> > > HCI Event: PIN Code Request (0x16) plen 6
> > bdaddr 00:08:C6:3E:54:2C
> > > HCI Event: Connect Complete (0x03) plen 11
> > status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2C
> > type ACL encrypt 0x00
> > Error: LMP Response Timeout
> >
>
-------------------------------------------------------
>
> run the next one with "hcidump -X -V -t" to get the
> timestamps, but I am
> quite sure that the hcid is not running.
>
> >
>
-------------------------------------------------------
> > [root@localhost mail]# /etc/init.d/bluetooth
> status
> > hcid (pid 3136) is running...
> > sdpd (pid 3140) is running...
> >
>
-------------------------------------------------------
> > output of “ps x”
> > 2714 ? Ss 0:00 hcid: processing events
> > 2716 ? Ss 0:00 sdpd
> >
>
-------------------------------------------------------
>
> Are you 100% sure that these are running as root.
> You might better check
> with "ps -u root | grep hcid". The non-matching PIDs
> make it a little
> but suspicious.
>
> Check /var/log/messages for any syslog output.
> However since this looks
> like a RedHat or Fedora distribution, it might be a
> SELinux problem. If
> nothing else works, try to switch it off.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>





__________________________________
Yahoo! for Good - Make a difference this year.
http://brand.yahoo.com/cybergivingweek2005/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-27 08:39:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> As per your request i have pasted the result of
> =E2=80=9Chciconfig -a=E2=80=9D and =E2=80=9Chcidump -X -V=E2=80=9D. Alo=
ng with it
> someother information which i thought might be helpful
> in debugging.
>=20
> When i first started my pc if found that hcid demon
> was not running. So i re-started the bluetooth
> services and made the hcid to run
> -------------------------------------------------------
> [root@localhost bluetooth]# /etc/init.d/bluetooth
> status
> hcid is stopped
> sdpd (pid 1729) is running...
> [root@localhost bluetooth]# /etc/init.d/bluetooth
> restart
> Stopping Bluetooth services: =20
> [FAILED]
> Starting Bluetooth services: =20
> [ OK ]
> [root@localhost bluetooth]# /etc/init.d/bluetooth
> restart
> Stopping Bluetooth services: =20
> [ OK ]
> Starting Bluetooth services: =20
> [ OK ]
> -------------------------------------------------------
>=20
> The headset is being put in the pairing mode. Hcidump
> -X -V is running in the background. I execute the
> btsco command
> -------------------------------------------------------
> [root@localhost /]# btsco 00:08:C6:3E:54:2C -v -r
> btsco v0.4c
> Device is 1:0
> Error: Failed to connect to SDP server: Function not
> implemented
> Assuming channel 2
>=20
> Voice setting: 0x0060
> Can't connect RFCOMM channel: Resource temporarily
> unavailable
> -------------------------------------------------------
>=20
> output of hcidump -X -V is as below
> -------------------------------------------------------
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
> clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:08:C6:3E:54:2C
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
> type ACL encrypt 0x00
> Error: LMP Response Timeout
> < HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> > HCI Event: Command Complete (0x0e) plen 6
> Read Voice Setting (0x03|0x0025) ncmd 1
> status 0x00 voice setting 0x0060
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
> clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:08:C6:3E:54:2C
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2C
> type ACL encrypt 0x00
> Error: LMP Response Timeout
> -------------------------------------------------------

run the next one with "hcidump -X -V -t" to get the timestamps, but I am
quite sure that the hcid is not running.

> -------------------------------------------------------
> [root@localhost mail]# /etc/init.d/bluetooth status
> hcid (pid 3136) is running...
> sdpd (pid 3140) is running...
> -------------------------------------------------------
> output of =E2=80=9Cps x=E2=80=9D
> 2714 ? Ss 0:00 hcid: processing events
> 2716 ? Ss 0:00 sdpd
> -------------------------------------------------------

Are you 100% sure that these are running as root. You might better check
with "ps -u root | grep hcid". The non-matching PIDs make it a little
but suspicious.

Check /var/log/messages for any syslog output. However since this looks
like a RedHat or Fedora distribution, it might be a SELinux problem. If
nothing else works, try to switch it off.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-22 09:28:03

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
As per your request i have pasted the result of
?hciconfig -a? and ?hcidump -X -V?. Along with it
someother information which i thought might be helpful
in debugging.

When i first started my pc if found that hcid demon
was not running. So i re-started the bluetooth
services and made the hcid to run
-------------------------------------------------------
[root@localhost bluetooth]# /etc/init.d/bluetooth
status
hcid is stopped
sdpd (pid 1729) is running...
[root@localhost bluetooth]# /etc/init.d/bluetooth
restart
Stopping Bluetooth services:
[FAILED]
Starting Bluetooth services:
[ OK ]
[root@localhost bluetooth]# /etc/init.d/bluetooth
restart
Stopping Bluetooth services:
[ OK ]
Starting Bluetooth services:
[ OK ]
-------------------------------------------------------

The headset is being put in the pairing mode. Hcidump
-X -V is running in the background. I execute the
btsco command
-------------------------------------------------------
[root@localhost /]# btsco 00:08:C6:3E:54:2C -v -r
btsco v0.4c
Device is 1:0
Error: Failed to connect to SDP server: Function not
implemented
Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Resource temporarily
unavailable
-------------------------------------------------------

output of hcidump -X -V is as below
-------------------------------------------------------
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
> HCI Event: Connect Complete (0x03) plen 11
status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
type ACL encrypt 0x00
Error: LMP Response Timeout
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> HCI Event: Command Complete (0x0e) plen 6
Read Voice Setting (0x03|0x0025) ncmd 1
status 0x00 voice setting 0x0060
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
> HCI Event: Connect Complete (0x03) plen 11
status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2C
type ACL encrypt 0x00
Error: LMP Response Timeout
-------------------------------------------------------
The output of ?hciconfig -a? is as below
-------------------------------------------------------
[root@localhost bluetooth]# hciconfig -a
hci0: Type: USB
BD Address: 00:10:60:A5:A7:61 ACL MTU: 192:8
SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:181 acl:0 sco:0 events:23 errors:0
TX bytes:94 acl:0 sco:0 commands:18 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00
0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'localhost.localdomain-0'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1
(0x1) LMP Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)
-------------------------------------------------------

Output of /etc/init.d/bluetooth status
-------------------------------------------------------
[root@localhost mail]# /etc/init.d/bluetooth status
hcid (pid 3136) is running...
sdpd (pid 3140) is running...
-------------------------------------------------------
output of ?ps x?
2714 ? Ss 0:00 hcid: processing events
2716 ? Ss 0:00 sdpd
-------------------------------------------------------
I got
You have new mail in /var/spool/mail/root after
executing ?btsco xxxx? command and i have enclosed the
mail. I don?t know whether i will be helpful in
debugging. Basically what i noticed was 2 things one
saying

--------------------- Connections (secure-log) Begin
-----------------
**Unmatched Entries**
userhelper[3460]: running
'/usr/share/hwbrowser/hwbrowser' with root privileges
on behalf of 'root'
userhelper[3599]: running
'/usr/share/hwbrowser/hwbrowser' with root privileges
on behalf of 'root'
---------------------- Connections (secure-log) End
--------------------

--------------------- SSHD Begin
------------------------
SSHD Killed: 6 Time(s)
SSHD Started: 6 Time(s)
Failed to bind:
0.0.0.0 port 22 (Address already in use) : 6
Time(s)
---------------------- SSHD End
-------------------------

My apologies for such a long mail.
Warm Regards,
Swathi










--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > I have installed all the bluez-packages and bt_sco
> > module as a root. All the commands which are
> trying to
> > establish a connection to my headset are being
> > executed as a root. I login with root privilages
> and
> > at this point if
> >
> > i check the status of hcid it was showing as
> stopped.
> > (below output)
> >
>
------------------------------------------------------
> > [root@localhost /]# /etc/init.d/bluetooth status
> > hcid is stopped
> > sdpd (pid 1725) is running...
> >
>
------------------------------------------------------
> >
> > So i restarted the bluetooth and for the first
> time i
> > got the below msg
> >
>
------------------------------------------------------
> > [root@localhost /]# /etc/init.d/bluetooth restart
> > Stopping Bluetooth services:
>
> > [FAILED]
> > Starting Bluetooth services:
>
> > [ OK ]
> >
>
------------------------------------------------------
> >
> > For the second time, i was able to successfully
> stop
> > and start BT services
> >
>
------------------------------------------------------
> > [root@localhost /]# /etc/init.d/bluetooth restart
> > Stopping Bluetooth services:
>
> > [ OK ]
> > Starting Bluetooth services:
>
> > [ OK ]
> >
>
------------------------------------------------------
> >
> > cross checking the BT status again
> >
>
------------------------------------------------------
> > [root@localhost /]# /etc/init.d/bluetooth status
> > hcid (pid 2743) is running...
> > sdpd (pid 2745) is running...
> >
>
------------------------------------------------------
>
> check this with "ps x" as root. I don't trust it,
> because the hcidump
> output is telling me something different. Show me
> also the output of
> "hciconfig -a".
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-21 11:11:35

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> I have installed all the bluez-packages and bt_sco
> module as a root. All the commands which are trying to
> establish a connection to my headset are being
> executed as a root. I login with root privilages and
> at this point if
>
> i check the status of hcid it was showing as stopped.
> (below output)
> ------------------------------------------------------
> [root@localhost /]# /etc/init.d/bluetooth status
> hcid is stopped
> sdpd (pid 1725) is running...
> ------------------------------------------------------
>
> So i restarted the bluetooth and for the first time i
> got the below msg
> ------------------------------------------------------
> [root@localhost /]# /etc/init.d/bluetooth restart
> Stopping Bluetooth services:
> [FAILED]
> Starting Bluetooth services:
> [ OK ]
> ------------------------------------------------------
>
> For the second time, i was able to successfully stop
> and start BT services
> ------------------------------------------------------
> [root@localhost /]# /etc/init.d/bluetooth restart
> Stopping Bluetooth services:
> [ OK ]
> Starting Bluetooth services:
> [ OK ]
> ------------------------------------------------------
>
> cross checking the BT status again
> ------------------------------------------------------
> [root@localhost /]# /etc/init.d/bluetooth status
> hcid (pid 2743) is running...
> sdpd (pid 2745) is running...
> ------------------------------------------------------

check this with "ps x" as root. I don't trust it, because the hcidump
output is telling me something different. Show me also the output of
"hciconfig -a".

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-21 08:41:09

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
I have installed all the bluez-packages and bt_sco
module as a root. All the commands which are trying to
establish a connection to my headset are being
executed as a root. I login with root privilages and
at this point if

i check the status of hcid it was showing as stopped.
(below output)
------------------------------------------------------
[root@localhost /]# /etc/init.d/bluetooth status
hcid is stopped
sdpd (pid 1725) is running...
------------------------------------------------------

So i restarted the bluetooth and for the first time i
got the below msg
------------------------------------------------------
[root@localhost /]# /etc/init.d/bluetooth restart
Stopping Bluetooth services:
[FAILED]
Starting Bluetooth services:
[ OK ]
------------------------------------------------------

For the second time, i was able to successfully stop
and start BT services
------------------------------------------------------
[root@localhost /]# /etc/init.d/bluetooth restart
Stopping Bluetooth services:
[ OK ]
Starting Bluetooth services:
[ OK ]
------------------------------------------------------

cross checking the BT status again
------------------------------------------------------
[root@localhost /]# /etc/init.d/bluetooth status
hcid (pid 2743) is running...
sdpd (pid 2745) is running...
------------------------------------------------------

If i execute the below command i get the same info, as
yesterday
------------------------------------------------------
[root@localhost /]# btsco 00:08:C6:3E:54:2C -v
btsco v0.4c
Device is 1:0
Error: Failed to connect to SDP server: Function not
implemented
Assuming channel 2

Voice setting: 0x0060
Can't connect RFCOMM channel: Resource temporarily
unavailable
------------------------------------------------------

my ?hcidump -X -V? has the below info
------------------------------------------------------
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
> HCI Event: Connect Complete (0x03) plen 11
status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
type ACL encrypt 0x00
Error: LMP Response Timeout
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> HCI Event: Command Complete (0x0e) plen 6
Read Voice Setting (0x03|0x0025) ncmd 1
status 0x00 voice setting 0x0060
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
> HCI Event: Connect Complete (0x03) plen 11
status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2C
type ACL encrypt 0x00
Error: LMP Response Timeout
------------------------------------------------------

hcid is running, verified by
------------------------------------------------------
[root@localhost /]# /etc/init.d/bluetooth status
hcid (pid 2743) is running...
sdpd (pid 2745) is running...
------------------------------------------------------

Can you pls help me with this. The same type of pblm
is being discussed on
http://ubuntuforums.org/printthread.php?t=52296&pp=10
Tried but of no use for me.

Regards,
swathi

--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > Few of the information requested by you as well as
> > some of the things which i thought might be
> helpful
> > for debugging.
> >
> >
>
==============================================================
> > hcid daemon is running on my system.
> >
> > [root@localhost /]# /etc/init.d/bluetooth status
> > hcid (pid 2794) is running...
> > sdpd (pid 2798) is running...
> >
>
==============================================================
> > [root@localhost /]# btsco 00:08:C6:3E:54:2C -v -r
> > btsco v0.4c
> > Device is 1:0
> > Error: Failed to connect to SDP server: Function
> not
> > implemented
> > Assuming channel 2
> > Voice setting: 0x0060
> > Can't connect RFCOMM channel: Resource temporarily
> > unavailable
> >
> > What does it mean when it says "Function not
> > implemented" ?
> >
>
==============================================================
> >
> > [root@localhost /]# hcidump -X -V
> > HCI sniffer - Bluetooth packet analyzer ver 1.28
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> > < HCI Command: Create Connection (0x01|0x0005)
> plen 13
> > bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
> 0x01
> > clkoffset 0x0000
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > > HCI Event: Command Status (0x0f) plen 4
> > Create Connection (0x01|0x0005) status 0x00
> ncmd 1
> > > HCI Event: PIN Code Request (0x16) plen 6
> > bdaddr 00:08:C6:3E:54:2C
> > > HCI Event: Connect Complete (0x03) plen 11
> > status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
> > type ACL encrypt 0x00
> > Error: LMP Response Timeout
> > < HCI Command: Read Voice Setting (0x03|0x0025)
> plen 0
> > > HCI Event: Command Complete (0x0e) plen 6
> > Read Voice Setting (0x03|0x0025) ncmd 1
> > status 0x00 voice setting 0x0060
> > < HCI Command: Create Connection (0x01|0x0005)
> plen 13
> > bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
> 0x01
> > clkoffset 0x0000
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > > HCI Event: Command Status (0x0f) plen 4
> > Create Connection (0x01|0x0005) status 0x00
> ncmd 1
> > > HCI Event: PIN Code Request (0x16) plen 6
> > bdaddr 00:08:C6:3E:54:2C
> > > HCI Event: Connect Complete (0x03) plen 11
> > status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2C
> > type ACL encrypt 0x00
> > Error: LMP Response Timeout
> >
>
==============================================================
>
> according to the dump, it is not running. Did you
> start hcid as root,
> because it needs root rights to deal with the
> authentication.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-20 12:02:21

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> Few of the information requested by you as well as
> some of the things which i thought might be helpful
> for debugging.
>
> ==============================================================
> hcid daemon is running on my system.
>
> [root@localhost /]# /etc/init.d/bluetooth status
> hcid (pid 2794) is running...
> sdpd (pid 2798) is running...
> ==============================================================
> [root@localhost /]# btsco 00:08:C6:3E:54:2C -v -r
> btsco v0.4c
> Device is 1:0
> Error: Failed to connect to SDP server: Function not
> implemented
> Assuming channel 2
> Voice setting: 0x0060
> Can't connect RFCOMM channel: Resource temporarily
> unavailable
>
> What does it mean when it says "Function not
> implemented" ?
> ==============================================================
>
> [root@localhost /]# hcidump -X -V
> HCI sniffer - Bluetooth packet analyzer ver 1.28
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
> clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:08:C6:3E:54:2C
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
> type ACL encrypt 0x00
> Error: LMP Response Timeout
> < HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> > HCI Event: Command Complete (0x0e) plen 6
> Read Voice Setting (0x03|0x0025) ncmd 1
> status 0x00 voice setting 0x0060
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
> clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:08:C6:3E:54:2C
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2C
> type ACL encrypt 0x00
> Error: LMP Response Timeout
> ==============================================================

according to the dump, it is not running. Did you start hcid as root,
because it needs root rights to deal with the authentication.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-20 10:08:16

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
Few of the information requested by you as well as
some of the things which i thought might be helpful
for debugging.

==============================================================
hcid daemon is running on my system.

[root@localhost /]# /etc/init.d/bluetooth status
hcid (pid 2794) is running...
sdpd (pid 2798) is running...
==============================================================
[root@localhost /]# btsco 00:08:C6:3E:54:2C -v -r
btsco v0.4c
Device is 1:0
Error: Failed to connect to SDP server: Function not
implemented
Assuming channel 2
Voice setting: 0x0060
Can't connect RFCOMM channel: Resource temporarily
unavailable

What does it mean when it says "Function not
implemented" ?
==============================================================

[root@localhost /]# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
> HCI Event: Connect Complete (0x03) plen 11
status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
type ACL encrypt 0x00
Error: LMP Response Timeout
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> HCI Event: Command Complete (0x0e) plen 6
Read Voice Setting (0x03|0x0025) ncmd 1
status 0x00 voice setting 0x0060
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
> HCI Event: Connect Complete (0x03) plen 11
status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2C
type ACL encrypt 0x00
Error: LMP Response Timeout
==============================================================

/var/log/message has this info when i executed the ?
btsco 00:08:C6:3E:54:2C -v -r ?
Dec 20 17:29:18 localhost hcid[3144]: Bluetooth HCI
daemon
Dec 20 17:29:18 localhost hcid[3144]: Starting
security manager 0
Dec 20 17:29:18 localhost sdpd[3148]: sdpd v1.5
started
==============================================================

I think my adapter supports Audio transfer, based on
the below information. Am i correct ?
[root@localhost /]# hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:10:60:A5:A7:61 ACL MTU: 192:8
SCO MTU: 64:8
HCI 16.4
Chip version: BlueCore02-External
Max key size: 56 bit
SCO mapping: HCI
==============================================================

[root@localhost /]# sdptool browse
Inquiring ...
Failed to connect to SDP server on 00:08:C6:3E:54:2C:
Function not implemented

....?i am able to browse the other devices for the
services offered by them. But for Headset i get the
above message?.
==============================================================

my /etc/bluetooth/hcid.conf has the below information
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.7 2004/12/13 14:16:03 holtmann
Exp $
#

# HCId options
options {
# Automatically initialize new devices
autoinit yes;

# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming
connections
# user - Always ask user for a PIN
#
security auto;

# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired
devices
# once - Pair once and deny successive
attempts
pairing multi;

# PIN helper
pin_helper /etc/bluetooth/feed-pin.sh;

# D-Bus PIN helper
#dbus_pin_helper;
}

# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";

# Local device class
class 0x120104;

# Default packet type
#pkt_type DH1,DM1,HV1;

# Inquiry and Page scan
iscan enable; pscan enable;

# Default link mode
# none - no specific policy
# accept - always accept incoming
connections
# master - become master on incoming
connections,
# deny role switch on outgoing
connections
lm accept;

# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;

# Authentication and Encryption (Security Mode
3)
#auth disable;
#encrypt disable;
# auth enable;
#encrypt enable;
}

=====================================================================
my /etc/bluetooth/feed-in.sh has the below info
#!/bin/sh
echo "PIN:0000"
======================================================================
Can you pls help me in getting the audio into my
headset.

Warm Regards,
Swathi

--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > As a root if i type in hcid. It doesn't give any
> > error. This means hcid is running.
>
> run "ps x" and look for a hcid process.
>
> > I am unable to find
> > syslog under /var/log directory. I am running
> Fedora
> > core 4. Some of the syslog listed by sylog are as
> > below. Can you pls help to find which syslog file
> i
> > am supposed to check.
> >
> > ====================================
> > /etc/logrotate.d/syslog
> > /etc/syslog.conf
> > /etc/sysconfig/syslog
> > /etc/rc.d/init.d/syslog
> > /usr/lib/perl5/5.8.6/syslog.pl
> >
>
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/syslog.ph
> >
>
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/sys/syslog.ph
> > /root/install.log.syslog
> > /var/lock/subsys/syslog
> > /var/log/anaconda.syslog
> > ====================================
>
> Then it is maybe /var/log/messages.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 13:39:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> As a root if i type in hcid. It doesn't give any
> error. This means hcid is running.

run "ps x" and look for a hcid process.

> I am unable to find
> syslog under /var/log directory. I am running Fedora
> core 4. Some of the syslog listed by sylog are as
> below. Can you pls help to find which syslog file i
> am supposed to check.
>
> ====================================
> /etc/logrotate.d/syslog
> /etc/syslog.conf
> /etc/sysconfig/syslog
> /etc/rc.d/init.d/syslog
> /usr/lib/perl5/5.8.6/syslog.pl
> /usr/lib/perl5/5.8.6/i386-linux-thread-multi/syslog.ph
> /usr/lib/perl5/5.8.6/i386-linux-thread-multi/sys/syslog.ph
> /root/install.log.syslog
> /var/lock/subsys/syslog
> /var/log/anaconda.syslog
> ====================================

Then it is maybe /var/log/messages.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 13:03:55

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
As a root if i type in hcid. It doesn't give any
error. This means hcid is running. I am unable to find
syslog under /var/log directory. I am running Fedora
core 4. Some of the syslog listed by sylog are as
below. Can you pls help to find which syslog file i
am supposed to check.

====================================
/etc/logrotate.d/syslog
/etc/syslog.conf
/etc/sysconfig/syslog
/etc/rc.d/init.d/syslog
/usr/lib/perl5/5.8.6/syslog.pl
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/syslog.ph
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/sys/syslog.ph
/root/install.log.syslog
/var/lock/subsys/syslog
/var/log/anaconda.syslog
====================================

Warm Regards,
Swathi


--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > How to i make sure hcid is running ?
>
> this depends on your distribution, but you can also
> start by hand as
> root.
>
> > And which syslog
> > should i check ie the path of syslog ?
>
> It is /var/log/syslog as on almost every Unix
> operating system.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 12:45:57

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> How to i make sure hcid is running ?

this depends on your distribution, but you can also start by hand as
root.

> And which syslog
> should i check ie the path of syslog ?

It is /var/log/syslog as on almost every Unix operating system.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 12:32:58

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
How to i make sure hcid is running ? And which syslog
should i check ie the path of syslog ?
Regards,
Swathi

--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > My headset is in the pairing mode. Now i am
> getting a
> > different set of message for the hcitool info. I
> tried
> > executing this command many times. But still get
> the
> > same message(below one). I no more get the
> previous
> > msg which contained BD address and the Device
> name.
> >
> > Output obtained are as below
> >
> > hcitool info 00:08:C6:3E:54:2C
> >
>
========================================================
> > Requesting information ...
> > Can't create connection: Connection timed out
> >
>
========================================================
> >
> > hcidump -X -V
> >
>
========================================================
> > HCI sniffer - Bluetooth packet analyzer ver 1.28
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> > < HCI Command: Create Connection (0x01|0x0005)
> plen 13
> > bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
> 0x01
> > clkoffset 0x0000
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > > HCI Event: Command Status (0x0f) plen 4
> > Create Connection (0x01|0x0005) status 0x00
> ncmd 1
> > > HCI Event: PIN Code Request (0x16) plen 6
> > bdaddr 00:08:C6:3E:54:2C
> > > HCI Event: Connect Complete (0x03) plen 11
> > status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
> > type ACL encrypt 0x00
> > Error: LMP Response Timeout
> >
>
=======================================================
>
> make sure that hcid is running. Check the syslog for
> output about the
> PIN helper if it still fails.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 12:05:04

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> My headset is in the pairing mode. Now i am getting a
> different set of message for the hcitool info. I tried
> executing this command many times. But still get the
> same message(below one). I no more get the previous
> msg which contained BD address and the Device name.
>
> Output obtained are as below
>
> hcitool info 00:08:C6:3E:54:2C
> ========================================================
> Requesting information ...
> Can't create connection: Connection timed out
> ========================================================
>
> hcidump -X -V
> ========================================================
> HCI sniffer - Bluetooth packet analyzer ver 1.28
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
> clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:08:C6:3E:54:2C
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
> type ACL encrypt 0x00
> Error: LMP Response Timeout
> =======================================================

make sure that hcid is running. Check the syslog for output about the
PIN helper if it still fails.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 12:00:21

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,

My headset is in the pairing mode. Now i am getting a
different set of message for the hcitool info. I tried
executing this command many times. But still get the
same message(below one). I no more get the previous
msg which contained BD address and the Device name.

Output obtained are as below

hcitool info 00:08:C6:3E:54:2C
========================================================
Requesting information ...
Can't create connection: Connection timed out
========================================================

hcidump -X -V
========================================================
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
> HCI Event: Connect Complete (0x03) plen 11
status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
type ACL encrypt 0x00
Error: LMP Response Timeout
=======================================================

Regards,
Swathi



--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > The output of "hcitool info 00:08:C6:3E:54:2C" (BT
> > address of the headset)
> >
>
========================================================
> > Requesting information ...
> > BD Address: 00:08:C6:3E:54:2C
> > Device Name: Nokia HS-11W
> >
>
======================================================
>
> run "hcidump -X -V" while doing this and make sure
> that the headset is
> in pairing mode.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 11:43:54

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> The output of "hcitool info 00:08:C6:3E:54:2C" (BT
> address of the headset)
> ========================================================
> Requesting information ...
> BD Address: 00:08:C6:3E:54:2C
> Device Name: Nokia HS-11W
> ======================================================

run "hcidump -X -V" while doing this and make sure that the headset is
in pairing mode.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 11:41:33

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,

The output of "hcitool info 00:08:C6:3E:54:2C" (BT
address of the headset)
========================================================
Requesting information ...
BD Address: 00:08:C6:3E:54:2C
Device Name: Nokia HS-11W
======================================================

Regards,
Swathi

--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > The output of "hciconfig -a"
> >
>
============================================================
> > hci0: Type: USB
> > BD Address: 00:10:60:A5:A7:61 ACL MTU:
> 192:8
> > SCO MTU: 64:8
> > UP RUNNING PSCAN ISCAN
> > RX bytes:9711 acl:224 sco:0 events:186
> > errors:0
> > TX bytes:1968 acl:57 sco:0 commands:68
> > errors:0
> > Features: 0xff 0xff 0x0f 0x00 0x00 0x00
> 0x00
> > 0x00
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1
> HV2
> > HV3
> > Link policy: RSWITCH HOLD SNIFF PARK
> > Link mode: SLAVE ACCEPT
> > Name: 'localhost.localdomain-0'
> > Class: 0x000000
> > Service Classes: Unspecified
> > Device Class: Miscellaneous,
> > HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver:
> 1.1
> > (0x1) LMP Subver: 0x20d
> > Manufacturer: Cambridge Silicon Radio (10)
> >
>
============================================================
> >
> > The output of "hcitool info 00:10:60:A5:A7:61" (BT
> > address of the headset)
> >
>
========================================================
> > Requesting information ...
> > Can't create connection: Connection timed out
> >
>
========================================================
>
> according to your hciconfig output, this is your
> local address and not
> the address of the headset. Use the headset address.
>
> > The version of bluez-utils is "2.23" and hcidumps
> is
> > "1.28". This info i got when i downloaded the
> packages
> > from the bluez.org website.
>
> These are fine.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 11:07:44

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> The output of "hciconfig -a"
> ============================================================
> hci0: Type: USB
> BD Address: 00:10:60:A5:A7:61 ACL MTU: 192:8
> SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:9711 acl:224 sco:0 events:186
> errors:0
> TX bytes:1968 acl:57 sco:0 commands:68
> errors:0
> Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00
> 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
> HV3
> Link policy: RSWITCH HOLD SNIFF PARK
> Link mode: SLAVE ACCEPT
> Name: 'localhost.localdomain-0'
> Class: 0x000000
> Service Classes: Unspecified
> Device Class: Miscellaneous,
> HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1
> (0x1) LMP Subver: 0x20d
> Manufacturer: Cambridge Silicon Radio (10)
> ============================================================
>
> The output of "hcitool info 00:10:60:A5:A7:61" (BT
> address of the headset)
> ========================================================
> Requesting information ...
> Can't create connection: Connection timed out
> ========================================================

according to your hciconfig output, this is your local address and not
the address of the headset. Use the headset address.

> The version of bluez-utils is "2.23" and hcidumps is
> "1.28". This info i got when i downloaded the packages
> from the bluez.org website.

These are fine.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 10:42:50

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
The output of "hciconfig -a"
============================================================
hci0: Type: USB
BD Address: 00:10:60:A5:A7:61 ACL MTU: 192:8
SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:9711 acl:224 sco:0 events:186
errors:0
TX bytes:1968 acl:57 sco:0 commands:68
errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00
0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'localhost.localdomain-0'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1
(0x1) LMP Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)
============================================================

The output of "hcitool info 00:10:60:A5:A7:61" (BT
address of the headset)
========================================================
Requesting information ...
Can't create connection: Connection timed out
========================================================

The version of bluez-utils is "2.23" and hcidumps is
"1.28". This info i got when i downloaded the packages
from the bluez.org website.

Regards,
Swathi



--- Marcel Holtmann <[email protected]> wrote:

> Hi Swathi,
>
> > As per your request i have attached the "hcidump
> -X -V" output when i
> > execute the command "btsco 00:08:C6:3E:54:2C 2"
> >
> > output of hcidump -X -V
> >
>
=====================================================
> > HCI sniffer - Bluetooth packet analyzer ver 1.18
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> > < HCI Command: Read Voice Setting (0x03|0x0025)
> plen 0
> > > HCI Event: Command Complete (0x0e) plen 6
> > Read Voice Setting (0x03|0x0025) ncmd 1
> > status 0x00 voice setting 0x0060
> > < HCI Command: Create Connection (0x01|0x0005)
> plen 13
> > bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01
> clkoffset 0x0000
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > > HCI Event: Command Status (0x0f) plen 4
> > Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > > HCI Event: PIN Code Request (0x16) plen 6
> > bdaddr 00:08:C6:3E:54:2C
> > > HCI Event: Connect Complete (0x03) plen 11
> > status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C
> type ACL encrypt 0x00
> > E rror: LMP Error Transaction Collision
> >
>
=====================================================
> >
> > I hope i will be able to get a solution for this.
>
> what does "hciconfig -a" and "hcitool info ..." say?
> What version of
> bluez-utils and bluez-hcidump do you use?
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 10:00:17

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> As per your request i have attached the "hcidump -X -V" output when i
> execute the command "btsco 00:08:C6:3E:54:2C 2"
>
> output of hcidump -X -V
> =====================================================
> HCI sniffer - Bluetooth packet analyzer ver 1.18
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> > HCI Event: Command Complete (0x0e) plen 6
> Read Voice Setting (0x03|0x0025) ncmd 1
> status 0x00 voice setting 0x0060
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:08:C6:3E:54:2C
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C type ACL encrypt 0x00
> E rror: LMP Error Transaction Collision
> =====================================================
>
> I hope i will be able to get a solution for this.

what does "hciconfig -a" and "hcitool info ..." say? What version of
bluez-utils and bluez-hcidump do you use?

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-12-19 09:44:42

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
As per your request i have attached the "hcidump -X -V" output when i execute the command "btsco 00:08:C6:3E:54:2C 2"

output of hcidump -X -V
=====================================================
HCI sniffer - Bluetooth packet analyzer ver 1.18
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> HCI Event: Command Complete (0x0e) plen 6
Read Voice Setting (0x03|0x0025) ncmd 1
status 0x00 voice setting 0x0060
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
> HCI Event: Connect Complete (0x03) plen 11
status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2C type ACL encrypt 0x00
Error: LMP Error Transaction Collision
=====================================================

I hope i will be able to get a solution for this.
Regards,
Swathi







Marcel Holtmann <[email protected]> wrote: Hi Swathi,

> When i try to pair my PC with the nokia headset-hs 11w, ie when i
> execute the below command
> btsco 00:08:C6:3E:54:2C 1
> i get the below error. Can somebody point what might have went wrong ?
> Can't connect RFCOMM channel: Resource temporarily unavailable

show us the output of "hcidump -X -V" for this problem.

Regards

Marcel





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

2005-12-19 08:54:55

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hi Swathi,

> When i try to pair my PC with the nokia headset-hs 11w, ie when i
> execute the below command
> btsco 00:08:C6:3E:54:2C 1
> i get the below error. Can somebody point what might have went wrong ?
> Can't connect RFCOMM channel: Resource temporarily unavailable

show us the output of "hcidump -X -V" for this problem.

Regards

Marcel





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-01-09 10:46:57

by Swathi Mathur80

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect RFCOMM channel: Resource temporarily unavailable

Hello Marcel,
Good news is that i am able to successfully transfer
the audio files from my pc onto my headset.
I would like to thank Mr. Marcel for helping me to fix
the problem.
The solution to the error which i faced
-------------------------------------------
Because of the SELinux security policies, Bluetooth
demon's might not me able to access certain
configuration file. Hence, they might not start.
Completely disable the security in SELinux which is
done by editing/launching the SELinux menu by "running
system-config-securitylevel"
In this menu under the SELinux tab.
uncheck "Enabled (modfn requires reboot)" option
aswell as uncheck "enforcing current: disabled"
Under the Firewall Options
security level option set to Disable firewall.
---------------------------------------------

Reboot the system and you won't get the error

Thank you once again Mr. Marcel for replying to all my
queries.

Warm Regards,
Swathi






--- Marcel Holtmann <[email protected]> wrote:

> HI Swathi,
>
> > Yes, i am running btsco module on Fedora Core 4.
> What
> > do you mean by your statement "if nothing else
> works
> > try to switch it off".
>
> I am talking about SELinux. Use Google for more
> information about it,
> because this is not the topic of this mailing list.
>
> Regards
>
> Marcel
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bluez-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>




__________________________________________
Yahoo! DSL ? Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users