/ 雑記帳

録画テスト (PT1戦記)

はやく誰か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!"

— posted by くま at 11:42 pm   pingTrackBack [0]

 

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

— posted by くま at 08:17 pm   pingTrackBack [0]

<< 2009.2 >>
SMTWTFS
12345 67
8 910 111213 14
15 16 1718 192021
22 23 2425 262728
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.0154 sec.