Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 20:43:13 +0000 (GMT)
From:      Saifi Khan <saifi.khan@twincling.org>
To:        "Jin Guojun[VFF]" <jguojun@gmail.com>
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:  <Pine.LNX.4.64.0905182037290.20487@localhost>
In-Reply-To: <4A104825.8060509@gmail.com>
References:  <4A104825.8060509@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?Pine.LNX.4.64.0905182037290.20487>