Created
December 25, 2022 19:11
-
-
Save kng/51fcec6e0ffe21c149159171f231afdc to your computer and use it in GitHub Desktop.
Reset RTL-SDR that is hacing issues otherwise solved with reboot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DEV=$(usbreset|grep RTL2838|awk '{print $2}') | |
for RTL in $DEV; do | |
echo "Resetting device $RTL" | |
usbreset $RTL | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment