wiki:Linux/FindBluetoothDevice

Find Bluetooth Device

Sometimes it is difficult for novices to know how to find the Bluetooth device. If it is on the USB bus (most are) this command should help:

sudo lsusb -v | awk ' \
 $0 ~ /^Bus/ {if (deviceProtocol == "Bluetooth") exit 0; bus = $0} \
 $0 ~ /bDeviceClass/ {deviceClass=$3} \
 $0 ~ /bDeviceProtocol/ {deviceProtocol=$3} \
 $0 ~ /iManufacturer/ {manufacturer=$3} \
 $0 ~ /iProduct/ {product=$3} \
 $0 ~ /MaxPower/ {power=$2} \
  END {if (deviceProtocol == "Bluetooth") print bus, manufacturer, product, deviceClass, deviceProtocol, power}'