Skip to contentSkip to conversation

Some BT problems connecting between Ipaq and USB dongle

Bluez-users wim delvaux 2 participants 5 messages Aug 5, 2004 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Am I having problems setting up a bluetooth connection between my Ipaq 3870 Fam 0.7.2 and my debian sid desktop.

I tried

clean reboot.

	Server runs pand --listen --role NAP

client

	pand --search --cache --persist

RESULT

I do see a bluepin dialog on my desktop, I see the PIN code being sent but then I get as result

Quoted 1 line

HCI Event: PIN Code Request(0x16) plen 6

. . . . . .

Quoted 1 line

HCI Event: Connect Complete(0x03) plen 11

. ) . . . . . . . . .
< HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23
. . . . . . . 1 2 3 4 . . . . . . . . .
. . .

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 10

. . . . . . . . . .

Quoted 1 line

HCI Event: Connect Request(0x04) plen 10

. . . . . . . . . .
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
. . . . . . .

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

. . . .

the PIN code is correct.
Normally should also get a dialog box on the Ipaq for the same PIN code

I tried also running sdptool

Then I also get the PIN code dialog box but with following sequence and output of command

OUTPUT
Inquiring ...
Failed to connect to SDP server on 00:60:57:35:81:B6: Permission denied Failed to connect to SDP server on 00:60:57:02:71:A2: Permission denied

DUMP

Quoted 1 line

HCI Event: Connect Request(0x04) plen 10

. . . . . . . . . .
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
. . . . . . .

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

. . . .

Quoted 1 line

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

. . . . . .
< HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6
. . . . . .

Quoted 1 line

HCI Event: Role Change(0x12) plen 8

. . . . . . . .

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 10

. . . . . . . . . .

Quoted 1 line

HCI Event: PIN Code Request(0x16) plen 6

. . . . . .

Quoted 1 line

HCI Event: Connect Complete(0x03) plen 11

. ( . . . . . . . . .
< HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23
. . . . . . . 1 2 3 4 . . . . . . . . .
. . .

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 10

. . . . . . . . . .

or RAW

Quoted 1 line

04 04 0A 96 85 0D C7 02 00 12 01 12 01

< 01 09 04 07 96 85 0D C7 02 00 00

Quoted 2 lines

04 0F 04 00 01 09 04
04 17 06 96 85 0D C7 02 00

< 01 0C 04 06 96 85 0D C7 02 00

Quoted 4 lines

04 12 08 00 96 85 0D C7 02 00 00
04 0E 0A 01 0C 04 00 96 85 0D C7 02 00 04 16 06 96 85 0D C7 02 00
04 03 0B 18 28 00 96 85 0D C7 02 00 01 00

< 01 0D 04 17 96 85 0D C7 02 00 04 31 32 33 34 00 00 00 00 00
00 00 00 00 00 00 00

Quoted 1 line

04 0E 0A 01 0D 04 02 96 85 0D C7 02 00

hcitool properly scans the devices.

pinging yiels (with dialog )

~ # l2ping 00:60:57:02:71:A2
Can't connect.: Permission denied

HELP !

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Wim,

Quoted 85 lines

Am I having problems setting up a bluetooth connection between my Ipaq 3870 Fam 0.7.2 and my debian sid desktop.

I tried

clean reboot.

	Server runs pand --listen --role NAP

client

	pand --search --cache --persist

RESULT

I do see a bluepin dialog on my desktop, I see the PIN code being sent but then I get as result

Quoted 1 line

HCI Event: PIN Code Request(0x16) plen 6

. . . . . .

Quoted 1 line

HCI Event: Connect Complete(0x03) plen 11

. ) . . . . . . . . .
< HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23
. . . . . . . 1 2 3 4 . . . . . . . . .
. . .

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 10

. . . . . . . . . .

Quoted 1 line

HCI Event: Connect Request(0x04) plen 10

. . . . . . . . . .
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
. . . . . . .

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

. . . .

the PIN code is correct.
Normally should also get a dialog box on the Ipaq for the same PIN code

I tried also running sdptool

Then I also get the PIN code dialog box but with following sequence and output of command

OUTPUT
Inquiring ...
Failed to connect to SDP server on 00:60:57:35:81:B6: Permission denied Failed to connect to SDP server on 00:60:57:02:71:A2: Permission denied

DUMP

Quoted 1 line

HCI Event: Connect Request(0x04) plen 10

. . . . . . . . . .
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
. . . . . . .

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

. . . .

Quoted 1 line

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

. . . . . .
< HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6
. . . . . .

Quoted 1 line

HCI Event: Role Change(0x12) plen 8

. . . . . . . .

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 10

. . . . . . . . . .

Quoted 1 line

HCI Event: PIN Code Request(0x16) plen 6

. . . . . .

Quoted 1 line

HCI Event: Connect Complete(0x03) plen 11

. ( . . . . . . . . .
< HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23
. . . . . . . 1 2 3 4 . . . . . . . . .
. . .

Quoted 1 line

HCI Event: Command Complete(0x0e) plen 10

. . . . . . . . . .

or RAW

Quoted 1 line

04 04 0A 96 85 0D C7 02 00 12 01 12 01

< 01 09 04 07 96 85 0D C7 02 00 00

Quoted 2 lines

04 0F 04 00 01 09 04
04 17 06 96 85 0D C7 02 00

< 01 0C 04 06 96 85 0D C7 02 00

Quoted 4 lines

04 12 08 00 96 85 0D C7 02 00 00
04 0E 0A 01 0C 04 00 96 85 0D C7 02 00 04 16 06 96 85 0D C7 02 00
04 03 0B 18 28 00 96 85 0D C7 02 00 01 00

< 01 0D 04 17 96 85 0D C7 02 00 04 31 32 33 34 00 00 00 00 00
00 00 00 00 00 00 00

Quoted 8 lines
Quoted 1 line

04 0E 0A 01 0D 04 02 96 85 0D C7 02 00

hcitool properly scans the devices.

pinging yiels (with dialog )

~ # l2ping 00:60:57:02:71:A2
Can't connect.: Permission denied

looks like one of your devices is in security mode 3. It is not a good idea to use this security mode.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

BTW,

I have this acer bt500 that from time to time does not 'accept addresses'.

Is there any way to fix this problem (running 2.6.7-rc3 of kernel) is there a better USB dongle that does not have this problem

W

maintainer
#3 lore raw

Hi Wim,

Quoted 4 lines

I have this acer bt500 that from time to time does not 'accept addresses'.

Is there any way to fix this problem (running 2.6.7-rc3 of kernel) is there a better USB dongle that does not have this problem

we know, but you are asking the wrong guys. This is a USB related problem and the USB guys must workaround it.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

maintainer
#5 lore raw

Hi Wim,

Quoted 4 lines
Quoted 2 lines

looks like one of your devices is in security mode 3. It is not a good idea to use this security mode.

Donno ... where could I have set this up ?

look at the line with "auth enable". This is security mode 3. Leave it disabled and let the PAN server trigger auth if you need it.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users