外星人's profileSPACE OUT OF THE EARTHPhotosBlogLists Tools Help

Blog


    March 27

    Redhat Linux 9 (kernel 2..4.20.8) 主要驱动的安装备忘

        哎~ 好久没更新我的空间了.估计再不更新这个空间就要被废了~
        这段时间除了研究MAYA/SHAKE流程,还在研究的一个问题就是Linux系统以及一些相关问题.Apple Shake只生产MacOSX版和Linux版,我的苹果本本虽然很不错,但是毕竟是2003年初买的,估计到今年年中或者下半年就基本不能适应新版本的Shake 5了.苹果的东西给人最直观的感受就是"贵"!所以开辟Linux这条路真是"众望所归"哈~~.而且去年十一月就知道了Autodesk Inferno/Flint/Smoke 等都转而架设到了Linux平台.所以对于专业人士来说,转向Linux平台更多了一份热情 :-)
        既然空间这么长时间没更新了,那就把最近的一些重要的安装经验放上来,也为同行的兄弟们做点好事,如果需要架设Linux平台可以作下参考.不过先说明几点,一,这里的经验主要针对我自己的机器来说,其他的机器我没实验过,不知道会不会有什么怪毛病出现.二,关于绘图版Wacom的支持我实验了无数遍,网络上的资料也很难找,而且针对产品和机器设置的不同其方法也有所差异.虽然我这里已经摸透了针对我机器的设置情况,但是在做参考安装之前还是请仔细看一下官方的说明(驱动程序至少到现在还是beta版的).三,所有的安装方法和设置与Linux的品牌,版本号,内核版本号息息相关,我们需一一对应(我的是Redhat Linux 9 kernel 2..4.20.8 , 这也是适应Apple Shake 4的需要).
     
    下面是正文啦~~~哈
     

    Nvidia GeforceFX 5900XT 驱动的安装

      1 与此kernel 对应的驱动程序是7676,但是最新驱动8178版也可以正常使用并且可以省去一些安装步骤..

      2 root中准备好驱动程序,打开终端并且在终端中输入 # ./init 3 进入文本模式.

      3 在文本模式中输入root和登陆密码.

      4 输入 # ./nvidia-Linux-x86-1.0-8178-pkg1.run 执行安装.

      5 安装完毕后输入 # ./startx 进入图形界面.

      6 如果是安装了8178版的驱动则不需要修改xorg.cont配置文件.如果安装的是7676版的驱动程序那么要进入/etc/x11/ XF86Config.cont文件,用文本方式打开.并且将其中的Driver "nv"”(或者Driver "vesa" Driver "fbdev")修改为Driver "nVIDIA";在Section "Module" 字段中刪去Load "dri" Load "GLCore",加入Load "glx"

      7 可以再打开终端并输入 # glxinfo | grep rendering 来测试OpenGL是否已经启用.

       8 在终端中使用 # nVIDIA-settings 命令打开NVIDIA图形配置窗口.

     

    Matrox Pehelia 512 (AGP) 驱动的安装

      1 root登陆.

      2 双击安装 1.4.1beta 版驱动程序.

      3 打开终端, # lsmod命令查看agpgart是否激活.如果没有激活,使用 # modprobe agpgart 命令激活agpgart .

      4 打开/etc/x11/XF86Config.cont文件.将其中与显示驱动有关部分修改为:

        Section “Device”

        Driver  “mtx”

        Option  “Busmasting” “on”

      5 再次打开终端,使用命令: # modprobe mtx agprate=4 agp=1

     

    三 安装Wacom 板驱动

      1 对应该kernel安装版本号为0.6.1的驱动程序.如果要正确设置绘图版的驱动程序,我们需要保证在系统中连接有一个PS2口的真三键鼠标.(这是对于我的特殊情况)

      2 将驱动的文件夹名简化为061并放置在root.

      3 在终端中使用  ./configure -enable-wacom 命令编译驱动程序

      4 然后用 make 命令 , 接着用make install . 完成后关闭终端.

      5 prebuilt文件夹中的wacom_drv.o_4.3k2.4文件改名为wacom_drv.o , 并且覆盖掉位于/usr/X11R6/lib/modules/input中的wacom_drv.o文件.

      6 然后在/etc/X11/XF86Config里修改或加入

    Section "InputDevice"
      Driver        "wacom"
      Identifier    "stylus"
      Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
      Option        "Device"        "/dev/input/event0"   # USB ONLY
      Option        "Type"          "stylus"
      Option        "USB"           "on"                  # USB ONLY
      Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
    EndSection
     
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "eraser"
      Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
      Option        "Device"        "/dev/input/event0"   # USB ONLY
      Option        "Type"          "eraser"
      Option        "USB"           "on"                  # USB ONLY
      Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
    EndSection
     
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "cursor"
      Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
      Option        "Device"        "/dev/input/event0"   # USB ONLY
      Option        "Type"          "cursor"
      Option        "USB"           "on"                  # USB ONLY
      Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
    EndSection
     
    # This section is for Intuos3, Cintiq 21UX, or Graphire4 only
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "pad"
      Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
      Option        "Device"        "/dev/input/event0"   # USB ONLY
      Option        "Type"          "pad"
      Option        "USB"           "on"                  # USB ONLY
    EndSection

     

    Section "ServerLayout"
            Identifier     "Default Layout"
            Screen 0 "Screen0"   0 0
            InputDevice    "Mouse0"    "CorePointer"
            InputDevice    "Keyboard0" "CoreKeyboard"
            InputDevice    "stylus"    "SendCoreEvents"
            InputDevice    "eraser"    "SendCoreEvents"
            InputDevice    "cursor"    "SendCoreEvents"    # For non-LCD tablets only
            InputDevice    "pad"   # For Intuos3/Cintiq 21UX/Graphire4 tablets. It should NOT send core event
    EndSection

     

    (注意注释!!!)

     7 如果在Section "ServerLayout"字段中有InputDevice “DevInputMice” ”AlwaysCore” ,把它删除掉,因为这是真三键鼠标的设置字段,它会影响到Wacom中键和右键的正常使用。

    8 在终端里输入 wacomcpl 开启图形配置界面.

     9 更详细的配置方法参阅

       http://linuxwacom.sourceforge.net/index.php/main

     

    四(永久/临时)挂载Windows分区

     1 Redhat 9 内核默认就支持FAT16/32分区,如果需要挂载FAT分区,只需要在mnt文件夹中建立一个挂载点(文件夹),比如叫winfat

    2 在终端里输入# mount -t vfat /dev/hda1 /mnt/winfat 。这里的hda1表示我同机windows系统中的C盘。要想知道windows系统中的分区与hdx代码的对应可以在终端里使用# fdisk-l命令查看。

    3 要挂载NTFS分区需要先安装NTFS kernel 。首先在终端里使用命令# rpm –ivh kernel-ntfs-2.4.20-8.i686.rpm安装NTFS内核(下载与系统内核版本号相同的包安装)。

    4 需要临时访问NFTS分区时使用命令# mount –t ntfs /dev/hda1 /mnt/winnt (假设挂载点名称为winnt)。

    5 需要永久挂载windows分区则需要修改etc/fstab文件。按照格式增加:

      /dev/hda1       /mnt/winnt       ntfs    defaults    0  0

      这样就能在每次启动Linux系统时自动挂载windows分区了。

    Comments (9)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    龙 陈wrote:
     
     
      师哥,我是完全看不懂啊……
    Apr. 23
    略微懂一点:)
    Apr. 12
    有毛病啊!一个半月更新出来一片看不懂的……
    Apr. 3
    Tony Tongwrote:
    电驴下MAYA教程中。....
    Apr. 2
    雨 陈wrote:
    你行的 ~~~~呵呵 ~~~~加油~~争取下次更长·~~
    Apr. 2
    外星人wrote:
    底楼的师弟居然BS朕,他死定了 :-)
    Mar. 29
    wrote:
    虽然不用..但也学到了~~^ ^
    Mar. 28
    九尾wrote:
    噶长的!
    不看!
    Mar. 28
    kidd kingwrote:
    ....鄙视....明显凑数...还不如我,一直不更新呢...-0-
    Mar. 28

    Trackbacks

    The trackback URL for this entry is:
    http://yingcheng007.spaces.live.com/blog/cns!FE9FE65C56177094!325.trak
    Weblogs that reference this entry
    • None