Skip to content

Instantly share code, notes, and snippets.

@kng
Created December 25, 2022 19:11
Show Gist options
  • Save kng/51fcec6e0ffe21c149159171f231afdc to your computer and use it in GitHub Desktop.
Save kng/51fcec6e0ffe21c149159171f231afdc to your computer and use it in GitHub Desktop.
Reset RTL-SDR that is hacing issues otherwise solved with reboot
#!/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