Skip to contentSkip to conversation

hcitool scan while hidd connection..

Bluez-devel Michael Frey 2 participants 9 messages Apr 15, 2005 – Apr 18, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I just upgraded to using 2.15 utils and libs on my system.

Now when I have a hidd connection I can no longer do an hcitool scan.

I was able to with an older version. If I kill the hidd connection I am then able to scan again.

Is this intended behavior?

Michael

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Michael,

Quoted 8 lines

I just upgraded to using 2.15 utils and libs on my system.

Now when I have a hidd connection I can no longer do an hcitool scan.

I was able to with an older version. If I kill the hidd connection I am then able to scan again.

Is this intended behavior?

I don't think so, because this is a chip feature and not a BlueZ feature. What does "hcidump -X -V" says when you try to scan?

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Marcel,

Here is the dump when trying to scan while a dvice is connected.

root@(none):~# hcitool scan
Scanning ...
< HCI Command: Inquiry (0x01|0x0001) plen 5
  0000: 33 8b 9e 08 64                                    3...d
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 07 01 04 ....

Quoted 1 line

HCI Event: Inquiry Complete (0x01) plen 1

0000: 00 .

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 08 00 00 ....

Does this give you any clue?

Michael

Quoted 1 line · Marcel Holtmann

hcidump -X -V

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#3 lore raw

Hi Michael,

Quoted 6 lines

Here is the dump when trying to scan while a dvice is connected.

root@(none):~# hcitool scan
Scanning ...
< HCI Command: Inquiry (0x01|0x0001) plen 5
   0000: 33 8b 9e 08 64                                    3...d
Quoted 8 lines
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 07 01 04 ....

Quoted 1 line

HCI Event: Inquiry Complete (0x01) plen 1

0000: 00 .

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 08 00 00 ....

Does this give you any clue?

install the latest hcidump, because I need the verbose decoding of the HCI commands and events.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw

Marcel,
ok -- new output

root@(none):~# hcitool scan
Scanning ...
< HCI Command: Inquiry (0x01|0x0001) plen 5
    lap 0x9e8b33 len 8 num 100
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Inquiry (0x01|0x0001) status 0x00 ncmd 7
Quoted 1 line

HCI Event: Inquiry Complete (0x01) plen 1

    status 0x00
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Unknown (0x00|0x0000) status 0x00 ncmd 8

root@(none):~#

Michael

Quoted 27 lines · Marcel Holtmann

Hi Michael,

Quoted 6 lines

Here is the dump when trying to scan while a dvice is connected.

root@(none):~# hcitool scan
Scanning ...
< HCI Command: Inquiry (0x01|0x0001) plen 5
   0000: 33 8b 9e 08 64                                    3...d
Quoted 8 lines
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 07 01 04 ....

Quoted 1 line

HCI Event: Inquiry Complete (0x01) plen 1

0000: 00 .

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

0000: 00 08 00 00 ....

Does this give you any clue?

install the latest hcidump, because I need the verbose decoding of the HCI commands and events.

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#5 lore raw

Hi Michael,

Quoted 11 lines
root@(none):~# hcitool scan
Scanning ...
< HCI Command: Inquiry (0x01|0x0001) plen 5
     lap 0x9e8b33 len 8 num 100
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

     Inquiry (0x01|0x0001) status 0x00 ncmd 7
Quoted 1 line

HCI Event: Inquiry Complete (0x01) plen 1

     status 0x00
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

     Unknown (0x00|0x0000) status 0x00 ncmd 8

root@(none):~#

this is weird. What does "hciconfig -a" tells you about your dongle?

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#6 lore raw

Marcel,

hci0: Type: UART

        BD Address: 00:80:37:21:49:71 ACL MTU: 672:8 SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:43024 acl:1533 sco:0 events:835 errors:0
        TX bytes:11573 acl:467 sco:0 commands:103 errors:0
        Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DH1 HV1
        Link policy: HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'Pad2 ((none))'
        Class: 0x000100
        Service Classes: Unspecified
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x8105 LMP Ver: 1.1 (0x1) LMP 

Subver: 0x8d40
Manufacturer: Ericsson Technology Licensing (0)

Michael

Quoted 23 lines · Marcel Holtmann

Hi Michael,

Quoted 11 lines
root@(none):~# hcitool scan
Scanning ...
< HCI Command: Inquiry (0x01|0x0001) plen 5
     lap 0x9e8b33 len 8 num 100
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

     Inquiry (0x01|0x0001) status 0x00 ncmd 7
Quoted 1 line

HCI Event: Inquiry Complete (0x01) plen 1

     status 0x00
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

     Unknown (0x00|0x0000) status 0x00 ncmd 8

root@(none):~#

this is weird. What does "hciconfig -a" tells you about your dongle?

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#7 lore raw

Hi Michael,

Quoted 14 lines

hci0: Type: UART

         BD Address: 00:80:37:21:49:71 ACL MTU: 672:8 SCO MTU: 64:0
         UP RUNNING PSCAN ISCAN
         RX bytes:43024 acl:1533 sco:0 events:835 errors:0
         TX bytes:11573 acl:467 sco:0 commands:103 errors:0
         Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
         Packet type: DM1 DH1 HV1
         Link policy: HOLD SNIFF PARK
         Link mode: SLAVE ACCEPT
         Name: 'Pad2 ((none))'
         Class: 0x000100
         Service Classes: Unspecified
         Device Class: Computer, Uncategorized
         HCI Ver: 1.1 (0x1) HCI Rev: 0x8105 LMP Ver: 1.1 (0x1) LMP 
Quoted 2 lines

Subver: 0x8d40
Manufacturer: Ericsson Technology Licensing (0)

please call "hciconfig hci0 revision" as root. Where is this module connected to? Any reason to not enable all packet types and allow role switch?

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#8 lore raw

Marcel,

Thanks!!! I enabled rswitch and all is well.

My module is connected to a UART device.

Thanks again,

Michael

Quoted 30 lines · Marcel Holtmann

Hi Michael,

Quoted 14 lines

hci0: Type: UART

         BD Address: 00:80:37:21:49:71 ACL MTU: 672:8 SCO MTU: 64:0
         UP RUNNING PSCAN ISCAN
         RX bytes:43024 acl:1533 sco:0 events:835 errors:0
         TX bytes:11573 acl:467 sco:0 commands:103 errors:0
         Features: 0xff 0xfb 0x01 0x00 0x00 0x00 0x00 0x00
         Packet type: DM1 DH1 HV1
         Link policy: HOLD SNIFF PARK
         Link mode: SLAVE ACCEPT
         Name: 'Pad2 ((none))'
         Class: 0x000100
         Service Classes: Unspecified
         Device Class: Computer, Uncategorized
         HCI Ver: 1.1 (0x1) HCI Rev: 0x8105 LMP Ver: 1.1 (0x1) LMP
Quoted 2 lines

Subver: 0x8d40
Manufacturer: Ericsson Technology Licensing (0)

please call "hciconfig hci0 revision" as root. Where is this module connected to? Any reason to not enable all packet types and allow role switch?

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel