add firewirerip script
This commit is contained in:
parent
eabf029990
commit
2db9a62a77
2 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
pkgname=iceshrimp.net-akkoma-fe-git
|
pkgname=iceshrimp.net-akkoma-fe-git
|
||||||
pkgver=3.10.0.590653fb
|
pkgver=3.10.0.fe1a3255
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
license=(AGPL)
|
license=(AGPL)
|
||||||
arch=(any)
|
arch=(any)
|
||||||
|
|
12
scripts/firewirerip.fish
Normal file
12
scripts/firewirerip.fish
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
function firewirerip
|
||||||
|
echo "reloading kernel module... hold on"
|
||||||
|
cd ~/Videos
|
||||||
|
sudo rmmod firewire_ohci
|
||||||
|
sudo modprobe firewire_ohci quirks=0x10
|
||||||
|
|
||||||
|
echo "done. waiting for device..."
|
||||||
|
|
||||||
|
while ! test -e /dev/fw1; sleep 1; end
|
||||||
|
|
||||||
|
dvgrab -csize 0 -size 0 -showstatus -timestamp -timesys -f raw .dv
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue