diff options
author | Matthew Lemon <y@yulqen.org> | 2023-01-10 12:13:54 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-01-10 12:13:54 +0000 |
commit | dc27ebf0b38c0ae27894ccb7c306317bea87bd86 (patch) | |
tree | 49390be0f1027cf5183fc98ed0e80fe5446da955 /reset_x201_wifi_controller.sh | |
parent | cd148eb7d5d283e8f104289439c097b0b0d357f1 (diff) |
added script to reset Centrino wifi controller on x201
Diffstat (limited to 'reset_x201_wifi_controller.sh')
-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 + |