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
Marcel Holtmann
maintainerHi Swathi,
Quoted 5 lines
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
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
Quoted 1 line
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
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
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,
Quoted 5 lines
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 16 lines
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: hci0snap_len: 1028 filter:0xffffffff< HCI Command: Read Voice Setting (0x03|0x0025) plen 0Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6Read Voice Setting (0x03|0x0025) ncmd 1
status0x00voice setting0x0060
< HCI Command: Create Connection (0x01|0x0005) plen 13 bdaddr 00:08:C6:3E:54:2C ptype0xcc18rswitch0x01clkoffset0x0000Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status
0x00ncmd 1
Quoted 8 lines
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status
0x22handle 41 bdaddr 00:08:C6:3E:54:2C type ACL encrypt0x00E 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
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 0x000x00
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
Quoted 9 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 1 line
As per your request i have attached the "hcidump
-X -V" output when i
Quoted 4 lines
execute the command "btsco 00:08:C6:3E:54:2C 2"
output of hcidump -X -V
=====================================================
Quoted 11 lines
Quoted 3 lines
HCI sniffer - Bluetooth packet analyzer ver 1.18
device: hci0snap_len: 1028 filter:0xffffffff
< HCI Command: Read Voice Setting (0x03|0x0025)plen 0
Quoted 4 lines
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6Read Voice Setting (0x03|0x0025) ncmd 1
status0x00voice setting0x0060
< HCI Command: Create Connection (0x01|0x0005)plen 13
Quoted 1 line
bdaddr 00:08:C6:3E:54:2C ptype
0xcc18rswitch0x01clkoffset
0x0000
Quoted 11 lines
Quoted 7 lines
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status
0x00ncmd 1Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status
0x22handle 41 bdaddr 00:08:C6:3E:54:2Ctype ACL encrypt
0x00Quoted 2 lines
E rror: LMP Error Transaction Collision
=====================================================
Quoted 15 lines
Quoted 2 lines
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
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________________
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 25 lines
The output of "hciconfig -a"
============================================================
hci0: Type: USBBD Address: 00:10:60:A5:A7:61 ACL MTU: 192:8SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:9711 acl:224 sco:0 events:186
errors:0TX 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:0x20dLMP Ver: 1.1
(0x1) LMP Subver:0x20d
Manufacturer: Cambridge Silicon Radio (10)
============================================================
Quoted 6 lines
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.
Quoted 3 lines
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
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
Quoted 5 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 2 lines
The output of "hciconfig -a"
============================================================
Quoted 22 lines
Quoted 2 lines
hci0: Type: USB
BD Address: 00:10:60:A5:A7:61 ACL MTU:192:8
Quoted 7 lines
SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:9711 acl:224 sco:0 events:186
errors:0TX bytes:1968 acl:57 sco:0 commands:68 errors:0 Features: 0xff 0xff 0x0f 0x00 0x00 0x00
0x00Quoted 2 lines
0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1HV2
Quoted 8 lines
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:0x20dLMP Ver:
Quoted 5 lines
1.1
Quoted 3 lines
(
0x1) LMP Subver:0x20d
Manufacturer: Cambridge Silicon Radio (10)
============================================================
Quoted 5 lines
Quoted 4 lines
The output of "hcitool info 00:10:60:A5:A7:61" (BT address of the headset)
========================================================
Quoted 4 lines
Quoted 3 lines
Requesting information ...
Can't create connection: Connection timed out
========================================================
Quoted 8 lines
according to your hciconfig output, this is your local address and not
the address of the headset. Use the headset address.Quoted 1 line
The version of bluez-utils is "2.23" and hcidumps
is
Quoted 1 line
"1.28". This info i got when i downloaded the
Quoted 13 lines
packages
Quoted 1 line
from the bluez.org website.
These are fine.
Regards
Marcel
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________________
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 7 lines
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
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
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
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
Quoted 6 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 3 lines
The output of "hcitool info 00:08:C6:3E:54:2C" (BT address of the headset)
========================================================
Quoted 5 lines
Quoted 4 lines
Requesting information ...
BD Address: 00:08:C6:3E:54:2C
Device Name: Nokia HS-11W
======================================================
Quoted 13 lines
run "hcidump -X -V" while doing this and make sure that the headset is
in pairing mode.Regards
Marcel
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________________
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 23 lines
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: hci0snap_len: 1028 filter:0xffffffff< HCI Command: Create Connection (0x01|0x0005) plen 13bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Quoted 8 lines
Create Connection (0x01|0x0005) status 0x00 ncmd 1Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2Ctype 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
Hello Marcel,
How to i make sure hcid is running ? And which syslog should i check ie the path of syslog ? Regards,
Swathi
Quoted 4 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 1 line
My headset is in the pairing mode. Now i am
getting a
Quoted 14 lines
Quoted 1 line
different set of message for the hcitool info. I
tried
Quoted 1 line
executing this command many times. But still get
the
Quoted 1 line
same message(below one). I no more get the
previous
Quoted 1 line
msg which contained BD address and the Device
name.
Quoted 5 lines
Output obtained are as below
hcitool info 00:08:C6:3E:54:2C
========================================================
Quoted 4 lines
Quoted 3 lines
Requesting information ...
Can't create connection: Connection timed out
========================================================
Quoted 4 lines
Quoted 3 lines
hcidump -X -V
========================================================
Quoted 19 lines
Quoted 3 lines
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0snap_len: 1028 filter:0xffffffff
< HCI Command: Create Connection (0x01|0x0005)plen 13
Quoted 1 line
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
0x01Quoted 4 lines
clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status 0x00ncmd 1
Quoted 7 lines
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2Ctype ACL encrypt
0x00
Error: LMP Response Timeout
=======================================================
Quoted 13 lines
make sure that hcid is running. Check the syslog for output about the
PIN helper if it still fails.Regards
Marcel
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________________
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 1 line
How to i make sure hcid is running ?
this depends on your distribution, but you can also start by hand as root.
Quoted 2 lines
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
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
Quoted 11 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 1 line
How to i make sure hcid is running ?
this depends on your distribution, but you can also start by hand as
root.Quoted 2 lines
And which syslog
should i check ie the path of syslog ?
Quoted 11 lines
It is
/var/log/syslogas on almost every Unix operating system.Regards
Marcel
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________________
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 2 lines
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.
Quoted 6 lines
I am unable to find
syslog under/var/logdirectory. 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.
Quoted 12 lines
====================================
/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
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
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
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
Quoted 1 line
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 0x01clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
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
Quoted 5 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 2 lines
As a root if i type in hcid. It doesn't give any error. This means hcid is running.
Quoted 18 lines
run "ps x" and look for a hcid process.
Quoted 2 lines
I am unable to find
syslog under/var/logdirectory. I am runningFedora
Quoted 2 lines
core 4. Some of the syslog listed by sylog are as below. Can you pls help to find which syslog file
i
Quoted 9 lines
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
Quoted 2 lines
Quoted 1 line
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/sys/syslog.ph
Quoted 5 lines
Quoted 4 lines
/root/install.log.syslog/var/lock/subsys/syslog/var/log/anaconda.syslog
====================================
Quoted 10 lines
Then it is maybe
/var/log/messages.Regards
Marcel
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________________
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 49 lines
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/bluetoothstatus 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 unavailableWhat does it mean when it says "Function not implemented" ?
==============================================================[root@localhost /]# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0snap_len: 1028 filter:0xffffffff< HCI Command: Create Connection (0x01|0x0005) plen 13bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status 0x00 ncmd 1Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2Ctype ACL encrypt
0x00
Error: LMP Response Timeout
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6Read 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 0x01clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Quoted 8 lines
Create Connection (0x01|0x0005) status 0x00 ncmd 1Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2Ctype 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
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
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
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
Quoted 1 line
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 0x01clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
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
Quoted 9 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 2 lines
Few of the information requested by you as well as some of the things which i thought might be
helpful
Quoted 3 lines
for debugging.
==============================================================
Quoted 7 lines
Quoted 6 lines
hcid daemon is running on my system.
[root@localhost /]#
/etc/init.d/bluetoothstatus hcid (pid 2794) is running...
sdpd (pid 2798) is running...
==============================================================
Quoted 4 lines
Quoted 4 lines
[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
Quoted 11 lines
not
Quoted 9 lines
implemented
Assuming channel 2
Voice setting:0x0060
Can't connect RFCOMM channel: Resource temporarily unavailableWhat does it mean when it says "Function not implemented" ?
==============================================================
Quoted 25 lines
Quoted 5 lines
[root@localhost /]# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0snap_len: 1028 filter:0xffffffff< HCI Command: Create Connection (0x01|0x0005)plen 13
Quoted 1 line
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
0x01Quoted 4 lines
clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status 0x00ncmd 1
Quoted 7 lines
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2Ctype ACL encrypt
0x00
Error: LMP Response Timeout
< HCI Command: Read Voice Setting (0x03|0x0025)plen 0
Quoted 4 lines
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6Read Voice Setting (0x03|0x0025) ncmd 1 status 0x00 voice setting 0x0060< HCI Command: Create Connection (0x01|0x0005)
Quoted 16 lines
plen 13
Quoted 1 line
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
0x01Quoted 4 lines
clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status 0x00ncmd 1
Quoted 7 lines
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2Ctype ACL encrypt
0x00
Error: LMP Response Timeout
==============================================================
Quoted 14 lines
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
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________________
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 34 lines
I have installed all the bluez-packages and
bt_scomodule 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 ifi check the status of hcid it was showing as stopped. (below output)
------------------------------------------------------
[root@localhost /]#/etc/init.d/bluetoothstatus 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/bluetoothrestart 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/bluetoothrestart Stopping Bluetooth services:
[ OK ]
Starting Bluetooth services:
[ OK ]
------------------------------------------------------
Quoted 6 lines
cross checking the BT status again
------------------------------------------------------
[root@localhost /]#/etc/init.d/bluetoothstatus 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
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
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
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
Quoted 1 line
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 0x01clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
bdaddr 00:08:C6:3E:54:2C
Quoted 1 line
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 0x000x00
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
Quoted 4 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 2 lines
I have installed all the bluez-packages and
bt_scomodule as a root. All the commands which are
Quoted 11 lines
trying to
Quoted 2 lines
establish a connection to my headset are being executed as a root. I login with root privilages
and
Quoted 3 lines
at this point if
i check the status of hcid it was showing as
stopped.
Quoted 2 lines
(below output)
------------------------------------------------------
Quoted 5 lines
Quoted 4 lines
[root@localhost /]#
/etc/init.d/bluetoothstatus hcid is stopped
sdpd (pid 1725) is running...
------------------------------------------------------
Quoted 6 lines
Quoted 2 lines
So i restarted the bluetooth and for the first
time i
Quoted 2 lines
got the below msg
------------------------------------------------------
Quoted 9 lines
Quoted 8 lines
[root@localhost /]#
/etc/init.d/bluetoothrestart Stopping Bluetooth services:[FAILED]
Starting Bluetooth services:[ OK ]
------------------------------------------------------
Quoted 6 lines
Quoted 2 lines
For the second time, i was able to successfully
stop
Quoted 2 lines
and start BT services
------------------------------------------------------
Quoted 9 lines
Quoted 8 lines
[root@localhost /]#
/etc/init.d/bluetoothrestart Stopping Bluetooth services:[ OK ]
Starting Bluetooth services:[ OK ]
------------------------------------------------------
Quoted 4 lines
Quoted 3 lines
cross checking the BT status again
------------------------------------------------------
Quoted 5 lines
Quoted 4 lines
[root@localhost /]#
/etc/init.d/bluetoothstatus hcid (pid 2743) is running...
sdpd (pid 2745) is running...
------------------------------------------------------
Quoted 7 lines
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".
Quoted 8 lines
Regards
Marcel
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________________
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
Marcel Holtmann
maintainerHi Swathi,
Quoted 2 lines
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
Quoted 64 lines
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/bluetoothstatus
hcid is stopped
sdpd (pid 1729) is running...
[root@localhost bluetooth]#/etc/init.d/bluetoothrestart
Stopping Bluetooth services: =20
[FAILED]
Starting Bluetooth services: =20
[ OK ]
[root@localhost bluetooth]#/etc/init.d/bluetoothrestart
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 13bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch 0x01clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status 0x00 ncmd 1Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2Ctype ACL encrypt
0x00
Error: LMP Response Timeout
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6Read 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 0x01clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
Quoted 8 lines
Create Connection (0x01|0x0005) status 0x00 ncmd 1Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2Ctype 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.
Quoted 9 lines
-------------------------------------------------------
[root@localhost mail]#/etc/init.d/bluetoothstatus hcid (pid 3136) is running...
sdpd (pid 3140) is running...
-------------------------------------------------------
output of =E2=80=9Cps x=E2=80=9D2714 ? 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
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
Quoted 4 lines · --- Marcel Holtmann
Hi Swathi,
Quoted 2 lines
As per your request i have pasted the result of “hciconfig -a� and “hcidump -X -V�. Along
Quoted 11 lines
with it
Quoted 1 line
someother information which i thought might be
helpful
Quoted 3 lines
in debugging.
When i first started my pc if found that hcid
demon
Quoted 3 lines
was not running. So i re-started the bluetooth services and made the hcid to run
-------------------------------------------------------
Quoted 16 lines
Quoted 15 lines
[root@localhost bluetooth]#
/etc/init.d/bluetoothstatus
hcid is stopped
sdpd (pid 1729) is running... [root@localhost bluetooth]#/etc/init.d/bluetoothrestart
Stopping Bluetooth services:[FAILED]
Starting Bluetooth services:[ OK ]
[root@localhost bluetooth]#/etc/init.d/bluetoothrestart
Stopping Bluetooth services:
Quoted 6 lines
Quoted 5 lines
[ OK ]
Starting Bluetooth services:[ OK ]
-------------------------------------------------------
Quoted 7 lines
Quoted 2 lines
The headset is being put in the pairing mode.
Hcidump
Quoted 3 lines
-X -V is running in the background. I execute the btsco command
-------------------------------------------------------
Quoted 4 lines
Quoted 4 lines
[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
Quoted 9 lines
not
Quoted 7 lines
implemented
Assuming channel 2Voice setting:
0x0060
Can't connect RFCOMM channel: Resource temporarily unavailable
-------------------------------------------------------
Quoted 4 lines
Quoted 3 lines
output of hcidump -X -V is as below
-------------------------------------------------------
Quoted 21 lines
Quoted 1 line
< HCI Command: Create Connection (0x01|0x0005)
plen 13
Quoted 1 line
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
0x01Quoted 4 lines
clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status 0x00ncmd 1
Quoted 7 lines
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 41 bdaddr 00:08:C6:3E:54:2Ctype ACL encrypt
0x00
Error: LMP Response Timeout
< HCI Command: Read Voice Setting (0x03|0x0025)plen 0
Quoted 4 lines
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6Read Voice Setting (0x03|0x0025) ncmd 1 status 0x00 voice setting 0x0060< HCI Command: Create Connection (0x01|0x0005)
Quoted 16 lines
plen 13
Quoted 1 line
bdaddr 00:08:C6:3E:54:2C ptype 0xcc18 rswitch
0x01Quoted 4 lines
clkoffset
0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4Create Connection (0x01|0x0005) status 0x00ncmd 1
Quoted 7 lines
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6bdaddr 00:08:C6:3E:54:2CQuoted 1 line
HCI Event: Connect Complete (
0x03) plen 11status 0x22 handle 42 bdaddr 00:08:C6:3E:54:2Ctype ACL encrypt
0x00
Error: LMP Response Timeout
-------------------------------------------------------
Quoted 7 lines
run the next one with "hcidump -X -V -t" to get the timestamps, but I am
quite sure that the hcid is not running.Quoted 1 line
-------------------------------------------------------
Quoted 6 lines
Quoted 1 line
[root@localhost mail]#
/etc/init.d/bluetoothstatus
Quoted 3 lines
hcid (pid 3136) is running...
sdpd (pid 3140) is running...
-------------------------------------------------------
Quoted 5 lines
Quoted 4 lines
output of “ps x�
2714 ? Ss 0:00 hcid: processing events 2716 ? Ss 0:00 sdpd
-------------------------------------------------------
Quoted 13 lines
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/messagesfor 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.
Quoted 8 lines
Regards
Marcel
-------------------------------------------------------
Quoted 11 lines
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
Quoted 1 line
__________________________________
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
Marcel Holtmann
maintainerHI Swathi,
Quoted 3 lines
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
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
Quoted 8 lines · --- Marcel Holtmann
HI Swathi,
Quoted 1 line
Yes, i am running btsco module on Fedora Core 4.
What
Quoted 1 line
do you mean by your statement "if nothing else
works
Quoted 1 line
try to switch it off".
Quoted 12 lines
I am talking about SELinux. Use Google for more information about it,
because this is not the topic of this mailing list.Regards
Marcel
-------------------------------------------------------
Quoted 7 lines
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
Quoted 4 lines
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 1 line
__________________________________________
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