From owner-freebsd-questions@FreeBSD.ORG Tue May 19 05:54:31 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66426106564A for ; Tue, 19 May 2009 05:54:31 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from n13b.bullet.mail.mud.yahoo.com (n13b.bullet.mail.mud.yahoo.com [68.142.207.222]) by mx1.freebsd.org (Postfix) with SMTP id 2DF688FC1A for ; Tue, 19 May 2009 05:54:31 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from [68.142.200.226] by n13.bullet.mail.mud.yahoo.com with NNFMP; 19 May 2009 05:54:30 -0000 Received: from [68.142.201.68] by t7.bullet.mud.yahoo.com with NNFMP; 19 May 2009 05:54:30 -0000 Received: from [127.0.0.1] by omp420.mail.mud.yahoo.com with NNFMP; 19 May 2009 05:54:30 -0000 X-Yahoo-Newman-Id: 721798.95551.bm@omp420.mail.mud.yahoo.com Received: (qmail 1630 invoked from network); 19 May 2009 05:54:30 -0000 Received: from unknown (HELO ?192.168.2.17?) (jguojun@75.37.0.149 with plain) by smtp104.sbc.mail.sp1.yahoo.com with SMTP; 19 May 2009 05:54:29 -0000 X-YMail-OSG: 2OKzh4IVM1nNO4qE4I9S40eHk_G8i48e2cXx2sJvHMjl9LAnhkzlREgT8GNZcsdYwnl2WyciYOUJPBpr.T7xHTphJP3tpJJmnQ42VM8ed_F0sYSa9lHO8B4Te2nqKQ4E2mwqgOgJCjGSmOy0qPChUJIfna5yi2pAUhk8RQYH0rKBWZrT_Wvm5jH8ZbtzT4067Q1Hcpu1H58YScH0gSAMsvZf_WzwwhM.s0zSt4Y2CFg_FbDcs6H3o0En0pS4DB5ku9MvvbgDfCAVsYgvVbgFqCdHF28Xf7tMeMAk7z_t27_KauzkPv3yHTzy8uSjesm1uuy_GtXM_zWHKk2p7Sbf1mfph4k3fapNOb7qHw4- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4A124990.8070707@gmail.com> Date: Mon, 18 May 2009 22:54:24 -0700 From: "Jin Guojun[VFF]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20090423 X-Accept-Language: en, zh, zh-CN MIME-Version: 1.0 To: Saifi Khan References: <4A104825.8060509@gmail.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 05:54:31 -0000 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. > >