LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 820|回复: 5

t43,升级到2.6.25,startx报错

[复制链接]
发表于 2008-7-31 21:59:17 | 显示全部楼层 |阅读模式

  1. debian:~# startx

  2. X.Org X Server 1.4.2
  3. Release Date: 11 June 2008
  4. X Protocol Version 11, Revision 0
  5. Build Operating System: Linux Debian (xorg-server 2:1.4.2-2)
  6. Current Operating System: Linux debian 2.6.25-2-686 #1 SMP Fri Jul 18 17:46:56 UTC 2008 i686
  7. Build Date: 18 July 2008  11:09:10AM

  8.         Before reporting problems, check [url]http://wiki.x.org[/url]
  9.         to make sure that you have the latest version.
  10. Module Loader present
  11. Markers: (--) probed, (**) from config file, (==) default setting,
  12.         (++) from command line, (!!) notice, (II) informational,
  13.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  14. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 31 21:44:56 2008
  15. (==) Using config file: "/etc/X11/xorg.conf"
  16. (WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found

  17. (II) Module "ddc" already built-in
  18. (II) Module "i2c" already built-in
  19. (EE) intel(0): write to /sys/class/backlight/thinkpad_screen/brightness for backlight control failed: Invalid argument
  20. (II) Module "ramdac" already built-in
  21. (EE) intel(0): write to /sys/class/backlight/thinkpad_screen/brightness for backlight control failed: Invalid argument
  22. (EE) intel(0): RRChangeOutputProperty error, 2
  23. (EE) intel(0): RRChangeOutputProperty error, 2
  24. (EE) intel(0): write to /sys/class/backlight/thinkpad_screen/brightness for backlight control failed: Invalid argument
  25. (EE) intel(0): write to /sys/class/backlight/thinkpad_screen/brightness for backlight control failed: Invalid argument
  26. (EE) intel(0): write to /sys/class/backlight/thinkpad_screen/brightness for backlight control failed: Invalid argument
  27. (EE) intel(0): write to /sys/class/backlight/thinkpad_screen/brightness for backlight control failed: Invalid argument
  28. (EE) intel(0): write to /sys/class/backlight/thinkpad_screen/brightness for backlight control failed: Invalid argument
复制代码


为什么xorg.conf文件里的信息那么少,我dpkg-reconfigure xserver-xorg也没有让我设置显卡和分辨率的界面

  1. debian:~# cat /etc/X11/xorg.conf
  2. # xorg.conf (X.Org X Window System server configuration file)
  3. #
  4. # This file was generated by dexconf, the Debian X Configuration tool, using
  5. # values from the debconf database.
  6. #
  7. # Edit this file with caution, and see the xorg.conf manual page.
  8. # (Type "man xorg.conf" at the shell prompt.)
  9. #
  10. # This file is automatically updated on xserver-xorg package upgrades *only*
  11. # if it has not been modified since the last upgrade of the xserver-xorg
  12. # package.
  13. #
  14. # If you have edited this file but would like it to be automatically updated
  15. # again, run the following command:
  16. #   sudo dpkg-reconfigure -phigh xserver-xorg

  17. Section "InputDevice"
  18.         Identifier      "Generic Keyboard"
  19.         Driver          "kbd"
  20.         Option          "XkbRules"      "xorg"
  21.         Option          "XkbModel"      "pc104"
  22.         Option          "XkbLayout"     "us"
  23. EndSection

  24. Section "InputDevice"
  25.         Identifier      "Configured Mouse"
  26.         Driver          "mouse"
  27. EndSection

  28. Section "Device"
  29.         Identifier      "Configured Video Device"
  30. EndSection

  31. Section "Monitor"
  32.         Identifier      "Configured Monitor"
  33. EndSection

  34. Section "Screen"
  35.         Identifier      "Default Screen"
  36.         Monitor         "Configured Monitor"
  37. EndSection
复制代码
发表于 2008-8-1 04:32:26 | 显示全部楼层

一些建议

hi

1)日志显示你的X Server 抱怨找不到相应的设备描述

(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found

我建议你先采用手工配置xorg.conf,比如

   Section "Device"
       Identifier     "Configured Video Device"
       Driver         "i810"
       Option         "AccelMethod" "XAA"
       Option         "DRI" "True"
       Option         "DDC" "True"
       Option         "XVideo" "True"
       Option         "DevicePresence" "True"
       Option         "ShadowFB" "True"
       Option         "DisplayInfo" "True"
   EndSection

2)如果只是编译内核后就出了问题,请检查 thinkpad-acpi 模块是否编译正确 (2.6.25版在 Device drivers/Misc device/Thinkpad ACPI Laptop Extra 里)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-8-1 09:35:40 | 显示全部楼层
谢谢,请问一下为什么现在我dpkg-reconfigure xserver-xorg的过程中没有让我设置显卡和分辨率的步骤?我不太擅长直接改配置文件...
回复 支持 反对

使用道具 举报

发表于 2008-8-1 16:03:08 | 显示全部楼层
哦!X 以后可能不再使用 xorg.conf 配置文件而改为自动探测,不过对于他解决不了的问题,一个自制的xorg.conf文件总是安全的。
回复 支持 反对

使用道具 举报

发表于 2008-8-1 20:46:07 | 显示全部楼层
我也是经常启动X有问题,一般是第一次启进不去,进入字符界面后重启系统就能进X了。一直不知是什么问题。
回复 支持 反对

使用道具 举报

发表于 2008-8-1 21:06:58 | 显示全部楼层
Post by groundhog;1881352
我也是经常启动X有问题,一般是第一次启进不去,进入字符界面后重启系统就能进X了。一直不知是什么问题。


没有具体的资料,不好说。你第一次启动后回到console能不能检查一下你的Xserver 日志。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表