Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2006 01:27:18 +0000
From:      "Jonathan Herriott" <herriojr@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   USB Mouse on Laptop
Message-ID:  <6a56d69c0605021827m7fe1923l167cff5d952cfa11@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi!

I currently just fixed moused to start up using my laptop's mousepad in
/etc/rc.conf using the following options:

moused_enable=3D"YES"
moused_port=3D"/dev/psm0"
moused_flags=3D""     #This is another problem of mine, I can't get the fou=
r
extra buttons on my mousepad to work because I don't know what to specify
with -z, but this isn't the point of this post
moused_type=3D"ps/2"

so after booting and hooking up my USB mouse, I type:

> ps -aux | grep moused
root      1019  0.0  0.1  1208   752  ??  Is    8:32PM   0:00.00 moused -p
/dev/psm0 -t ps/2
root      1275  0.0  0.2  1208   784  ??  Ss    8:54PM =20
0:00.12/usr/sbin/moused -p /dev/ums0 -t ps/2 -I
/var/run/moused.ums0.pid

So, I can tell that it is using the same defaults that I specified in my
/etc/rc.conf file, but I can't figure out how to differentiate between the
two in /etc/rc.conf.  I tried running usbd -vd to figure out what the devic=
e
information, so I could enter it into /etc/usbd.conf file:

device "Basic Optical Mouse, Microsoft"
        vendor  0x045e
        product 0x0084
        release 0x0000
        attach '"/usr/sbin/moused -p /dev/${DEVNAME} -t auto -z "4 5" -I
/var/run/moused.${DEVNAME}.pid"'

Which when I kill everything and run usbd and attach my device again, I
still get the same output from ps -aux | grep moused.  Also, I noticed whil=
e
I killed usbd, I can still attach my usb mouse, so where should I be lookin=
g
in order to get my usb mouse to attach differently than stated in my
rc.conffile?

Thanks,
Jon



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