pinxi -E or pinxi --bluetooth
As usual: pinxi -U
to update pinxi if you already have it installed, or:
Code: Select all
cd /usr/local/bin && sudo wget -O pinxi smxi.org/pinxi && sudo chmod +x pinxi
-E most closely corresponds to -n, with the Device-x/HCI, similar to Device-x/IF lines of -n.
I actually debated making -E/-e, but inxi is running out of letters for single character options.
IF bluetooth date is found, -F will show -E, pretty much the same as -R, which only shows if raid data is actually there for -F.
Note that the HCI part needs hciconfig, which is allegedly deprecated, but since this was one reason I never did the feature when it was originally requested in 2016, and since all the distros are still shipping bluez hci tools, I figured, let's get it out the door, and if either bluez is developed more actively again, which would be nice to see since hciconfig is a nice tool, or if a reasonably sane replacement is found, I can just map the HCI fields to the values of a new tool at some point, but I couldn't find one that actually works as expected and required on the command line.
Any feedback, samples, etc, appreciated.
Code: Select all
pinxi -Eay
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: CCAF78E56A76
Report: id: hci0 state: up running bt-v: 2.0 lmp-v: 3.0 sub-v: 2ec
address: CC:AF:78:E5:6A:76
Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch hold sniff park
link-mode: slave accept
Code: Select all
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: CCAF78E56A76
Report:
id: hci0
state: up running
bt-v: 2.0
lmp-v: 3.0
sub-v: 2ec
hci-v: 3.0
rev: 4203
address: CC:AF:78:E5:6A:76
Info:
acl-mtu: 1021:8
sco-mtu: 64:1
link-policy: rswitch hold sniff park
link-mode: slave accept