From owner-freebsd-hackers Fri Nov 29 7:23:11 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 408BC37B401 for ; Fri, 29 Nov 2002 07:23:10 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id EB8DF43E9C for ; Fri, 29 Nov 2002 07:23:08 -0800 (PST) (envelope-from mdcki@gmx.net) Received: (qmail 31691 invoked by uid 0); 29 Nov 2002 15:23:07 -0000 Received: from cvpn019.gwdg.de (HELO gmx.net) (134.76.22.19) by mail.gmx.net (mp003-rz3) with SMTP; 29 Nov 2002 15:23:07 -0000 Message-ID: <3DE794AD.6000908@gmx.net> Date: Fri, 29 Nov 2002 17:24:13 +0100 From: Marcin Dalecki User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: PS/2 Mice device - synaptics touch pad. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Hello everybody. Well currently right now I'm trying to make all the buttons (4 of them) of my synaptics touch pad to work under BSD. Despite beeing embedid in a notebook, this device is physically attached to the PS/2 port. It knows about two operating modes - relative, aka normal PS/2 mouse protocoll, basically just usable for windows installs, - absolute, which gives full access to all buttons and not just two as well as absolute coordinates of the pressing point on the pad. I have already an XFree86 input device driver for it, which is working fine if run under Linux. Under FreeBSD the driver doesn't work as expected. A little bit of digging turned up that writing to the /dev/psm0 device fails. But I certainly *have* to write to the device to put it in to absolute mode. 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...) -- Marcin Dalecki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message