All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Problem Connecting to Logitech HS01-V14
@ 2005-01-26 11:44 Jürgen Schindele
  2005-01-30 21:02 ` Marcel Holtmann
  2005-04-30  7:10 ` [Bluez-users] RFCOMM connecting problem 邓志祥
  0 siblings, 2 replies; 6+ messages in thread
From: Jürgen Schindele @ 2005-01-26 11:44 UTC (permalink / raw)
  To: bluez-users

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
> HCI Event: Command Status (0x0f) plen 4
  00 01 19 04
> 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
> HCI Event: Command Status (0x0f) plen 4
  00 01 05 04
> 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
> HCI Event: Command Complete (0x0e) plen 10
  01 0B 04 00 B7 E5 02 44 0D 00
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Problem Connecting to Logitech HS01-V14
  2005-01-26 11:44 [Bluez-users] Problem Connecting to Logitech HS01-V14 Jürgen Schindele
@ 2005-01-30 21:02 ` Marcel Holtmann
  2005-01-31 13:50   ` Aw: " jschindele
  2005-04-30  7:10 ` [Bluez-users] RFCOMM connecting problem 邓志祥
  1 sibling, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2005-01-30 21:02 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Juergen,

> 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: 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.

> 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
> > HCI Event: Command Status (0x0f) plen 4
>   00 01 19 04
> > 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
> > HCI Event: Command Status (0x0f) plen 4
>   00 01 05 04
> > 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
> > HCI Event: Command Complete (0x0e) plen 10
>   01 0B 04 00 B7 E5 02 44 0D 00
> > 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Aw: Re: [Bluez-users] Problem Connecting to Logitech HS01-V14
  2005-01-30 21:02 ` Marcel Holtmann
@ 2005-01-31 13:50   ` jschindele
  2005-01-31 14:19     ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: jschindele @ 2005-01-31 13:50 UTC (permalink / raw)
  To: bluez-users

> 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
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: Aw: Re: [Bluez-users] Problem Connecting to Logitech HS01-V14
  2005-01-31 13:50   ` Aw: " jschindele
@ 2005-01-31 14:19     ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-01-31 14:19 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Juergen,

> > 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.
 
> > 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] RFCOMM connecting problem
  2005-01-26 11:44 [Bluez-users] Problem Connecting to Logitech HS01-V14 Jürgen Schindele
  2005-01-30 21:02 ` Marcel Holtmann
@ 2005-04-30  7:10 ` 邓志祥
  2005-04-30 10:23   ` Marcel Holtmann
  1 sibling, 1 reply; 6+ messages in thread
From: 邓志祥 @ 2005-04-30  7:10 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] RFCOMM connecting problem
  2005-04-30  7:10 ` [Bluez-users] RFCOMM connecting problem 邓志祥
@ 2005-04-30 10:23   ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-04-30 10:23 UTC (permalink / raw)
  To: bluez-users

Hi,

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-04-30 10:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-26 11:44 [Bluez-users] Problem Connecting to Logitech HS01-V14 Jürgen Schindele
2005-01-30 21:02 ` Marcel Holtmann
2005-01-31 13:50   ` Aw: " jschindele
2005-01-31 14:19     ` Marcel Holtmann
2005-04-30  7:10 ` [Bluez-users] RFCOMM connecting problem 邓志祥
2005-04-30 10:23   ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.