From owner-freebsd-hardware@FreeBSD.ORG Wed Dec 26 18:38:22 2007 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA30816A41B for ; Wed, 26 Dec 2007 18:38:22 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron3.sfsu.edu (iron3.sfsu.edu [130.212.10.128]) by mx1.freebsd.org (Postfix) with ESMTP id B44A513C4D5 for ; Wed, 26 Dec 2007 18:38:22 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAGguckeC1Apk/2dsb2JhbACpOA Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron3.sfsu.edu with ESMTP; 26 Dec 2007 10:38:22 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2007122610382066-519 ; Wed, 26 Dec 2007 10:38:20 -0800 Date: Wed, 26 Dec 2007 10:38:21 -0800 (PST) From: KAYVEN RIESE To: freeBSD hardware list In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 12/26/2007 10:38:20, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 12/26/2007 10:38:22, Serialize complete at 12/26/2007 10:38:22 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ork@freebsd.org, freebsd-hackers@freebsd.org, Giulio Ferro , Donnie Subject: Re: quest for USB only mouse operation X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2007 18:38:22 -0000 On Wed, 19 Dec 2007, KAYVEN RIESE wrote: > > 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: 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 > *----------------------------------------------------------* > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------*