abhra0897 / linux_usb_reset

A small shell script for resetting host controller interface. Comes handy when USB devices don't get recognized and only a system restart can solve it but you don't want to restart your pc yet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This script resets all USB ports by unbinding and re-binding the host controller interface.

Make this shell script executable first. Then call it with sudo: sudo ./usb_kernel_reset.sh

I've copied this from askubuntu.com: https://askubuntu.com/a/61165/1125701 .

I'm uploading it here for my future self. If it helps you too, go ahead and upvote that answer.

About

A small shell script for resetting host controller interface. Comes handy when USB devices don't get recognized and only a system restart can solve it but you don't want to restart your pc yet.


Languages

Language:Shell 100.0%