Changeset 1825

Show
Ignore:
Timestamp:
03/24/07 06:06:14 (22 months ago)
Author:
alexander
Message:

Added a program that extracts PCI IDs of supported video cards from Xorg
drivers and writes udev rules like this:

# ATI Radeon X850 PRO (R480) (AGP)
ATTR{vendor}=="0x1002", ATTR{device}=="0x4b4b", RUN+="/bin/sed -i s/vesa/ati/ /etc/X11/xorg.conf"

This way, video card autodetection is now fixed.

Location:
trunk
Files:
3 added
1 removed
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r1820 r1825  
    251251        ch-Xorg-base ch-Xorg-util ch-Xorg-proto ch-Xorg-lib ch-libdrm ch-Mesa \ 
    252252        ch-xbitmaps ch-Xorg-app ch-xcursor-themes ch-xorg-server \ 
    253         ch-Xorg-font ch-Xorg-driver ch-XML-Parser ch-xkeyboard-config \ 
     253        ch-Xorg-font ch-Xorg-driver ch-xorg-udev-rules ch-XML-Parser ch-xkeyboard-config \ 
    254254        ch-synaptics ch-inputattach ch-915resolution ch-fonts-thai \ 
    255255        ch-freefont ch-fonts-dejavu ch-fonts-kochi ch-fonts-firefly ch-fonts-baekmuk \ 
  • trunk/doc/README

    r1816 r1825  
    8484doesn't support 24-bit color depth, or if your monitor is not Plug-n-Play 
    8585compatible (in other words, doesn't tell its characteristics to Xorg via DDC). 
    86 Also, in the following cases, the autodetection process is known to suggest 
    87 a non-working driver even for 2D graphics: 
    88  
    89     * ATI Radeon X1000 or higher (needs the "vesa" driver) 
    90  
    9186In such cases, you have to edit the /etc/X11/xorg.conf file manually, using 
    9287vim, joe or nano. 
     
    120115        Identifier      "Generic Monitor" 
    121116        Option          "DPMS" 
     117        # Option        "NoDDC" # for broken monitors that 
     118                                # report max dot clock = 0 MHz 
    122119        HorizSync       30-92   # because gtf said "hsync: 91.38 kHz" 
    123120        VertRefresh     56-86   # because a 85 Hz mode has been requested 
  • trunk/packages/udev/Makefile

    r1820 r1825  
    4242        rm /etc/udev/rules.d/81-cdrom.rules 
    4343        echo 'ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", IMPORT{program}="cdrom_id --export $tempnode", GROUP="cdrom"' >/etc/udev/rules.d/61-cdrom.rules 
    44         echo 'ACTION=="add", BUS=="pci", ATTR{class}=="0x030000", RUN+="detect-video"' >/etc/udev/rules.d/30-video.rules 
    45         install -m755 ../detect-video ../dhcp-helper /lib/udev 
     44        install -m755 ../dhcp-helper /lib/udev 
    4645        install -m644 ../76-network.rules /etc/udev/rules.d/ 
    4746        install -m644 -D docs/writing_udev_rules/index.html \