You are not logged in.

#1 2009-05-22 18:51:19

arnuld
Member
From: INDIA
Registered: 2005-12-19
Posts: 219
Website

Xorg without input hotplugging

I have disabled Xorg input hotplugging by adding AutoAddDevices "False" into my xorg.conf. Even then my whole system freezes when I startx. I have tried both files generated using Xorg -configure and one generatd by hwd -x but no solution. I have to hard reboot using reset button. Its really frustrating experience. When I use Xorg with HAL it seems to work fine except that that system is running 50% slower than earlier,  with HAl Arch runs like Windows infected with Spyware/Malware.  Down here is my xorg.conf.

Is there no way I can run X without HAL ?


Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


Section "ServerFlags"
#    Option "AutoAddDevices" "False"
EndSection


Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri2"
    Load  "glx"
    Load  "extmod"
    Load  "dri"
    Load  "record"
    Load  "dbe"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    Option         "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "PrintVGARegs"           # [<bool>]
        #Option     "PrintTVRegs"            # [<bool>]
        #Option     "I2CScan"                # [<bool>]
        #Option     "VBEModes"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "ExaNoComposite"         # [<bool>]
        #Option     "ExaScratchSize"         # <i>
        #Option     "SWCursor"               # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoRAM"               # <i>
        #Option     "ActiveDevice"           # [<str>]
        #Option     "BusWidth"               # [<str>]
        #Option     "Center"                 # [<bool>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForcePanel"             # [<bool>]
        #Option     "TVDotCrawl"             # [<bool>]
        #Option     "TVDeflicker"            # <i>
        #Option     "TVType"                 # [<str>]
        #Option     "TVOutput"               # [<str>]
        #Option     "DisableVQ"              # [<bool>]
        #Option     "DisableIRQ"             # [<bool>]
        #Option     "EnableAGPDMA"           # [<bool>]
        #Option     "NoAGPFor2D"             # [<bool>]
        #Option     "NoXVDMA"                # [<bool>]
        #Option     "VbeSaveRestore"         # [<bool>]
        #Option     "DisableXvBWCheck"       # [<bool>]
        #Option     "MaxDRIMem"              # <i>
        #Option     "AGPMem"                 # <i>
    Identifier  "Card0"
    Driver      "openchrome"
    VendorName  "VIA Technologies, Inc."
    BoardName   "K8M800/K8N800/K8N800A [S3 UniChrome Pro]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes      "1680x1050" "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        Modes      "1680x1050" "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes      "1680x1050" "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes      "1680x1050" "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

NOTE:  xorg.conf has no information regarding HorizSync and VertRefresh becuse I am using LCD and LCDs always have only one resolution and refresh rate.

Last edited by arnuld (2009-05-22 18:56:27)

Offline

#2 2009-05-22 20:33:55

arnuld
Member
From: INDIA
Registered: 2005-12-19
Posts: 219
Website

Re: Xorg without input hotplugging

Wiki has partial information in disabling input hotplugging, one has to do these 2 steps in addition:

1)   install  xf86-input-keyboard xf86-input-mouse
2)   add Option "AllowEmptyInput"  "False" in ServerFlags section

Last edited by arnuld (2009-05-22 20:34:31)

Offline

#3 2009-05-22 20:35:35

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Xorg without input hotplugging

@arnuld if wiki is incomplete,why don't you want to improve it?

Last edited by wonder (2009-05-22 20:36:07)


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2009-05-23 05:27:05

arnuld
Member
From: INDIA
Registered: 2005-12-19
Posts: 219
Website

Re: Xorg without input hotplugging

wonder wrote:

@arnuld if wiki is incomplete,why don't you want to improve it?

I already did after adding my reply tongue

Offline

#5 2009-05-23 08:48:24

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Xorg without input hotplugging

cool. thx a lot arnuld.


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB