Mouse diagnostics tools?
Martin Alejandro Paredes Sanchez
mapsware at prodigy.net.mx
Mon Oct 15 22:16:29 PDT 2007
El Lun 15 Oct 2007, Jim Stapleton escribió:
> 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 at 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
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
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
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:
> ========================================
> # -- 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="elrond.mydomain.net"
> ifconfig_nve0="inet 192.168.1.84 netmask 255.255.255.0"
> ifconfig_nve0_alias0="192.168.1.85 netmask 255.255.255.255"
> defaultrouter="192.168.1.1"
>
> usbd_enable="YES"
> linux_enable="YES"
> sshd_enable="YES"
> ntpdate_enable="YES"
> ntpd_enable="YES"
> cupsd_enable="YES"
>
> sendmail_enable="NONE"
> inetd_flags="-wW -a 192.168.1.84"
> syslogd_flags="-b 192.168.1.84"
> rpcbind_enable="NO"
> sb_server_enable="YES"
> # added by mergebase.sh
> local_startup="/usr/local/etc/rc.d"
> ========================================
I didn't see any line about moused, but that is because your mouse is USB and
moused is loaded by devd
to see how is invoked moused
ps axw | grep mouse
>
> xorg.conf
> ========================================
>
> 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 device
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
>
> ========================================
>
>
> Thanks,
> -Jim Stapleton
maps
More information about the freebsd-questions
mailing list