Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 22:54:24 -0700
From:      "Jin Guojun[VFF]" <jguojun@gmail.com>
To:        Saifi Khan <saifi.khan@twincling.org>
Cc:        questions@freebsd.org, x11@freebsd.org
Subject:   Re: kdb and mouse are disabled on HP Pavilion dv5210us by X.org 7.4.1 (7.2-R)
Message-ID:  <4A124990.8070707@gmail.com>
In-Reply-To: <Pine.LNX.4.64.0905182037290.20487@localhost>
References:  <4A104825.8060509@gmail.com> <Pine.LNX.4.64.0905182037290.20487@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Saifi,

Xorg 7.4_1 seems having some issues with dbus and hald.
The --	Option	"AllowEmptyInput" "false" -- is the must, but dbus and hald can cause system useless.

On this laptop, I only run dbus and hald once. Then I disabled both of them and X window works well.

On a couple of Desktop machines (4-core Phenom and Intel P4+506) with GeForce graphic cards, without
dbus and halt, X Window run fine except no F-key works. Enable and run dbus and hald, All F-key work,
but output device is almost dead.

Top shows system is completely idle, but typing will not show on any xterm till the mouse is moving.

For example, run TOP on a xterm, the entire window system has no thing change. The clock of on the upper right
corner of the "TOP" xterm is stopped (actually is running, but no output to display). Once mouse is moving,
the clock and top section are updated. Once mouse stops moving, then no thing is change (no output anywhere).

Similar to the typing. Typing a command will not show on the Xterm still mouse is moved. About less than 5%
of time, I can type and see the output right way. Without dbus and hald running, there is no such problem.

Has anyone encountered the same problem?

The other main difference between this xorg.conf and previous on is the "Module" section.
This xorg.conf, generated by X -configure, has -- Load  "dri2" where previous one has -- Load  "GLcore". 
I am not sure if this is an issue.

-Jin


Saifi Khan wrote:

>On Sun, 17 May 2009, Jin Guojun[VFF] wrote:
>
>  
>
>>When installed FreeBSD 7.2 release with xorg-7.4.1, the X server does not work
>>on
>>HP Pavilion dv5210us laptop due to the key board and mouse are disabled
>>somehow.
>>Some Hot keys (Ctrl-Altr-F#) are working but mouse is not movable and cannot
>>type in a Xterm.
>>
>>(**) ModulePath set to "/usr/local/lib/xorg/modules"
>>(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse'
>>will be disabled.
>>(WW) Disabling Mouse0
>>(WW) Disabling Keyboard0
>>
>>Does anyone hasve an idea how to fix this problem?
>>Both Xorg.0.log and xorg.conf are attached.
>>
>>Thanks,
>>-Jin
>>
>>    
>>
>
>Hi Jin:
>
>You need to add an additional line to your 'ServerLayout' or
>'ServerFlags'.
>
>	Option	"AllowEmptyInput" "false"
>
>Please see the sample xorg.conf file that i'm running on my
>Compaq laptop.
>
>
>Section "ServerLayout"
>	Identifier     "X.org Configured"
>	Screen      0  "Screen0" 0 0
>	InputDevice    "Keyboard0" "CoreKeyboard"
>	InputDevice    "Mouse0" "CorePointer"
>#	InputDevice    "Mouse1" "SendCoreEvents"
>EndSection
>
>Section "ServerFlags"
>	Option	"DontZap" "Off"
>	Option	"AllowEmptyInput" "false"
>	Option	"AllowEmptyInput" "false"
>#	Option	"AllowMouseOpenFail"	"on"
>EndSection
>
>Section "Files"
>	FontPath	"unix/:7101"
>	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
>	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
>	FontPath     "/usr/local/lib/X11/fonts/OTF"
>	FontPath     "/usr/local/lib/X11/fonts/TTF/"
>	FontPath     "/usr/local/lib/X11/fonts/Type1/"
>	FontPath     "/usr/local/lib/X11/fonts/URW/"
>	FontPath     "/usr/local/lib/X11/fonts/bistream-vera/"
>	FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
>	FontPath     "/usr/local/lib/X11/fonts/dejavu/"
>	FontPath     "/usr/local/lib/X11/fonts/freefont/"
>	FontPath     "/usr/local/lib/X11/fonts/local/"
>	FontPath     "/usr/local/lib/X11/fonts/misc/"
>	FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
>	FontPath     "/usr/local/lib/X11/fonts/urwfonts-ttf/"
>	FontPath     "/usr/local/lib/X11/fonts/util/"
>	FontPath     "/usr/local/lib/X11/fonts/webfonts/"
>	FontPath     "/usr/local/share/ghostscript/fonts/"
>	FontPath 	 "/usr/local/lib/X11/fonts/sharefont/"
>	FontPath 	 "/usr/local/lib/X11/fonts/texcm-ttf/"
>	FontPath 	 "/usr/local/lib/X11/fonts/local/sgi/"
>	FontPath 	 "/usr/local/lib/X11/fonts/ppantsfonts/"
>	ModulePath   "/usr/local/lib/xorg/modules"
>EndSection
>
>
>Section "Module"
>	Load  "extmod"
>	Load  "record"
>	Load  "dbe"
>	Load  "glx"
>	Load  "dri"
>	Load  "dri2"
>	Load	"freetype"
>EndSection
>
>Section "InputDevice"
>	Identifier  "Keyboard0"
>	Driver      "kbd"
>	Option	"Protocol"	"Standard"
>	Option	"XkbLayout"	"us"
>	Option	"XkbModel"	"pc104"
>EndSection
>
>Section "InputDevice"
>	Identifier  "Mouse0"
>	Driver      "mouse"
>	Option	    "Protocol" "auto"
>	Option	    "Device" "/dev/sysmouse"
>	Option	    "ZAxisMapping" "4 5 6 7"
>EndSection
>
>Section "InputDevice"
>	Identifier  "Mouse1"
>	Driver      "synaptics"
>	Option	    "Device" "/dev/sysmouse"
>	Option	"Emulate3Buttons"	"on"
>	Option	"SHMConfig"	"on"
>	Option	    "ZAxisMapping" "4 5"
>EndSection
>
>Section "Monitor"
>	Identifier   "Monitor0"
>	VendorName   "Monitor Vendor"
>	ModelName    "Monitor Model"
>	HorizSync    30-62
>	VertRefresh  50-60
>	Option       "DPMS"
>EndSection
>
>Section "Device"
>	Identifier  "Card0"
>	Driver      "intel"
>	VendorName  "Intel Corporation"
>	BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
>	BusID       "PCI:0:2:0"
>	Option		"FramebufferCompression"	"false"
>	Option		"AccelMethod"	"XAA"
>EndSection
>
>Section "Screen"
>	Identifier "Screen0"
>	Device     "Card0"
>	Monitor    "Monitor0"
>	DefaultDepth 24
>	SubSection "Display"
>		Viewport   0 0
>		Depth     24
>		Modes     "1280x800" "1024x768" "800x600"
>	EndSubSection
>EndSection
>
>#Section "DRI"
>#	Group	"video"
>#	Mode	0660
>#EndSection
>
>Additionally, it is required that you place the following
>configurations in the /etc/rc.conf file
>
> hald_enable="YES"
> dbus_enable="YES"
>
>
>thanks
>Saifi.
>  
>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A124990.8070707>