When I run hcitool scan
the shell shows Scanning...
for ~10 sec but doesn't show any results.
Same for sudo hcitool scan
(I have an Android phone and a PC nearby with bluetooth activated and set to visible)
(It did work the first time; I didn't change anything since then)
System Specs
Bluetooth adapter is a Hama 00049229 (Manual)
Chipset:
Bus 001 Device 005: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth
hciconfig
shows:
hci0: Type: BR/EDR Bus: USB
BD Address: 00:0D:18:01:5A:B3 ACL MTU: 1017:8 SCO MTU: 64:0
UP RUNNING PSCAN
RX bytes:849 acl:0 sco:0 events:39 errors:0
TX bytes:420 acl:0 sco:0 commands:35 errors:0
(As commented by Tim Holt)
hcitool dev
shows:
Devices:
hci0 00:0D:18:01:5A:B3
(Also as commented by Tim Holt)
I ran hcidump --raw
and the scan tool found all nearby bluetooth devices. Here is the dump (I scanned twice):
HCI sniffer - Bluetooth packet analyzer ver 2.4
device: hci0 snap_len: 1028 filter: 0xffffffff
< 01 01 04 05 33 8B 9E 08 00
> 04 0F 04 00 01 01 04
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C9
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C8
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C9
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C8
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C8
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B CA
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C7
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C9
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C7
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C8
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C5
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B CA
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C5
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C9
> 04 01 01 00
< 01 19 04 0A 65 FF 3D 83 15 00 01 00 BD EB
> 04 0F 04 00 01 19 04
> 04 07 FF 00 65 FF 3D 83 15 00 4D 69 63 68 69 73 2D 50 43 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
And then, everything went back to normal (broken) again and hcidump --raw
showed:
HCI sniffer - Bluetooth packet analyzer ver 2.4
device: hci0 snap_len: 1028 filter: 0xffffffff
< 01 01 04 05 33 8B 9E 08 00
> 04 0F 04 00 01 01 04
> 04 01 01 00
dmesg | grep -i bluetooth
shows:
[ 5.875950] Bluetooth: Core ver 2.19
[ 6.000541] Bluetooth: HCI device and connection manager initialized
[ 6.202400] Bluetooth: HCI socket layer initialized
[ 6.209332] Bluetooth: L2CAP socket layer initialized
[ 6.586384] Bluetooth: SCO socket layer initialized
[ 29.059873] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 29.059914] Bluetooth: BNEP filters: protocol multicast
[ 29.059972] Bluetooth: BNEP socket layer initialized
[ 29.132785] Bluetooth: RFCOMM TTY layer initialized
[ 29.132869] Bluetooth: RFCOMM socket layer initialized
[ 29.132930] Bluetooth: RFCOMM ver 1.11
Raspberry Pi is model B Rev2
Installed packages:
bluetooth
bluez-utils
bluez-compat
bluez-hcidump
hcidump: command not found
-> How can I find the package that contains a program in Debian? I realize that question is closed as a duplicate, but the accepted answer is a good one, and if you click through to the duplicate you can check those answers too if you want. – goldilocks Mar 27 '15 at 18:22