Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2007 22:16:25 -0700
From:      Martin Alejandro Paredes Sanchez <mapsware@prodigy.net.mx>
To:        freebsd-questions@freebsd.org
Subject:   Re: Mouse diagnostics tools?
Message-ID:  <200710152216.25724.mapsware@prodigy.net.mx>
In-Reply-To: <80f4f2b20710151730i60ad9247y7d0c81500e96c348@mail.gmail.com>
References:  <80f4f2b20710141621m7640cc42u617dd9915544edd1@mail.gmail.com> <80f4f2b20710151730i60ad9247y7d0c81500e96c348@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El Lun 15 Oct 2007, Jim Stapleton escribi=F3:
> Martin Alejandro Paredes Sanchez wrote:
> > What is the output of :
> >
> > dmesg | grep -i mouse
> >
> > > (B) know a tool to help diagnose this issue?
> >
> > Try the -f and -d option in moused
>
> for the first part, it shows my wired mouse only:
>
> sjss@elrond 19:48:52 (0) ~ > dmesg | grep -i mouse
> ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 3, iclass 3/1

This mean that the driver ums (USB mouse driver) is loaded to control your=
=20
mouse

man ums

>
> for the second, I guess I didn't expect it to provide /that/ much
> diagnostic information. With "moused -d -f -p /dev/sysmouse -t auto",
> only the logictech produces output - the microsoft does not.

should be

moused -d -f -p /dev/ums0 -t auto

man moused

if you see output, mean it work in FreeBSD, if the microsoft mouse doesn't=
=20
produce a line in dmesg, mean that there is not a driver for your mouse.

I read some where about a new work in CURRENT, to make a new framework for =
the=20
mouse.

>
> Given the lack of output, I take it that it is safe to assume there is
> no low level driver for my mouse? Should I provide my system's
> configuration file as well (from buildkernel - I know I turned off a
> lot of wireless stuff in the config, but I didn't think it would
> affect this).
>
> icantthinkofone wrote:
> > Don't know of any diagnostics but we would need to see your xorg.conf
> > and rc.conf to help make this work.
>
> rc.conf:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> # -- sysinstall generated deltas -- # Wed Feb  7 13:21:21 2007
> # Created: Wed Feb  7 13:21:21 2007
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> hostname=3D"elrond.mydomain.net"
> ifconfig_nve0=3D"inet 192.168.1.84 netmask 255.255.255.0"
> ifconfig_nve0_alias0=3D"192.168.1.85 netmask 255.255.255.255"
> defaultrouter=3D"192.168.1.1"
>
> usbd_enable=3D"YES"
> linux_enable=3D"YES"
> sshd_enable=3D"YES"
> ntpdate_enable=3D"YES"
> ntpd_enable=3D"YES"
> cupsd_enable=3D"YES"
>
> sendmail_enable=3D"NONE"
> inetd_flags=3D"-wW -a 192.168.1.84"
> syslogd_flags=3D"-b 192.168.1.84"
> rpcbind_enable=3D"NO"
> sb_server_enable=3D"YES"
> # added by mergebase.sh
> local_startup=3D"/usr/local/etc/rc.d"
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I didn't see any line about moused, but that is because your mouse is USB a=
nd=20
moused is loaded by devd

to see how is invoked moused

ps axw | grep mouse

>
> xorg.conf
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> Section "InputDevice"
>     Identifier     "Mouse0"
>     Driver         "mouse"
>     Option         "Protocol" "auto"
>     Option         "Device" "/dev/sysmouse"
>     Option         "ZAxisMapping" "4 5 6 7"
> EndSection

To use "Device" "/dev/sysmouse", "moused" should be loaded, if not, the dev=
ice=20
should be "/dev/ums0"

>
> #previous attempt to get microsoft mouse working
> Section "InputDevice"
>     Identifier     "Mouse1"
>     Driver         "mouse"
>     Option         "Protocol" "ImPS/2"
>     Option         "Device" "/dev/sysmouse"
>     Option         "ZAxisMapping" "4 5 6 7"
> EndSection
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>
> Thanks,
> -Jim Stapleton

maps



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710152216.25724.mapsware>