siemens-linux/kernel/tools/testing/selftests/media_tests/bind_unbind_sample.sh
2016-10-10 20:38:08 +03:00

12 lines
324 B
Bash
Executable file

#!/bin/bash
# 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