From owner-freebsd-x11@FreeBSD.ORG Sun Jul 31 18:19:25 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66259106564A for ; Sun, 31 Jul 2011 18:19:25 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E9CFD8FC0A for ; Sun, 31 Jul 2011 18:19:24 +0000 (UTC) Received: by fxe4 with SMTP id 4so5346555fxe.13 for ; Sun, 31 Jul 2011 11:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=UfmY1JrYkMQJqXPPC16VWzC3I0BoEC7s/N9ss1HSnVo=; b=Ymm1Akh37Om/VrHBxKTy9LTU7dEK6u/amVNlF2Wd1k56Jn4p7Mc63B835ieasqlTCF 1UbbDVE3gn0KOZdIR3knMzsMB+NcUGtPU1gV8lzIqBWX7mw6uGF2/SwNO0/6g7JXgyTa Sm627HNQjkcv5dJAyXsjVzmse/qaEQkrACUZE= Received: by 10.223.21.141 with SMTP id j13mr5056172fab.79.1312136363821; Sun, 31 Jul 2011 11:19:23 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id g20sm1885287fai.45.2011.07.31.11.19.21 (version=SSLv3 cipher=OTHER); Sun, 31 Jul 2011 11:19:22 -0700 (PDT) Sender: Alexander Motin Message-ID: <4E359C8D.1020102@FreeBSD.org> Date: Sun, 31 Jul 2011 21:18:53 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Koop Mast References: <4E255F64.30608@FreeBSD.org> <4E2B219B.7070608@FreeBSD.org> <1311510259.1962.5.camel@crashalot.rainbow-runner.nl> <4E2C43B9.1030109@FreeBSD.org> In-Reply-To: <4E2C43B9.1030109@FreeBSD.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org Subject: Re: USB HID support for xf86-input-mouse (including digitizers and touchscreens) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2011 18:19:25 -0000 Alexander Motin wrote: > Koop Mast wrote: >> On Sat, 2011-07-23 at 22:31 +0300, Alexander Motin wrote: >>> Alexander Motin wrote: >>>> Looking on xf86-input-mouse, I've found that it includes some code to >>>> support USB HID pointing devices directly using libusbhid library. But >>>> that code seemed like newer worked (at least on FreeBSD) and is quite >>>> limited. Same time that approach would allow us to override different >>>> limitation, now imposed by sysmouse protocol. For example, to support >>>> absolute coordinates, pressure force, multiple touches, etc. I've made a >>>> patch, rewriting it to support wide range of pointing devices. I've >>>> tested it with few mouses, digitizer and two touchscreens. >>> First, I would like to tell about newer patch version: >>> http://people.freebsd.org/~mav/patch-zz-input-mouse9 >>> >>> Second, I still would like to hear any comments from x11@ people about >>> possibility to include this patch to the xf86-input-mouse port. Patch >>> should not be invasive for existing users, as most of code it touches >>> never worked on FreeBSD before. If with perspective of the port update >>> you need patch for the newer driver version, I will gladly do it, it >>> should not be difficult. >> Could you regen the patch against xf86-input-mouse 1.7.1? > > Sure. Here it is: http://people.freebsd.org/~mav/patch-zz-input-mouse9.1.7.1 > It builds with our present X server, and old code even works, but I > can't test the new, as even without my patch there is some problem with > options parsing -- driver sees no options at all. I suppose it may be > some incompatibility with our present (old) server. I've updated X from the development tree and the problem has gone now. Touch-screen works fine with 1.7.1 driver and patch above. Also, just for note, I've installed intel-kms driver and it works on my Atom N570 (Pineview GM, according to the driver) in 2D with xv. Attempt to enable effects in KDE instantly locked up the system. Unluckily there is neither serial nor firewire ports on the netbook. vesa driver is still working, but required rebuild to work with new server. -- Alexander Motin