Skip to content

Instantly share code, notes, and snippets.

@h1romas4
Created October 4, 2020 09:01
Show Gist options
  • Save h1romas4/a07a7fedc9d852bf8b7d44715148c292 to your computer and use it in GitHub Desktop.
Save h1romas4/a07a7fedc9d852bf8b7d44715148c292 to your computer and use it in GitHub Desktop.
FY HD Video Ubuntu
$ ls -l /sys/bus/usb/drivers/snd-usb-audio/
合計 0
lrwxrwxrwx 1 root root 0 10月 4 17:49 1-1.2:1.0 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:
1.0
lrwxrwxrwx 1 root root 0 10月 4 17:49 1-1.2:1.1 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:
1.1
lrwxrwxrwx 1 root root 0 10月 4 17:49 1-1.2:1.2 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:
1.2
lrwxrwxrwx 1 root root 0 10月 4 17:49 1-1.2:1.3 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:
1.3
--w------- 1 root root 4096 10月 4 17:49 bind
lrwxrwxrwx 1 root root 0 10月 4 17:32 module -> ../../../../module/snd_usb_audio
-rw-r--r-- 1 root root 4096 10月 4 17:49 new_id
-rw-r--r-- 1 root root 4096 10月 4 17:49 remove_id
--w------- 1 root root 4096 10月 4 17:32 uevent
--w------- 1 root root 4096 10月 4 17:49 unbind
# unbind
$ echo "1-1.2:1.0" | sudo tee -a /sys/bus/usb/drivers/snd-usb-audio/unbind
$ echo "1-1.2:1.1" | sudo tee -a /sys/bus/usb/drivers/snd-usb-audio/unbind
$ echo "1-1.2:1.2" | sudo tee -a /sys/bus/usb/drivers/snd-usb-audio/unbind
$ echo "1-1.2:1.3" | sudo tee -a /sys/bus/usb/drivers/snd-usb-audio/unbind
# bind
$ echo "1-1.2:1.0" | sudo tee -a /sys/bus/usb/drivers/uvcvideo/bind
$ echo "1-1.2:1.2" | sudo tee -a /sys/bus/usb/drivers/snd-usb-audio/bind
ls -laF /sys/bus/usb/drivers/snd-usb-audio/
合計 0
drwxr-xr-x 2 root root 0 10月 4 17:32 ./
drwxr-xr-x 8 root root 0 10月 4 11:27 ../
lrwxrwxrwx 1 root root 0 10月 4 17:51 1-1.2:1.2 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.2/
lrwxrwxrwx 1 root root 0 10月 4 17:51 1-1.2:1.3 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.3/
--w------- 1 root root 4096 10月 4 17:49 bind
lrwxrwxrwx 1 root root 0 10月 4 17:32 module -> ../../../../module/snd_usb_audio/
-rw-r--r-- 1 root root 4096 10月 4 17:49 new_id
-rw-r--r-- 1 root root 4096 10月 4 17:49 remove_id
--w------- 1 root root 4096 10月 4 17:32 uevent
--w------- 1 root root 4096 10月 4 17:49 unbind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment