Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2012 15:40:49 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        J B <jb.1234abcd@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: ports/168938: x11/xorg: moused(8) enabled causes xorg startx to fail
Message-ID:  <CAN6yY1uUycx2JShzpKbbNxtyHbBOqZwB7pWe3oF9gN2=58H4Kg@mail.gmail.com>
In-Reply-To: <201208271850.q7RIo8Vi070215@freefall.freebsd.org>
References:  <201208271850.q7RIo8Vi070215@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 27, 2012 at 11:50 AM, J B <jb.1234abcd@gmail.com> wrote:
> The following reply was made to PR ports/168938; it has been noted by GNATS.
>
> From: J B <jb.1234abcd@gmail.com>
> To: eadler@freebsd.org, FreeBSD-gnats-submit@freebsd.org,
>         freebsd-bugs@freebsd.org
> Cc:
> Subject: Re: ports/168938: x11/xorg: moused(8) enabled causes xorg startx to fail
> Date: Mon, 27 Aug 2012 20:41:43 +0200
>
>  Hi,
>  apparently this is not fixed yet - I tested it in:
>
>  $ uname -a
>  FreeBSD localhost.localdomain 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14
>  03:56:40 UTC 2012
>  root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>
>  $ cat .startx.log
>  X.Org X Server 1.7.7
>  Release Date: 2010-05-04
>  X Protocol Version 11, Revision 0
>  Build Operating System: FreeBSD 9.0-RELEASE i386
>  Current Operating System: FreeBSD localhost.localdomain 9.1-RC1
>  FreeBSD 9.1-RC1 #0: Tue Aug 14 03:56:40 UTC 2012
>  root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>  Build Date: 11 June 2012  07:18:51AM
>
>  Current version of pixman: 0.24.2
>         Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
>  Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>  (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 27 20:20:10 2012
>  (==) Using config file: "/usr/local/etc/X11/xorg.conf"
>  (EE) xf86OpenSerial: Cannot open device /dev/psm0
>         Device busy.
>  (EE) PS/2 Mouse: cannot open input device
>  (EE) PreInit returned NULL for "PS/2 Mouse"
>  (EE) config/hal: NewInputDeviceRequest failed (8)
>  ...
>  $
>
>  Sorry about that. Please reopen it.
>
>
>  On Fri, Aug 24, 2012 at 6:51 PM,  <eadler@freebsd.org> wrote:
>  > Synopsis: x11/xorg: moused(8) enabled causes xorg startx to fail
>  >
>  > State-Changed-From-To: open->closed
>  > State-Changed-By: eadler
>  > State-Changed-When: Fri Aug 24 16:51:28 UTC 2012
>  > State-Changed-Why:
>  > Per submitter request
>  >
>  > http://www.freebsd.org/cgi/query-pr.cgi?pr=168938

I think you are missing the real issue.  Your log says that you are
trying to use /dev/psm0, not /dev/sysmouse. I can assure you that Xorg
is working fine with moused, but only if Xorg tries to use that
device. If moused is running, /dev/psm0 is owned by the moused process
and can't be used by xorg.

You have a configuration file. What if any configuration does it have
for the mouse? Are you running hald? Did you build Xorg to use hald?
on most systems, if the use of hald is consistent, you should not need
any mouse configuration.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uUycx2JShzpKbbNxtyHbBOqZwB7pWe3oF9gN2=58H4Kg>