diff options
author | Matthew Lemon <y@yulqen.org> | 2023-03-16 16:53:47 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-03-16 16:53:47 +0000 |
commit | 56a5daa4e30364b9e75aa6a9e005cdd02257db51 (patch) | |
tree | a8e417e3a57e1e9e164e9de5698ee5d778858ee8 | |
parent | c637e3f03013d4010434c21eef7d7a95280810fe (diff) | |
parent | dc27ebf0b38c0ae27894ccb7c306317bea87bd86 (diff) |
Merge branch 'master' of git.sr.ht:~yulqen/bash-scripts
-rw-r--r-- | reset_x201_wifi_controller.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/reset_x201_wifi_controller.sh b/reset_x201_wifi_controller.sh new file mode 100644 index 0000000..4884c43 --- /dev/null +++ b/reset_x201_wifi_controller.sh @@ -0,0 +1,6 @@ +sudo echo "1" > /sys/bus/pci/devices/0000:02:00.0/remove # remove pci device, you might have to change the 03:00.0 part to yours +sleep 3 +sudo echo "1" > /sys/bus/pci/rescan # rescan for devices + +# find pci device reference with lspci | grep Centrino + |