2016-06-17 18:12:04 -06:00
|
|
|
#!/bin/bash
|
2017-11-01 15:07:57 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2016-06-17 18:12:04 -06:00
|
|
|
# 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
|