はやく誰かrecfriioみたいに
B25オプションをドライバーに付けてくれないだろうか。
#!/bin/csh
echo ""
echo "recpt1 録画するチャンネル 録画秒数 出力先ファイル名"
/usr/local/bin/recpt1
echo ""
echo "Input CH-No"
set ch = $<
echo ""echo "Input Time(s)"
set t = $<
echo ""
set file = `date +%F-%H-%M-%S`-ch`echo "$ch"`
echo ""echo "$file"
echo ""
/usr/local/bin/recpt1 $ch $t $file.t
echo ""
echo "暗号解除を実行しますか?"
echo "y or n"
set yn = $<
if ( "$yn" == y ) then
b25 $file.t $file.ts
endif
echo "録画ファイルを再生しますか?"
echo "y or n"
set yn1 = $<
if ( "$yn1" == y ) then
gmplayer $file.ts
exit
endif
echo "Have a good time!"
udevわからんので...(PT1戦記)
$ cat MAKE-DEV
#!/bin/csh
set dvno=`cat /proc/devices|grep pt1 | awk '{print $1}'`
mknod /dev/pt1video0 c $dvno 0
mknod /dev/pt1video1 c $dvno 1
mknod /dev/pt1video2 c $dvno 2
mknod /dev/pt1video3 c $dvno 3
sleep 3
chmod 666 /dev/pt1video0
chmod 666 /dev/pt1video1
chmod 666 /dev/pt1video2
chmod 666 /dev/pt1video3
sleep 3
modprobe pt1_drv
#!/bin/csh
set dvno=`cat /proc/devices|grep pt1 | awk '{print $1}'`
mknod /dev/pt1video0 c $dvno 0
mknod /dev/pt1video1 c $dvno 1
mknod /dev/pt1video2 c $dvno 2
mknod /dev/pt1video3 c $dvno 3
sleep 3
chmod 666 /dev/pt1video0
chmod 666 /dev/pt1video1
chmod 666 /dev/pt1video2
chmod 666 /dev/pt1video3
sleep 3
modprobe pt1_drv
— posted by くま at 08:17 pm TrackBack [0]
Comments