From owner-freebsd-questions Tue May 8 8:22:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from Millions.Ca (h-207-228-120-32.gen.cadvision.com [207.228.120.32]) by hub.freebsd.org (Postfix) with ESMTP id 63B2537B422; Tue, 8 May 2001 08:22:25 -0700 (PDT) (envelope-from stacy@millions.ca) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id f48FMOf06133; Tue, 8 May 2001 09:22:24 -0600 (MDT) (envelope-from stacy@millions.ca) Received: from Oak.Millions.Ca(192.168.64.1) via SMTP by mail-gw-0.millions.ca, id smtpdbj6131; Tue May 8 09:22:16 2001 Received: from millions.ca (Maple.Millions.Ca [192.168.64.2]) by oak.millions.ca (8.8.8/8.8.5) with ESMTP id JAA01094; Tue, 8 May 2001 09:22:15 -0600 (MDT) Message-ID: <3AF80F26.F427EE05@millions.ca> Date: Tue, 08 May 2001 09:22:14 -0600 From: Stacy Millions Organization: Millions Consulting Limited X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Richard Tobin Cc: freebsd-mobile@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Sony Z600-HEK - un-recommendation References: <200105081034.LAA25094@banks.cogsci.ed.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Richard Tobin wrote: > Several things surprised me by just working - X, USB mouse, the USB > floppy (looks like a SCSI disk) and a wireless ethernet PC card. > > I'd like to be able to disable the touch pad when I have a mouse > attached - anyone know how to do that? I have a Sony Z505S and I use a Raritan PS/2 to USB to connect an external keyboard and mouse. Here is how I dealt with the multiple mice: 1) configured moused in /etc/rc.conf moused_enable="YES" moused_type="ps/2" moused_port="/dev/psm0" moused_flags="-I /var/run/moused.psm0.pid -3" 2) configured X to use moused Identifier "Mouse1" Driver "mouse" Option "Protocol" "MouseSystems" ^^^^^^^^^^^^ I never did figure out why I had to use this instead of SysMouse, but it works! Option "Device" "/dev/sysmouse" 3) configured usbd to start moused when a usb mouse is attached and stop it when the mouse is dettached device "Raritan PS/2 to USB" product 0x0101 vendor 0x04b4 release 0x0001 devname ums[0-9] attach "/usr/sbin/moused \ -I /var/run/moused.${DEVNAME}.pid -t auto \ -p /dev/${DEVNAME}; \ kbdcontrol -k /dev/kbd1 < /dev/console" detach "kill `cat /var/run/moused.${DEVNAME}.pid`; \ kbdcontrol -k /dev/kbd0 < /dev/console" Of course, you won't want to switch keyboards and if you want to disable the touch pad, you will need to kill off moused for the touchpad in the "attach" section and restart it in the "detach" Hope this helps. -stacy -- Nothing spoils fun like finding out it builds character. - Calvin Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message