1
0
mirror of https://github.com/cmur2/miflorad.git synced 2026-04-02 16:18:34 +02:00
This commit is contained in:
cn
2018-12-12 07:26:18 +01:00
parent 1fff831652
commit 11971e9274
8 changed files with 86 additions and 184 deletions

12
utils/reset.py Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/python
# This script allows hard-resetting the Intel Wireless Bluetooth 8265 chip
# (ID 8087:0a2b) built into newer Thinkpads which tends to get stuck as other
# people noticed before: https://bbs.archlinux.org/viewtopic.php?id=193813
# Setup: pip install pyusb
# Usage: sudo python reset.py
from usb.core import find as finddev
dev = finddev(idVendor=0x8087, idProduct=0x0a2b)
dev.reset()