From owner-freebsd-current@FreeBSD.ORG Thu Feb 7 20:55:41 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B0E916A419; Thu, 7 Feb 2008 20:55:41 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from h5.valero.com (h5.valero.com [209.99.19.71]) by mx1.freebsd.org (Postfix) with ESMTP id 01F9C13C455; Thu, 7 Feb 2008 20:55:40 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from mssais16.valero.com ([192.168.250.15]) by h5.valero.com (Switch-3.2.5/Sentrion-1.5.5) with ESMTP id m17KORnk025790; Thu, 7 Feb 2008 14:24:28 -0600 Delivered-To: matt.moulder@valero.com X-VirusChecked: Checked X-Env-Sender: owner-freebsd-stable@freebsd.org X-Msg-Ref: server-13.tower-191.messagelabs.com!1202399741!29782493!1 X-StarScan-Version: 5.5.12.14.2; banners=-,-,- X-Originating-IP: [69.147.83.53] X-SpamReason: No, hits=0.0 required=7.0 tests= Delivered-To: freebsd-stable@freebsd.org X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Message-ID: <47AB29D4.1040409@icyb.net.ua> Date: Thu, 07 Feb 2008 17:55:00 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20080123) MIME-Version: 1.0 To: freebsd-hardware@freebsd.org, freebsd-stable@freebsd.org, freebsd-current@freebsd.org References: <4799D78F.6000405@icyb.net.ua> <47A097FA.3090303@icyb.net.ua> <20080130164508.GC6257@suse.cz> <47A2E7E5.1040307@icyb.net.ua> <20080201093806.GA4632@suse.cz> <47A738AE.5070900@icyb.net.ua> In-Reply-To: <47A738AE.5070900@icyb.net.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-VLO_ORIGIP: 216.82.241.83 X-OriginalArrivalTime: 07 Feb 2008 15:58:46.0373 (UTC) FILETIME=[52236950:01C869A2] Cc: Subject: Re: ps/2 mouse patch [intellimouse explorer detection] X-BeenThere: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 20:55:41 -0000 Still nobody comes forward. Is there any maintainer of psm driver? As a final authority I am forced to quote now Microsoft itself on this matter: http://www.microsoft.com/whdc/device/input/5b_wheel.mspx I've also found a PR for the similar hardware from the same vendor with the same symptoms: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/118578 I am moving this discussion there now, but knowing how the PRs are handled for the bits without a maintainer or with very-low-activity maintainer[*], this is a cry of hope and desperation. [*] - Well, I know that I am talking about very old code, for very old protocol where things should have long been settled. But apparently there are cases when the code works in 99% of cases and nobody cares about the rest 1%, even if that percent is not some quirky hardware, but the hardware that does follows its specification, only too rigidly. on 04/02/2008 18:09 Andriy Gapon said the following: > on 01/02/2008 11:38 Vojtech Pavlik said the following: >> On Fri, Feb 01, 2008 at 11:35:33AM +0200, Andriy Gapon wrote: >>> I compared FreeBSD and Linux sources more thoroughly and found the >>> following: >>> http://lxr.linux.no/linux+v2.6.24/drivers/input/mouse/psmouse-base.c#L464 >>> static int im_explorer_detect(struct psmouse *psmouse, int set_properties) >>> { >>> struct ps2dev *ps2dev = &psmouse->ps2dev; >>> unsigned char param[2]; >>> >>> intellimouse_detect(psmouse, 0); >>> >>> I.e., first thing the explorer probe does is massaging a mouse with >>> IntelliMouse magic commands. >>> >>> I did the same in FreeBSD psm.c, i.e., added a call to >>> enable_msintelli() at the very start of enable_msexplorer(). And voilą - >>> everything is perfect, correct ID is returned, probing succeeds, the >>> mouse works great. >>> >>> I think that this change is quite safe to make in FreeBSD, because with >>> Linux user-base we can be 99% percent sure that this change won't break >>> anything. >> It is even correct: A mouse isn't required to be able to jump straight >> into the Explorer mode, it is supposed to always go through the >> IntelliMouse mode. > > Any takers to test this change with your current PS/2 mouse (either > working or non-working) ? > Any takers to commit this change ? :-) > > Will this issue get more traction if I file a PR? > > > -- Andriy Gapon _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"