Manually compiled a broken HPC display CA776 driver and two types of resolution xorg. conf

Source: Internet
Author: User
Manually compiled a broken HPC display CA776 driver and two types of resolution xorg. conf-Linux general technology-Linux technology and application information. The following is a detailed description. Author: Bao sheng's HOME

I wrote a broken HPC CA776 display driver by referring to the article on writing a display driver. The display model can be added to the display list of the display Configuration tool displayconfig-gtk, which can be selected. However, you still cannot select the display model. You still need to manually modify the xorg. conf, and a resolution corresponds to an xorg. conf, mainly using 1280X1024 and 1024X768 Resolution, the following will display driver and two resolution corresponding xorg. conf is written as a personal backup.
Display Driver ---- CA776.inf

; CA776.INF
;
; Version 3.9
;
; This is setup information file
; CA776 Technology Co., Ltd. monitor product.
;
; Copyright (c) 1994-2002, hpc Technology Co., Ltd.
; Revision date: 8/08/02

[Version]
Signature = "CHICAGO $"
Class = Monitor
Provider = % HPC %

[Manufacturer]
% HPC % = HPC

[HPC]
% CA776 % = CA776, Monitor \ CA776
[CA776]
DelReg = DEL_CURRENT_REG
AddReg = CA776.Add, 1280, DPMS
[DEL_CURRENT_REG]
HKR, MODES
HKR, MaxResolution
HKR, DPMS
HKR, ICMProfile

[1280]
HKR, MaxResolution"
[DPMS]
HKR, DPMS, 1

[ICM9]
HKR, ICMProfile, 1, 9

[CA776.Add]
HKR, "MODES \ 31.0, 72.0", Mode1, "50.0-150.0,-, +, +"

[Strings]
HPC = "HPC"
CA776 = "CA776"


1280X1024 resolution xorg. conf

# Xorg. conf (X. Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# Values from the debconf database.
#
# Edit this file with caution, and see the xorg. conf manual page.
# (Type "man xorg. conf" at the shell prompt .)
#
# This file is automatically updated on xserver-xorg package upgrades * only *
# If it has not been modified since the last upgrade of the xserver-xorg
# Package.
#
# If you have edited this file but wowould like it to be automatically updated
# Again, run the following command:
# Sudo dpkg-reconfigure-phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
Boardname "Intel 945"
Busid "PCI: 0: 2: 0"
Driver "intel"
Screen 0
Vendorname "Intel"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "HPC"
Modelname "CA776"
Horizsync 31.0-72.0
Vertrefresh 50.0-150.0
Modeline "640x480 @ 85" 36.0 640 696 752 832 480 481 484-vsync-hsync
Modeline "800x600 @ 85" 56.3 800 832 896 1048 600 601 604 631 + hsync + vsync
Modeline "1024x768 @ 85" 94.5 1024 1072 1168 1376 768 769 772 808 + hsync + vsync
Modeline "1280x1024 @ 60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 + hsync + vsync
γ 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1280 1024
Modes "1280x1024 @ 60" "1024x768 @ 85" "800x600 @ 85" "640x480 @ 85"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "dri"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection


1024X768 resolution xorg. conf content

# Xorg. conf (X. Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# Values from the debconf database.
#
# Edit this file with caution, and see the xorg. conf manual page.
# (Type "man xorg. conf" at the shell prompt .)
#
# This file is automatically updated on xserver-xorg package upgrades * only *
# If it has not been modified since the last upgrade of the xserver-xorg
# Package.
#
# If you have edited this file but wowould like it to be automatically updated
# Again, run the following command:
# Sudo dpkg-reconfigure-phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
Boardname "Intel 945"
Busid "PCI: 0: 2: 0"
Driver "intel"
Screen 0
Vendorname "Intel"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "HPC"
Modelname "CA776"
Horizsync 31.0-72.0
Vertrefresh 50.0-150.0
Modeline "640x480 @ 85" 36.0 640 696 752 832 480 481 484-vsync-hsync
Modeline "800x600 @ 85" 56.3 800 832 896 1048 600 601 604 631 + hsync + vsync
Modeline "1024x768 @ 85" 94.5 1024 1072 1168 1376 768 769 772 808 + hsync + vsync
γ 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1024 768
Modes "1024x768 @ 85" "800x600 @ 85" "640x133 @ 85"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "dri"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.