Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: c02ed2e75ef4c74e41e421acb4ef1494671585e8 authored by Linus Torvalds on 26 March 2017, 21:15:16 UTC
Linux 4.11-rc4
Tip revision: c02ed2e
bind_unbind_sample.sh
#!/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
back to top