mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-23 01:40:24 -05:00
bluez5: Add script to collect debug info for bluetooth
This commit is contained in:
parent
8aec26f5bd
commit
168bd1d118
1 changed files with 23 additions and 0 deletions
23
src/tools/gather-bluetooth-debug-info.sh
Executable file
23
src/tools/gather-bluetooth-debug-info.sh
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
LOGNAME=bt-debuginfo-$(date +%Y%m%d-%H%M%S).txt
|
||||
|
||||
echo "-------- cat /proc/versionus" >> /tmp/$LOGNAME
|
||||
cat /proc/version > /tmp/$LOGNAME
|
||||
|
||||
echo "-------- lsusb -v 2>&1 | egrep 'bDeviceProtocol(.*)Bluetooth' -B7 | head -1 " >> /tmp/$LOGNAME
|
||||
lsusb -v 2>&1 | egrep 'bDeviceProtocol(.*)Bluetooth' -B7 | head -1 >> /tmp/$LOGNAME
|
||||
|
||||
echo "-------- cat /sys/kernel/debug/usb/devices" >> /tmp/$LOGNAME
|
||||
sudo cat /sys/kernel/debug/usb/devices >> /tmp/$LOGNAME
|
||||
|
||||
echo "-------- bluetoothctl devices" >> /tmp/$LOGNAME
|
||||
bluetoothctl devices >> /tmp/$LOGNAME
|
||||
|
||||
echo "-------- bluetoothctl info" >> /tmp/$LOGNAME
|
||||
bluetoothctl info >> /tmp/$LOGNAME
|
||||
|
||||
echo "-------- bluetoothctl info" >> /tmp/$LOGNAME
|
||||
bluetoothctl info >> /tmp/$LOGNAME
|
||||
|
||||
echo "Information on your bluetooth setup collected into /tmp/$LOGNAME"
|
||||
Loading…
Add table
Add a link
Reference in a new issue