From owner-freebsd-current@FreeBSD.ORG Sat Feb 5 22:11:48 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E045116A4CE for ; Sat, 5 Feb 2005 22:11:48 +0000 (GMT) Received: from ran.psg.com (ip192.186.dsl-acs2.seawa0.iinet.com [209.20.186.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B44143D46 for ; Sat, 5 Feb 2005 22:11:46 +0000 (GMT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=ran.psg.com.psg.com) by ran.psg.com with esmtp (Exim 4.43 (FreeBSD)) id 1CxY9Z-000Oka-0l; Sat, 05 Feb 2005 14:11:45 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16901.17568.508077.730828@ran.psg.com> Date: Sat, 5 Feb 2005 14:11:44 -0800 To: Gert Cuykens References: <16901.13269.509134.918380@ran.psg.com> cc: FreeBSD Current Subject: Re: logitec usb wireless mouse X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 22:11:49 -0000 > usbd_enable="YES" yep. and the keyboard would not have worked without that > ifconfig_rl0="DHCP" > saver="blank" > blanktime="300" not relevant, i hope > moused_enable="NO" hmmm. i use moused all the time, as i switch back and forth from touchpad to usb. > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5" > Option "Buttons" "5" > EndSection ahhhh. usbd is running moused for you. i hacked /etc/usbd.conf to have device "Mouse" devname "ums[0-9]+" attach "/usr/bin/killall moused; /usr/sbin/moused -p /dev/ums0 -t auto; /usr/sbin/vidcontrol -m on" detach "/usr/bin/killall moused; /usr/sbin/moused -p /dev/psm0 -t auto; /usr/sbin/vidcontrol -m on" device "Logitech Cordless Keyboard" devname "ukbd0" attach "/usr/sbin/kbdcontrol -k /dev/kbd1 < /dev/console" detach "/usr/sbin/kbdcontrol -k /dev/kbd0 < /dev/console" this switches back and forth between the built-in keyboard and the usb keyboard brilliantly. but the mouse has a will of its own. so then i have Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection again, the keyboard works, and usbdevs shows me port 2 addr 2: low speed, power 98 mA, config 1, \ USB Receiver(0xc50b), Logitech(0x046d), rev 21.00 and syslog shows ukbd0: Logitech USB Receiver, rev 1.10/21.00, addr 2, iclass 3/1 kbd1 at ukbd0 ums0: Logitech USB Receiver, rev 1.10/21.00, addr 2, iclass 3/1 ums0: 7 buttons and Z dir. and, when i plug the usb in, i see root 41884 0.0 0.1 1348 748 ?? Ss 2:07PM 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto randy, still confused