Skip to contentSkip to conversation

Problem Connecting to Logitech HS01-V14

Bluez-users Jürgen Schindele 4 participants 6 messages Jan 26, 2005 – Apr 30, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello guys

I try in vain to connect btsco to this new nice headset. It work only once and till the first try it don't work any more

Here the details :

hciconfig -a
hci0: Type: USB

        BD Address: 00:0C:76:48:06:D8 ACL MTU: 192:8  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:7762 acl:0 sco:0 events:325 errors:0
        TX bytes:2930 acl:0 sco:0 commands:188 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: 'BlueZ (0)'
        Class: 0x7e0100
        Service Classes: Networking, Rendering, Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x=

20d
Manufacturer: Cambridge Silicon Radio (10)

After discovering i tried manually to do :
=2D-------------------
hcitool name 00:0D:44:02:E5:B7
Logitech HS01-V14

hcitool cc 00:0D:44:02:E5:B7
Can't create connection: Input/output error

And here the coresponding hcidump -x is :
=2D----------------
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
B7 E5 02 44 0D 00 02 00 00 00

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 19 04

Quoted 1 line

HCI Event: Remote Name Req Complete (0x07) plen 255

00 B7 E5 02 44 0D 00 4C 6F 67 69 74 65 63 68 20 48 53 30 31 2D 56 31 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
< HCI Command: Create Connection (0x01|0x0005) plen 13
B7 E5 02 44 0D 00 18 CC 02 00 00 00 01

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 05 04

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

B7 E5 02 44 0D 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
B7 E5 02 44 0D 00 E4 AC 30 9D 93 2A D5 64 09 2E 0E 2B 4A B1 85 9A

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

01 0B 04 00 B7 E5 02 44 0D 00

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

05 29 00 B7 E5 02 44 0D 00 01 00

Why i'am not even asked for the pin ??
(using "/bin/bluepincat")
What is goning wrong ??

By the way under "windoof" it works ok with pairing and so on.=20

Any help is very welcome
=2D-=20
Gru=DF J=FCrgen

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

#1 lore raw

[Bluez-users] RFCOMM connecting problem

Hello all , when I tried to establish an RFCOMM connection between two bluetooth devices by typing the commands : rfcomm bind 0 <btaddr> 0 ,rfcomm listen 0 0 on one side , it gave the following message : Waiting for connection on channel 0 .However ,on the other side ,when I type the commands : rfcomm bind 0 <btaddr> 0 ,rfcomm connect 0 <remote btaddr> 0 , it gave the message : Can't create RFCOMM socket : invalid argument . What should I do to create the rfcomm connection correctly? Thanks very much .

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

maintainer
#2 lore raw

Re: [Bluez-users] RFCOMM connecting problem

Hi,

Quoted 1 line

when I tried to establish an RFCOMM connection between two bluetooth devices by typing the commands : rfcomm bind 0 <btaddr> 0 ,rfcomm listen 0 0 on one side , it gave the following message : Waiting for connection on channel 0 .However ,on the other side ,when I type the commands : rfcomm bind 0 <btaddr> 0 ,rfcomm connect 0 <remote btaddr> 0 , it gave the message : Can't create RFCOMM socket : invalid argument . What should I do to create the rfcomm connection correctly? Thanks very much .

the RFCOMM channel 0 is not a valid channel.

Regards

Marcel

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

maintainer
#3 lore raw

Hi Juergen,

Quoted 5 lines

I try in vain to connect btsco to this new nice headset. It work only once and till the first try it don't work any more

Here the details :

Quoted 16 lines

hciconfig -a
hci0: Type: USB
BD Address: 00:0C:76:48:06:D8 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN AUTH ENCRYPT
RX bytes:7762 acl:0 sco:0 events:325 errors:0
TX bytes:2930 acl:0 sco:0 commands:188 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: 'BlueZ (0)'
Class: 0x7e0100
Service Classes: Networking, Rendering, Capturing
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)

only use "auth" and "encrypt" (which means security mode 3) when you know what you are doing. It is off by default for a reason.

Quoted 37 lines

After discovering i tried manually to do :
--------------------
hcitool name 00:0D:44:02:E5:B7
Logitech HS01-V14

hcitool cc 00:0D:44:02:E5:B7
Can't create connection: Input/output error

And here the coresponding hcidump -x is :
-----------------
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
B7 E5 02 44 0D 00 02 00 00 00

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 19 04

Quoted 1 line

HCI Event: Remote Name Req Complete (0x07) plen 255

00 B7 E5 02 44 0D 00 4C 6F 67 69 74 65 63 68 20 48 53 30 31 2D 56 31 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
< HCI Command: Create Connection (0x01|0x0005) plen 13
B7 E5 02 44 0D 00 18 CC 02 00 00 00 01

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 05 04

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

B7 E5 02 44 0D 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
B7 E5 02 44 0D 00 E4 AC 30 9D 93 2A D5 64 09 2E 0E 2B 4A B1 85 9A

Quoted 8 lines
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

01 0B 04 00 B7 E5 02 44 0D 00

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

05 29 00 B7 E5 02 44 0D 00 01 00

Why i'am not even asked for the pin ??
(using "/bin/bluepincat")
What is goning wrong ??

You provide a link key, but it seems that the link key is wrong or oudated (if you used it under Windows). The final result is then an authentication error. This can happen with security mode 3.

Regards

Marcel

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

#4 lore raw
Quoted 2 lines

only use "auth" and "encrypt" (which means security mode 3) when you know what you are doing. It is off by default for a reason.

I thought that "auth" is equal with pairing (giving the PIN) =20

Quoted 3 lines

You provide a link key, but it seems that the link key is wrong or oudated (if you used it under Windows). The final result is then an authentication error. This can happen with security mode 3.

=20
How can i generate such a link Key or where i get a new one from ? Can I perhaps reset the device's link key ?

But in all cases thank you very much for your quick answer.

Gru=DF J=FCrgen=20

Arcor-DSL: die echte Flatrate f=FCr alle Bandbreiten. Jetzt ohne Einrichtun= gspreis
einsteigen oder wechseln. Arcor-DSL ist in vielen Anschlussgebieten verf=FC= gbar.
http://www.arcor.de/home/redir.php/emf-dsl-1

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

maintainer
#5 lore raw

Hi Juergen,

Quoted 4 lines
Quoted 2 lines

only use "auth" and "encrypt" (which means security mode 3) when you know what you are doing. It is off by default for a reason.

I thought that "auth" is equal with pairing (giving the PIN)

no it is not. It means that your device will be in security mode 3. Check the manpage of hcid.conf and read the specification.

Quoted 6 lines
Quoted 3 lines

You provide a link key, but it seems that the link key is wrong or oudated (if you used it under Windows). The final result is then an authentication error. This can happen with security mode 3.

How can i generate such a link Key or where i get a new one from ? Can I perhaps reset the device's link key ?

There is no need to. Disable auth and try again.

Regards

Marcel

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