quest for USB only mouse operation

KAYVEN RIESE kayve at sfsu.edu
Wed Dec 19 22:20:55 PST 2007


i have an ASUS laptop that i have photodocumented excessively:

http://www.monkeyview.net/id/965/fsck/index.vhtml

e.g. model decal:

http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml

i am trying to disable the touchpad mouse that i accidentally
brush and instead make my Macally Optigo

http://www.monkeyview.net/id/965/fsck/mousie/index.vhtml

USB mouse the only way to move my gnome pointer (i hope
i shouldn't have tried the gnome list, but this seems
sort of hardware-y)

at the command line this operation was successsful:


killall moused
moused -p /dev/ums0

here is a process display (prompt is "kv_bsd#")

kv_bsd# ps -A | grep moused
   527  ??  Ss     0:02.02 /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/moused.ums0.pid
   718  ??  Is     0:00.01 /usr/sbin/moused -p /dev/psm0 -t auto
kv_bsd#

the goal here, is to getting this working on startup. we tried
editing a config file catted below:

kv_bsd# cat /etc/rc.conf

# -- sysinstall generated deltas -- # Sun Dec  2 03:03:56 2007
# -- sysinstall generated deltas -- # Sun Dec  2 10:47:16 2007
# Created: Sun Dec  2 10:47:16 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.
linux_enable="YES"
moused_enable="YES"
moused_port="/dev/ums0"
moused_type="auto"
gdm_enable="YES"
sshd_enable="YES"
ntpdate_flags="ntp1.mainecoon.com"
ntpdate_enable="YES"
usbd_enable="YES"
ifconfig_bge0="inet 192.168.0.2 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
hostname="kv_bsd"
tcp_extensions="YES"
kv_bsd#


but that caused the touchpad to be dominant, i.e. the USB
mouse no longer works at all.

(an aside.. before someone tells me to do it in the
BIOS, i don't think i can.  however, i have taken pictures
of all the windows of my BIOS here:

http://www.monkeyview.net/id/965/fsck/bios/index.vhtml)

tried this:

echo "/usr/bin/killall moused ; sleep 1 ; /usr/sbin/moused -p /dev/ums0" > 
/usr/local/etc/rc.d/usbmouse

here is some dmesg info:

kv_bsd# dmesg | grep mouse
psm0: model Generic PS/2 mouse, device ID 0
kv_bsd#


what follows is cut from dmesg

psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0

more dmesg.. that's the mousie i want right there

ums0: vendor 0x2222 Macally Optigo USB Mouse, rev 1.10/6.30, addr 2, 
iclass 3/1
ums0: 3 buttons and Z dir.

and this didn't work either:


System->Preferences->Sessions

THen the Startup Programs tab, the Add button and then add this one:
/usr/local/etc/rc.d/usbmouse


more things i tried

kv_bsd# ps -A | grep mouse
   529  ??  Is     0:00.01 /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/mou
   959  p0  I+     0:00.01 vi /usr/local/etc/rc.d/usbmouse
kv_bsd# ps -A | grep mouse
   529  ??  Is     0:00.01 /usr/sbin/moused -p /dev/ums0 -t auto -I 
/var/run/moused.ums0.pid
   959  p0  I+     0:00.01 vi /usr/local/etc/rc.d/usbmouse
   963  p1  S+     0:00.00 grep mouse
kv_bsd# dmseg | grep ums
dmseg: Command not found.
kv_bsd# dmesg | grep ums
ums0: vendor 0x2222 Macally Optigo USB Mouse, rev 1.10/6.30, addr 2, 
iclass 3/1
ums0: 3 buttons and Z dir.
kv_bsd# moused -p /dev/ums0
moused: unable to open /dev/ums0: Device busy
kv_bsd# moused -p /dev/psm0
moused: unable to open /dev/psm0: Device busy
kv_bsd#

i hope i wasn't too lengthy about it  {:P

*----------------------------------------------------------*
   Kayven Riese, BSCS, MS (Physiology and Biophysics)
   (415) 902 5513 cellular
   http://kayve.net
   Webmaster http://ChessYoga.org
*----------------------------------------------------------*


More information about the freebsd-hardware mailing list