From owner-freebsd-hackers Fri Nov 29 20:58:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E8F937B401 for ; Fri, 29 Nov 2002 20:58:33 -0800 (PST) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B097F43EAF for ; Fri, 29 Nov 2002 20:58:31 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp1561.sa.padsl.internode.on.net [150.101.252.24]) by smtp0.adl1.internode.on.net (8.12.4/8.12.4) with ESMTP id gAU4wNp5091266; Sat, 30 Nov 2002 15:28:24 +1030 (CST) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by midget.dons.net.au (8.12.2/8.12.2) with ESMTP id gAU4wJeQ081162; Sat, 30 Nov 2002 15:28:19 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: PS/2 Mice device - synaptics touch pad. From: "Daniel O'Connor" To: Marcin Dalecki Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <3DE794AD.6000908@gmx.net> References: <3DE794AD.6000908@gmx.net> Content-Type: text/plain Organization: Message-Id: <1038632298.39254.16.camel@chowder.dons.net.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 30 Nov 2002 15:28:18 +1030 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 () IN_REP_TO X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 2002-11-30 at 02:54, Marcin Dalecki wrote: > Looking further I discovered that the writing method is filled with a > global nowrite() function. > > What should I do about it: > > 1. Just provide the trivial psmwrite() augmenting kernel level function, thus > presering the higher level driver for XFree? > > 2. Move everything in to the kernel space?! (The driver isn't exactly > small due to many features like border detection and so on...) I think number 1 is probably best, IMHO it should go into moused, but given the way the moused code is written that is pretty tough :( Also if you follow step 1 you will have to provide some way of telling the psm device not to validate the input stream, because otherwise it will barf on the absolute packets. (I have done a little tinkering, but the moused/psm code makes my head explode) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message