From owner-freebsd-questions@FreeBSD.ORG Tue Apr 14 18:22:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB1DF10656BC for ; Tue, 14 Apr 2009 18:22:35 +0000 (UTC) (envelope-from richard.delaurell@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 634528FC24 for ; Tue, 14 Apr 2009 18:22:35 +0000 (UTC) (envelope-from richard.delaurell@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so1904364qwb.7 for ; Tue, 14 Apr 2009 11:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=rFbxPSMRsiLvHSXVe+QFVIhygZrJBD8z/2NNnahWpn0=; b=vwbOPo4wr91LA+QYFxRDonWd17qPeEf6vR/0o0z+jAU6/ZUFifkOyusUlL710IThPR hdO08ZpMDqiXbAYeQ7IvPRg7wg4uWD4WF6J0PEZFmstTLhZEsCUQp1BoJ/MOuteLdMgb ljILz/8z3ZvDtkC+ZYT9hROid+1x1MR0AH3Xo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jQTd08yfl0QBxJHG5zWuzFoooxKjaYdRc+qOHCfRACGZNbeYfxiyS1ue5UzyY9W1uW T/hnIqxOzVKyucehQ+bLRmgBl4U4dUhb9Dmix1bS0smvwhFRNuvxvU0Hn5aBjRfdc5mh KBFToHxuzil4MPRhmhGbT8yWh3GBy/j3smWkw= MIME-Version: 1.0 Received: by 10.220.93.10 with SMTP id t10mr8101013vcm.107.1239733354768; Tue, 14 Apr 2009 11:22:34 -0700 (PDT) In-Reply-To: References: <5DC00D3430370A428A709B1E8BF3566641DA99@UTDEVS20.campus.ad.utdallas.edu> <49E4B80E.4050003@gmail.com> Date: Tue, 14 Apr 2009 13:22:34 -0500 Message-ID: <4324dbec0904141122k20664749o1f1fbe1ff3e51108@mail.gmail.com> From: Richard DeLaurell To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "mail.list freebsd-questions" Subject: Re: Mouse stopped working in X 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, 14 Apr 2009 18:22:38 -0000 Could you tell me please where the changes to the xorg.conf file which are necessitated by 7.4 are documented? Thank you. Richard On Tue, Apr 14, 2009 at 12:19 PM, Paul Schmehl wrote: > --On Tuesday, April 14, 2009 19:21:34 +0300 Manolis Kiagias < > sonic2000gr@gmail.com> wrote: > > Schmehl, Paul L wrote: >> >>> I ran the perl upgrade and portupgrade, and now my mouse doesn't work in >>> Xorg running KDE. Works fine in the console, and I haven't changed >>> anything >>> in the xorg.conf file. I generated a new one, and the mouse section is >>> identical to what I already have. >>> >>> Section "InputDevice" >>> Identifier "Mouse0" >>> Driver "mouse" >>> Option "Protocol" "auto" >>> Option "Device" "/dev/sysmouse" >>> Option "ZAxisMapping" "4 5 6 7" >>> EndSection >>> >>> For some reason I now have a PS2 mouse being detected (there's no PS2 >>> port >>> on this box and there's no PS2 mouse plugged in to it), and I think >>> that's >>> the cause of the mouse failure in X. >>> >>> # ls -l /dev/psm0 >>> crw-rw-rw- 1 root wheel 0, 64 Apr 14 09:33 /dev/psm0 >>> >>> But how do I track down what's causing this device to be loaded? >>> >>> I also have the usb mouse: >>> >>> # ls -l /dev/ums0 >>> crw-r--r-- 1 root operator 0, 42 Apr 14 09:29 /dev/ums0 >>> >>> (**) |-->Input Device "Mouse0" >>> (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or >>> 'vmmouse' will be disabled. >>> (WW) Disabling Mouse0 >>> (==) RADEONHD(0): Silken mouse enabled >>> (II) config/hal: Adding input device PS/2 Mouse >>> (II) LoadModule: "mouse" >>> (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so >>> (II) Module mouse: vendor="X.Org Foundation" >>> (**) PS/2 Mouse: Device: "/dev/psm0" >>> (==) PS/2 Mouse: Protocol: "Auto" >>> (**) PS/2 Mouse: always reports core events >>> (==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50 >>> (**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5 >>> (**) PS/2 Mouse: Buttons: 9 >>> (**) PS/2 Mouse: Sensitivity: 1 >>> (II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE) >>> (**) PS/2 Mouse: (accel) keeping acceleration scheme 1 >>> (**) PS/2 Mouse: (accel) filter chain progression: 2.00 >>> (**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms >>> (**) PS/2 Mouse: (accel) set acceleration profile 0 >>> (II) PS/2 Mouse: SetupAuto: hw.iftype is 3, hw.model is 0 >>> (II) PS/2 Mouse: SetupAuto: protocol is PS/2 >>> (II) PS/2 Mouse: ps2EnableDataReporting: succeeded >>> >>> Dmesg shows the device being loaded: >>> >>> atkbdc0: at port 0x60,0x64 on isa0 >>> atkbd0: irq 1 on atkbdc0 >>> kbd0 at atkbd0 >>> atkbd0: [GIANT-LOCKED] >>> atkbd0: [ITHREAD] >>> psm0: irq 12 on atkbdc0 >>> psm0: [GIANT-LOCKED] >>> psm0: [ITHREAD] >>> psm0: model Generic PS/2 mouse, device ID 0 >>> >>> But also shows the usb mouse being loaded: >>> >>> ukbd0: >> 2.00/2.07, addr 3> on uhub3 >>> kbd2 at ukbd0 >>> ums0: on >>> uhub3 >>> ums0: 3 buttons and Z dir. >>> >>> I have no idea where this PS2 mouse suddenly appeared from, but I think >>> it's >>> clearly the cause of the problem. >>> >>> Also, Ctrl-Alt-Bksp no longer restarts X, which is kind of weird. I can >>> still switch to other ttys though. >>> >>> Paul Schmehl (pauls@utdallas.edu) >>> Senior Information Security Analyst >>> University of Texas at Dallas >>> http://www.utdallas.edu/ir/security/ >>> >>> >>> >> The fact that CTRL+ALT+BACKSPACE does not work indicates that you >> probably upgraded to Xorg 7.4 >> >> Try inserting the following in your xorg.conf to fix keyboard/mouse >> problems: >> >> Section "ServerFlags" >> Option "AutoAddDevices" "false" >> Option "AllowEmptyInput" "false" >> Option "DontZap" "false" >> EndSection >> >> (DontZap will restore the previous CTRL+ALT+BKSP behaviour) >> >> >> > Thanks. I had already figured out that I needed to add AllowEmptyInput > false, and the mouse is now working. But I'll add the other two as well. > > Apparently this is a change introduced by 7.4? > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > Check the headers before clicking on Reply. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >