Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: bbf5c979011a099af5dc76498918ed7df445635b authored by Linus Torvalds on 11 October 2020, 21:15:50 UTC
Linux 5.9
Tip revision: bbf5c97
bind_unbind_sample.sh
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
# Find device number in /sys/bus/usb/drivers/drivername
# Edit this file to update the driver numer and name
# Example test for uvcvideo driver
#i=0
# while :; do
#  i=$((i+1))
#  echo 1-5:1.0 > /sys/bus/usb/drivers/uvcvideo/unbind;
#  echo 1-5:1.0 > /sys/bus/usb/drivers/uvcvideo/bind;
#  clear
#	echo $i
#done
back to top