CineView device driverの設定


ここでは、Vela社が提供する Cineview PCI decoder Card の使用方法について説明します。
  1. Cineview device driverのインストール
  2. 動作確認方法

  1. Cinewview device driver のインストール
  2. まず、空いているPCIスロットにCineviewを挿入し、PCの電源をONにします。 CineView device driver for Linux(以下 デバイスドライバ)をインストールするには丸文株式会社カスタマーサポートページから installcineview および cineview-1.1.0.tar.gz をダウンロードし、インストールします。(この場合2つのファイルが /usr/local/ 以下においてあるものと仮定します)
    現在,cineviewは製造中止になっています.(2001/10)
    % su				
    # cd /usr/local/
    # ls
    bin                    doc  games  installcineview  man   src
    cineview-1.1.0.tar.gz  etc  info   lib              sbin  update.sh
    # ./installcineview cineview-1.1.0
    

    とすることで、モジュールのコンパイル、各種添付サンプルプログラムのコンパイルとインストールなどが行なわれます。インストールが終了すると、

    #./installcineview cineview-1.1.0
    mpegdecoder-1.1.0/
    mpegdecoder-1.1.0/Makedepend
    mpegdecoder-1.1.0/Makefile
    mpegdecoder-1.1.0/saa7185b.c
    ・
    ・
    Add Loadable Modules
    Create 4 driver devices
    perform module install
    done ok
    YOU HAVE TO REBOOT
    

    のように表示されますので、その後
    # shutdown -r now 
    
    で、一度マシンを再起動して下さい。次回起動時からデバイスドライバがモジュールとして組み込まれるため、ボードの使用が可能となります。

    なお、起動時に以下のようなメッセージが表示されればモジュールが上手く組み込めているということになります。

    ------ 表示されるメッセージの例 -----

    VELA: ================================================================== 
    VELA:   MPEG Decoder ver-1.1.0 (Build Tue Aug 08 11:12:37 AM 2000) 
    VELA:                      Copyright (c) 2000 Research/LP . 
    VELA: ================================================================== 
    VELA: PCI Base address is mapped to 0xe0000000. IRQ = 9 
    VELA: PCI Initialization done 
    VELA: ----------------------------------- 
    VELA: Decoder ID = 2083 
    VELA: Board='CineView(2083)', IRQ=9, Device='VELA' Addr=0x8809e000 
    VELA: Decoder Chip Initialization done. 
    VELA: RPS initialization started. 
    VELA: Initialize RPS task 0 at 0x8809e000 
    VELA: RPS program will be stored at 0x85ad0000 
    VELA: RPS initialization done. 
    VELA: V4L initialization started. 
    VELA: V4L initialization done. 
    VELA: ----------------------------------- 
    VELA: cards initialization completed! 
    VELA: MPEG subsystem initialization completed 
          MAJOR number = 78 
    
    また、起動した後でもモジュールが組み込まれているかどうかは lsmod コマンドで確認できます。
    % lsmod
    Module                  Size  Used by
    ipv6                   97640  -1
    mpegdecode            198704   0  (unused)
    hid                    11412   0  (unused)
    mousedev                3660   0  (unused)
    input                   3100   0  [hid mousedev]
    autofs                  9124   1  (autoclean)
    lockd                  31240   1  (autoclean)
    sunrpc                 53508   1  (autoclean) [lockd]
    eepro100               16184   1  (autoclean)
    esssolo1               21552   0
    soundcore               2820   4  [esssolo1]
    agpgart                17056   0  (unused)
    
    このうち、mpegdecode というモジュールがCineView device driverです。以上でCineviewのドライバインストールは終了です。

  3. Cineview PCI Decoder Cardの動作確認
  4. 「CineView device driver for Linux」には、MPEG2ファイル再生プログラムのサンプルが含まれており、それを用いてCineviewの動作確認を行なう事が出来ます。

    % /usr/local/cineview-1.1.0/testplay/testplay [再生させたいmpegファイル名]
    % Press Return to Start>>
    
    と表示されますので、ここでEnterキーを押すと再生が行なわれます。
    デコーダカードのページヘ戻る topへ戻る