ϵͳ×Ô´øµÄÇý¶¯£¬1280X800£¬Ë¢ÐÂÂÊ60£¬ÆÁÄ»»ÎÑÛ£¬ÓÖ×Ô¼º°²×°ÁËÒ»¸ö¹Ù·½µÄÇý¶¯£¨Nvidia 9300 GS µÄÏÔ¿¨£©£¬Í¬·Ö±æÂÊÏÂÈ´±ä³ÉÁË50¡£Ò»Ö±×¥×ÅÏÔ¿¨Çý¶¯µÄÎÊÌ⣬µ«ÊǽñÌìͻȻ¾õµÃ¿ÉÄÜÊÇÏÔʾÆ÷µÄÔÒò¡£
ÎÒÊDzËÄñ£¬¼ÇµÃÒÔǰװµÄsuse11ÏÂÓиöÏÔʾÆ÷Æ¥ÅäµÄÑ¡ÏîµÄ£¬Ã»ÓжÔÓ¦µÄÐͺÅÒ²¿ÉÒÔÖ±½ÓÑ¡LCD¡£µ«ÊÇF10ÏÂȴûÓÐÕÒµ½¡£ÉÏÍøËÑÁËһϣ¬Ò²Ã»Óнá¹û¡£Ëѵ½ÈçϵÄÒ»¶Î»°£º
ÊäÈëÃüÁîsystem-config-displayÆô¶¯ÏÔʾÅäÖóÌÐò£¬Ñ¡ÔñÏÔʾÆ÷Ó²¼þ·ÖÒ³£¬ÏÈÔÚÁгöµÄ
ÏÔʾÆ÷ÀïѰÕÒ×Ô¼ºµÄÏÔʾÆ÷Ðͺţ¬ÈôÕÒµ½ÔòÈ·¶¨ºó×¢ÏúÖØµÇ½²¢ÔÙ´ÎÔÚÏÔʾÅäÖóÌÐòÖе÷
Õû·Ö±æÂʺÍË¢ÐÂÂʼ´¿É¡£ÈôÕÒ²»µ½×Ô¼ºÐͺŵÄÏÔʾÆ÷£¬Ôò¿ÉÑ¡Ôñ×îÉ϶˵ÄgenericÏÔʾÆ÷²¢
Ñ¡ÔñÊʺÍ×Ô¼º·Ö±æÂÊ´óСµÄÐͺÅÒ»°ã¼´¿É¡£È·¶¨ºóͬÑù×¢ÏúÖØµÇ½²¢ÔÙ´Îsystem-config-
displayÔÚµÚÒ»Ò³Ð޸ķֱæÂʺÍË¢ÐÂÂÊ¡£×¢Òâ£ºÖØµÇ½£¨ÖØÆôX£©Ö®Ç°ÊÇÎÞ·¨µ÷Õûµ½ÄãËùÑ¡
µÄÏÔʾÆ÷µÄÐÔÄܵġ£ £¨À´Ô´£ºhttp://asc.2dark.org/node/9£©
su
system-config-display
Êä³öµÄ½á¹ûÊÇ£º
[root@trueway trueway]# system-config-display
Traceback (most recent call last):
File "/usr/share/system-config-display/xconf.py", line 312, in
hardware_state = XF86HardwareState(xconfig)
File "/usr/lib64/python2.5/site-packages/rhpxl/xhwstate.py", line 174, in __init__
self.init_from_xconfig(xconfig)
File "/usr/lib64/python2.5/site-packages/rhpxl/xhwstate.py", line 260, in init_from_xconfig
if screen.device:
AttributeError: 'NoneType' object has no attribute 'device'
ÉÏÍøÔÙËÑ AttributeError: 'NoneType' object has no attribute 'device'
ÔÚhttps://bugs.launchpad.net/ubuntu/+source/displayconfig-gtk/+bug/129979ÕÒµ½ÈçÏÂÐÅÏ¢£º
Binary package hint: displayconfig-gtk
This is on a Dell X1, clicking on the "Model" button ("Screen" tab) of the internal LCD:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/displayconfiggtk/DisplayConfig.py", line 646, in on_configure_device_clicked
device.getMonitorModel().getManufacturer(),
AttributeError: 'NoneType' object has no attribute 'getManufacturer'
Maybe related: The "Resolution" button is only showing 640 x 480 and 800 x 600, but not the native resolution of 1280 x 768 of the LCD.
Tested on gutsy Tribe 3 + apt-get dist-upgrade
Update description / tags
Link a related branch
Link to CVE
Andreas Schildbach wrote on 2007-08-02: (permalink)
I should note that this happens with an external monitor (Dell 2405) connected to the VGA output (which is detected as first Screen). The internal LCD would come second.
Bryce Harrington wrote on 2007-08-28: (permalink)
Thanks for reporting this bug in displayconfig-gtk. I've added a check for this to prevent this particular error.
Andreas Schildbach wrote on 2007-09-06: (permalink)
This is fixed with today's update - thanks!
Äѵ½ÊÇÒòΪF10²»ÈÏÕâ¿îÏÔʾÆ÷£¿ÎÒÒ²²»¶®ÕâЩ¶«Î÷Ó¦¸ÃÔõôÉèÖ㬶øÇÒϵͳÒѾÉý¼¶ÁË¡£ËÖªµÀÖ»ÊÇÔõô»ØÊ£¬ÈçºÎ½â¾ö£¿
[ ±¾Ìû×îºóÓÉ shuilinux ÓÚ 2008-12-19 13:38 ±à¼ ]
shuilinux ÓÚ 2008-12-21 11:40:03·¢±í:
ÏÔ¿¨Ó¦¸ÃÊDZ»Ö§³ÖÁË¡£¶øÇÒÎÒºóÀ´°²×°Á˹ٷ½µÄÇý¶¯£¬»¹ÊDz»ÐС£
Ë¢ÐÂÂÊÌ«µÍÁË£¬µ«ÊÇÎÒûװ¹Ù·½µÄÇý¶¯µÄʱºòÏÔʾ60µÄË¢ÐÂÂÊ£¬ºÜ»Î£¬Õý³£ËûÃǶ¼ÊÇ60È´²»»Î£¬¶ø×°Á˹ٷ½Çý¶¯ºóË¢ÐÂÂʳÉÁË50£¬µ«ÊÇnvidiaµÄ³ÌÐòÅäÖÃÄÇÈ´ÊÇ60¡£ÏÖÔÚ»³ÒÉÊÇÏÔʾÆ÷µÄÎÊÌ⣬ÒòΪÎÒµÄĬÈÏxorg.confÀïÃæ¶¼Ã»ÓÐscreenÄÇÒ»Ïî¡£×Ô¼º²Î¿¼ÍøÉϵÄÉèÖã¬gtf°ÑÊý¾ÝŪ³öÀ´¼ÓÉÏÄÇÒ»ÏîÒÔºó²»ÄÜÆô¶¯×ÀÃæ£¬Èý¸ö½ø¶ÈÌõÒýµ¼½áÊøºó¾Í±¨´íÁË£¬½á¹ûÏÔʾʲôeth0£¬wlanʲôµÄûÁ¬½Ó£¬¸øÎÒÕûµÃĪÃûÆäÃîµÄ£¬Ôõô»¹ºÍÕâ¸ö³¶ÉϹØÏµÁË¡£
²Î¿¼±ðÈ˵ÄÅäÁ˼¸´Î£¬¼ÓscreenÕâÒ»Ïÿ´Î¶¼±¨ÄÇ´í£¬Ö»ÄÜÓÃÅÌÐÞ¸´£¬ºóÀ´Ï¹Å䣬ŪµÃÁ¬¹âÅ̶¼Òýµ¼²»ÁËÁË£¨Ö»¶¯ÁËxorg.conf£¬suse£¬fedoraµÄÅ̶¼²»ºÃʹ£¬windowsµÄûÎÊÌ⣩£¬ÓÃwindowsµÄ°²×°Å̰ÑÕû¸öÓ²Å̶¼¸ñÁ˲źá£
Haocn ÓÚ 2008-12-19 15:42:48·¢±í:
Ö÷ÒªÊÇË¢ÐÂÂÊ£¬µ÷ÉÏÈ¥²»Äܽâ¾öÓ¦¸ÃÊÇÊÇÏÔ¿¨Ã»±»Ö§³Ö¾ÍÕâÑùµÄ
shuilinux ÓÚ 2008-12-19 13:36:09·¢±í:
²¹³ä£ºÔÚnvidiaÇý¶¯³ÌÐòµÄÑ¡ÏîÀïÃæË¢ÐÂÂÊÊǸøµÄ60.µ«ÊÇÔÚsysterm£>Ó²¼þÀïÃæ¿´µ½µÄÈ´ÊÇ50 ¡£¶øÇÒÎÒͬѧµÄ±¾×ÓË¢ÐÂÂÊÒ»µã¶¼²»»Î£¬ÎÒµÄ60È·»ÎµÃÀ÷º¦¡£
ÎÒµÄÅäÖÃÎļþ£¬Ôõô¸ù±¾¾ÍûÓÐËûÃÇ˵µÄmonitorÕâÒ»Ï
# Xorg configuration created by livna-config-display
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
[ ±¾Ìû×îºóÓÉ shuilinux ÓÚ 2008-12-19 13:57 ±à¼ ]