how to detect bluetooth device type?
inxi 3.3.00 has bluetooth reports, finally. Still in prerelease at the moment but should be available by end of January 2021 in distro repos that ship current nxi, otherwise, just update inxi to current version.
inxi -Eaz
Bluetooth:
Device-1: Broadcom BCM2045B (BDC-2.1) type: USB driver: btusb v: 0.8
bus ID: 1-1.4:3 chip ID: 0a5c:217f class ID: fe01 serial: <filter>
Report: hci0 state: up running bt-v: 2.0 lmp-v: 3.0 sub-v: 2ec
address: <filter>
Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch hold sniff park
link-mode: slave accept
Due to persistent failures to generate a Bluetooth status report, inxi 3.3.04 added several more methods to identify bluetooth status, and is now fairly reliable. Added to already used hciconfig, the fallbacks bt-adapter, rfkill. Added rfkill status as well to all reports. This finally seems to have locked down for most users bluetooth reports, though still some failures in odd corner cases where bluetooth has been disabled etc. Sometimes rfkill can detect when hardware disabling occurred, sometimes it can't, it varies.