]> git.ipfire.org Git - thirdparty/linux.git/blame - tools/testing/selftests/media_tests/bind_unbind_sample.sh
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/linux.git] / tools / testing / selftests / media_tests / bind_unbind_sample.sh
CommitLineData
fe8777a8 1#!/bin/bash
b2441318 2# SPDX-License-Identifier: GPL-2.0
fe8777a8
SK
3# Find device number in /sys/bus/usb/drivers/drivername
4# Edit this file to update the driver numer and name
5# Example test for uvcvideo driver
6#i=0
7# while :; do
8# i=$((i+1))
9# echo 1-5:1.0 > /sys/bus/usb/drivers/uvcvideo/unbind;
10# echo 1-5:1.0 > /sys/bus/usb/drivers/uvcvideo/bind;
11# clear
12# echo $i
13#done