From owner-freebsd-hardware@FreeBSD.ORG Sat Sep 10 00:23:36 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7EC616A41F for ; Sat, 10 Sep 2005 00:23:36 +0000 (GMT) (envelope-from strick@covad.net) Received: from mail844.megamailservers.com (mail844.carrierinternetsolutions.com [69.49.106.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 512A743D46 for ; Sat, 10 Sep 2005 00:23:35 +0000 (GMT) (envelope-from strick@covad.net) X-POP-User: strick.covad.net Received: from mist.nodomain (h-67-103-34-118.snfccasy.dynamic.covad.net [67.103.34.118]) by mail844.megamailservers.com (8.13.1/8.13.1) with ESMTP id j8A0NXsl015473 for ; Fri, 9 Sep 2005 20:23:34 -0400 Received: from mist.nodomain (localhost [127.0.0.1]) by mist.nodomain (8.13.3/8.13.3) with ESMTP id j8A0NWvB001005 for ; Fri, 9 Sep 2005 17:23:32 -0700 (PDT) (envelope-from dan@mist.nodomain) Received: (from dan@localhost) by mist.nodomain (8.13.3/8.13.3/Submit) id j8A0NWtT001004 for freebsd-hardware@freebsd.org; Fri, 9 Sep 2005 17:23:32 -0700 (PDT) (envelope-from dan) Date: Fri, 9 Sep 2005 17:23:32 -0700 (PDT) From: Dan Strick Message-Id: <200509100023.j8A0NWtT001004@mist.nodomain> To: freebsd-hardware@freebsd.org Subject: 4D+ Mouse 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: Sat, 10 Sep 2005 00:23:36 -0000 Fearing that 3-button mice might soon become extinct, I just bought a bunch of cheap ones for my inventory. They were advertised as "LOGITECH" but are labeled "Labtec". During the bootstrap configuration monologue, the psm driver reports "psm0: model 4D+ Mouse, device ID 8". I tried two of these mice with FreeBSD 5.4 and neither worked with moused. The console went crazy when I moved the mouse. Moused worked a little better if I specified the "ps/2" protocol instead of "auto", but it still jerked the cursor around a bit anyway. I discovered that if I booted the system with a working ps/2 mouse attached and then connected the Labtec mouse in place of the working mouse, then the Labtec mouse worked just fine even with the "auto" protocol. I added this line: hint.psm.0.flags="0x200" to /boot/device.hints. This is the NOIDPROBE bit. It apparently tells the psm driver to ignore whatever the mouse says about itself and assume it is a generic ps/2 mouse. The psm driver now reports: psm0: model Generic PS/2 mouse, device ID 0 during bootstrap and the Labtec mice seem to work ok. I looked in the psm driver. It seems to think it knows something special about A4 Tech 4D+ mice. I didn't study the details or even verify that this is what it thinks my Labtec mice are. Can someone shed some light on this problem? Is choosing an off-brand ps/2 mouse something of a crapshoot? I never had such a problem before. (P.S. This problem may be specific to FreeBSD. RH FC4 Linux has no problem with the mouse. I bet that MS windows doesn't either. Does this count as a bug in the FreeBSD 5.4 psm driver or is it just a fact of life?) Dan Strick