add firewirerip script

This commit is contained in:
notfire 2024-12-01 22:10:03 -05:00
parent eabf029990
commit 2db9a62a77
Signed by: notfire
GPG key ID: 3AFDACAAB4E56B16
2 changed files with 13 additions and 1 deletions

View file

@ -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
View 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