hdifilwy 发表于 2006-3-24 10:08:00

[新手]src目录下没有源码文件夹

我的板子是p4M800CE的,集成S3 UniChromeIGP显示芯片,安装ML2.0Final后显示不正常,表现为刷新率为60,分辨率800x600,无法更改(显示器SyncMaster 788DF),更改Xorg.conf也不行,并且xvidtune命令无效(好像不支持我的显卡模块)。
想通过安装驱动解决,但是安装说明:
---------------------------------------------------------------------------
Building and loading viafb device driver for Linux kernel 2.6
---------------------------------------------------------------------------
Building fbcon console module.
    Step 1: Change to folder /usr/src/linux-2.6.
            # cd /usr/src/linux-2.6.
            The linux-2.6 directory depend on your kernel version, so if your kernel version is
            2.6.5-1.358, you should type "/usr/src/linux-2.6.5-1.358".
    Step 2: Configuring the kernel module
            # make menuconfig
    Step 3: Select fbcon item to module.
            -> Device Drivers->Graphics support->Console display driver support->
               <M> Framebuffer Console support
    Step 4: Save the current setting and quit.
    Step 5: Make fbcon module.
            # make modules
            Note that if no any error, this step will be produced "fbcon.ko" in
            /usr/src/linux-2.6./drivers/video/console folder.
    Step 6: Copy fbcon.ko to lib folder.
            # cp /usr/src/linux-2.6./drivers/video/console/fbcon.ko\
            /lib/modules/2.6./kernel/drivers/video


我却找不到/usr/src下面的linux-2.6.xx这个目录

听说好像要编译内核才行?具体怎么弄?
顺便说一下,我的xorg.conf显示设置更改成如下内容,kde已经进不去了,反复在kde的启动画面上重启。

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    31.5 - 71.5
        VertRefresh50.0 - 86.5
EndSection

Section "Device"
        Identifier"Videocard0"
        Driver      "vesa"
        VendorName"Videocard vendor"
        BoardName   "VESA driver (generic)"
        VideoRam    65536
EndSection

Section "Screen"
        Identifier "Screen0"
        Device   "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth   24
        SubSection "Display"
                Depth    24
                Modes    "1024x768" "800x600"
        EndSubSection
EndSection

heyuqi 发表于 2006-3-24 13:25:21

http://www.magiclinux.org/dev/2.0/cd1/RPMS/kernel/2.6.15.3/kernel-source-2.6.15.3-2mgc.i686.rpm

hdifilwy 发表于 2006-3-24 13:41:21

直接rpm -ivh 就行了么?

hdifilwy 发表于 2006-3-24 16:45:22

晕死~,驱动装上了,但是到最后一步
   Step 1: Start viafb with default settings.
            # modprobe viafb
            Note that you can see the other options from "Using the viafb module. (for Linux kernel 2.4)" section.
    Step 2: Modprope fbcon.
            # modprobe fbcon

运行modprobe viafb后就死机,冷启动后还是在登入kde时反复启动kde(不是重启计算机)

算了,装FC5吧,搞了一天头都大了。 :cry:
页: [1]
查看完整版本: [新手]src目录下没有源码文件夹