From owner-freebsd-x11@FreeBSD.ORG Mon May 18 15:37:14 2009 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4794B106566B for ; Mon, 18 May 2009 15:37:14 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: from s217.sureserver.com (s217.sureserver.com [203.194.200.22]) by mx1.freebsd.org (Postfix) with ESMTP id C7F448FC22 for ; Mon, 18 May 2009 15:37:13 +0000 (UTC) (envelope-from saifi.khan@twincling.org) Received: (qmail 11820 invoked by uid 1002); 18 May 2009 15:10:30 -0000 Received: from unknown (HELO ?10.10.10.8?) (saifi.khan@twincling.org@59.92.145.57) by s217.sureserver.com with ESMTPA; 18 May 2009 15:10:30 -0000 Date: Mon, 18 May 2009 20:43:13 +0000 (GMT) From: Saifi Khan X-X-Sender: saifi@localhost To: "Jin Guojun[VFF]" In-Reply-To: <4A104825.8060509@gmail.com> Message-ID: References: <4A104825.8060509@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 15:37:14 -0000 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.