From owner-freebsd-questions@FreeBSD.ORG Sun Oct 4 21:06:37 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 D72C1106566B for ; Sun, 4 Oct 2009 21:06:37 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f192.google.com (mail-qy0-f192.google.com [209.85.221.192]) by mx1.freebsd.org (Postfix) with ESMTP id 946EB8FC08 for ; Sun, 4 Oct 2009 21:06:37 +0000 (UTC) Received: by qyk30 with SMTP id 30so2799639qyk.7 for ; Sun, 04 Oct 2009 14:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=er3xOqHDva1lIxA4Qh+k6mU7Re8igiArcbcv12M8+ds=; b=fJas7VYMY1Dwv3nb2I+xb+UmLyiB2OBzlcLxG/FBQBQRfFom7m2436Vz092cYGteTn iWJT8wLINzEqot2TwdSbIXY21ZY4WouGrN47m7B94xcNcjRW/jsg2K1bf31xG3YAYff4 xTNoSH8hzDf3ARnYT6in5N9cQEZMzmXrBkvOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Bhjfn3KzqySVXAC4lE/2a3GKXDC8mmNsCN0Q1vd+bIkYnbCLPUrnbuT03fURsVS/U7 eMdt/iNF1V4jbaN64KiXbIp6b6u4yHzTmslsqXTJ0W1y2AWVEYlr2zgcz7tIre6P/f90 ZVR4faaKR8JoIXG+hIqnDKranO8cADbW5zI1I= MIME-Version: 1.0 Received: by 10.229.111.85 with SMTP id r21mr3602463qcp.88.1254690396766; Sun, 04 Oct 2009 14:06:36 -0700 (PDT) Date: Sun, 4 Oct 2009 14:06:36 -0700 Message-ID: <560f92640910041406m7755f879k19455f204202d927@mail.gmail.com> From: Nerius Landys To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Xorg mouse not working after upgrade (console mouse works) 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: Sun, 04 Oct 2009 21:06:37 -0000 I had everything (Xorg + console mouse) working perfectly on my 6.3 system with slightly outdated ports. Now I upgraded to 6.4 and the latest ports. I am getting some strange behavior with respect to the mouse. I did adjust some lines of rc.conf in the process of trying to debug the problem (moused used to be enabled and now it's not). I have a run-of-the-mill USB mouse hooked up. In the console (before I type "startx"), I am able to move the mouse cursor and copy+paste just fine in the console. My rc.conf looks like this (surprisingly, moused is NOT enalbed, and the console mouse DOES WORK FINE): defaultrouter="192.168.0.254" hostname="tweety.i" ifconfig_em0="inet 192.168.0.5 netmask 255.255.255.0" sshd_enable="YES" usbd_enable="YES" # added by xorg-libraries port local_startup="/usr/local/etc/rc.d" hald_enable="YES" dbus_enable="YES" When I "startx", the mouse cursor won't move. I have nothing currently in /etc/X11/xorg.conf (it's missing). I tried "Xorg -configure" and copying the output of that to /etc/X11/xorg.conf, but no change in behavior. I am also trying to add moused_enable="YES" to my rc.conf. Then when I try to start moused, I get the following error: Starting default moused:moused: unable to open /dev/psm0: No such file or directory Had a look in /etc/defaults/rc.conf, but cannot decide on what to change in /etc/rc.conf to make X work. I really see no point in starting moused if the console mouse is already working, however. Is that correct? When I generated the xorg.conf with "Xorg -configure", I did see this section in the xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Any ideas on how to get mouse to work in X? I had a good look at the Handbook but everything I tried there did not fix the problem.