From owner-freebsd-x11@FreeBSD.ORG Sat Jan 24 19:53:11 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 3145E106566B for ; Sat, 24 Jan 2009 19:53:11 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id F3B368FC12 for ; Sat, 24 Jan 2009 19:53:10 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.2.111] (c-71-56-39-94.hsd1.ga.comcast.net [71.56.39.94]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n0OJqOQj024449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jan 2009 14:52:25 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Lucius Windschuh In-Reply-To: <90a5caac0901241129x625dab1co9e965a2579b54f41@mail.gmail.com> References: <90a5caac0901240831j2367a69eo3a6dfd82f8e3c200@mail.gmail.com> <3a142e750901240903p56dbae27maea5c98a3ddc5971@mail.gmail.com> <90a5caac0901241129x625dab1co9e965a2579b54f41@mail.gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ZKYtCSUwq2JjtPPQIYTN" Organization: FreeBSD Date: Sat, 24 Jan 2009 14:53:00 -0500 Message-Id: <1232826780.1732.54.camel@wombat.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: x11@freebsd.org Subject: Re: Xorg 7.4 freezes when not moving the mouse 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: Sat, 24 Jan 2009 19:53:11 -0000 --=-ZKYtCSUwq2JjtPPQIYTN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2009-01-24 at 20:29 +0100, Lucius Windschuh wrote: > Hi Paul. >=20 > 2009/1/24 Paul B. Mahol : > > Xorg is compiled with hald support and hald is enabled? >=20 > HAL support is activated (in x11-servers/xorg-server) and X reports: > (II) config/hal: Adding input device AT Keyboard > So it should use hald. >=20 > > moused is working fine for me, only if I add `Option > > "AllowEmptyInput" "0"` to xorg.conf, > > and that one is documented in UPDATING. > > Without it and without hald running mouse and keyboard where not > > working at all and Xorg even managed to suspend freebsd. >=20 > That's also true here (except the suspend, which doesn't work at all). I = have > Option "AllowEmptyInput" "off" > in my xorg.conf, which is identical. >=20 > I enabled the Synaptics support in psm(4). But this shouldn't > influence moused... > And I didn't test Xorg 7.4 on a FreeBSD 7.x, only on -CURRENT. :-/ > But the issue itself remains the same: X shouldn't clear O_NONBLOCK... So, I was trying to look at this... That code in the xserver hasn't changed in forever. I'm trying to find someone who can explain to me why it does that. One thing that I find curious is that in the xorg log that you showed, the mouse seems to report a lot of serial options. I don't see that in my setup. Right now, I'm running with AllowEmptyInput on, so kbd/mouse driver configs are ignored. I'm disabling moused on psm (glidepoint touchpad) and configuring it with the "synaptics" driver (which AllowEmptyInput won't ignore). usb mice are added via hal, currently via sysmouse. rc.conf: #moused_enable=3D"YES" #moused_nondefault_enable=3D"NO" moused_flags=3D"-3 -m 1=3D4" # This was for the glidepoint with moused=20 moused_ums0_flags=3D"" # and this made it not remap external usb mice /boot/loader.conf: hw.psm.synaptics_support=3D1 xorg.conf: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "SendCoreEvents" InputDevice "Keyboard0" "CoreKeyboard" Option "AIGLX" #Option "AllowEmptyInput" "Off" EndSection ... Section "InputDevice" Identifier "Keyboard0" Driver "kbd" # This device is ignored EndSection Section "InputDevice" Identifier "Mouse0" Driver "synaptics" # This device is NOT ignored Option "Protocol" "alps" Option "Device" "/dev/psm0" Option "SHMConfig" "On" Option "LeftEdge" "120" Option "RightEdge" "830" Option "TopEdge" "120" Option "BottomEdge" "650" Option "FingerLow" "14" Option "FingerHigh" "15" Option "MaxTapTime" "180" Option "MaxTapMove" "110" Option "EmulateMidButtonTime" "75" Option "VertScrollDelta" "20" Option "HorizScrollDelta" "20" Option "CornerCoasting" "1" Option "CoastingSpeed" "3" Option "MinSpeed" "0.3" Option "MaxSpeed" "0.75" Option "AccelFactor" "0.015" Option "EdgeMotionMinSpeed" "200" Option "EdgeMotionMaxSpeed" "200" Option "UpDownScrolling" "1" Option "CircularScrolling" "1" Option "CircScrollDelta" "0.1" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" # this device is currently ignored Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection xorg.log: ... (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse1 (WW) Disabling Keyboard0 ...(**) AT Keyboard: always reports core events (**) Option "Protocol" "standard" (**) AT Keyboard: Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) AT Keyboard: XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) AT Keyboard: XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) AT Keyboard: XkbLayout: "us" (**) Option "CustomKeycodes" "off" (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD) ... (II) config/hal: Adding input device product 0x3010 (**) product 0x3010: Device: "/dev/sysmouse" (=3D=3D) product 0x3010: Protocol: "Auto" (**) product 0x3010: always reports core events (**) Option "Device" "/dev/sysmouse" (=3D=3D) product 0x3010: Emulate3Buttons, Emulate3Timeout: 50 (**) product 0x3010: ZAxisMapping: buttons 4 and 5 (**) product 0x3010: Buttons: 9 (**) product 0x3010: Sensitivity: 1 (II) XINPUT: Adding extended input device "product 0x3010" (type: MOUSE) (**) product 0x3010: (accel) keeping acceleration scheme 1 (**) product 0x3010: (accel) filter chain progression: 2.00 (**) product 0x3010: (accel) filter stage 0: 20.00 ms (**) product 0x3010: (accel) set acceleration profile 0 (II) product 0x3010: SetupAuto: hw.iftype is 4, hw.model is 0 (II) product 0x3010: SetupAuto: protocol is SysMouse (II) config/hal: removing device product 0x3010 (II) UnloadModule: "mouse" (II) config/hal: Adding input device product 0x3010 (**) product 0x3010: Device: "/dev/sysmouse" (=3D=3D) product 0x3010: Protocol: "Auto" (**) product 0x3010: always reports core events (**) Option "Device" "/dev/sysmouse" (=3D=3D) product 0x3010: Emulate3Buttons, Emulate3Timeout: 50 (**) product 0x3010: ZAxisMapping: buttons 4 and 5 (**) product 0x3010: Buttons: 9 (**) product 0x3010: Sensitivity: 1 (II) XINPUT: Adding extended input device "product 0x3010" (type: MOUSE) (**) product 0x3010: (accel) keeping acceleration scheme 1 (**) product 0x3010: (accel) filter chain progression: 2.00 (**) product 0x3010: (accel) filter stage 0: 20.00 ms (**) product 0x3010: (accel) set acceleration profile 0 (II) product 0x3010: SetupAuto: hw.iftype is 4, hw.model is 0 (II) product 0x3010: SetupAuto: protocol is SysMouse (II) 3rd Button detected: disabling emulate3Button robert. > Lucius > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --=-ZKYtCSUwq2JjtPPQIYTN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkl7cZwACgkQM4TrQ4qfROPG/wCcCOi0Merm89woL+UMIn2Wgxri QmQAni/CoUKArdhkipkXiodyipVuzoJ7 =LuGe -----END PGP SIGNATURE----- --=-ZKYtCSUwq2JjtPPQIYTN--