From owner-freebsd-usb@FreeBSD.ORG Mon Sep 17 14:25:06 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A910E1065670 for ; Mon, 17 Sep 2012 14:25:06 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 202118FC12 for ; Mon, 17 Sep 2012 14:25:05 +0000 (UTC) Received: by lage12 with SMTP id e12so5155294lag.13 for ; Mon, 17 Sep 2012 07:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RMd37ag9F3zP06wpaZAwu+lOoncWCSBlJcsvuRUmOrg=; b=xMxGq790aHZgDh6eSUj8/GMJjKpTaaJk8KrNUNQxCwzTYLQUQCkxBkbSnPtMZ+7O2l SL5cPmjqkoBQ2b/C6CxekfNt8Gcq2usMscsqUn+GOwSMC7SOR76UxKj0yBUiZRTl6K/r oGPK2AI8kDoXPy4snH1CI/YIusK1OvisRtwIKAqsn1eNI34m9dROI3OR8uOhBoy1eDxG Uz+BdqA+ZRmJOb1nPDr/YRt7WlVFLWCuyESU7Nmc0NBUWMALt2mlDUehwfWrr5vHQrJx Bjr4pPfjYnAhq3Yww0sOG/V7UHsfKAz7OTPTaV83AjouNj6U+s0Y/JsoUVgBPcYumRAF PI6Q== MIME-Version: 1.0 Received: by 10.152.104.77 with SMTP id gc13mr10023173lab.31.1347891904859; Mon, 17 Sep 2012 07:25:04 -0700 (PDT) Received: by 10.112.90.9 with HTTP; Mon, 17 Sep 2012 07:25:04 -0700 (PDT) In-Reply-To: References: <20120912211314.8F0932E8AC@smtp.tx97.net> <201209131753.38985.hselasky@c2i.net> Date: Mon, 17 Sep 2012 17:25:04 +0300 Message-ID: From: Vitaly Magerya To: Alexander Yerenkow Content-Type: text/plain; charset=UTF-8 Cc: freebsd-usb@freebsd.org Subject: Re: Support for graphics tablets X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2012 14:25:06 -0000 Alexander Yerenkow wrote: > I don't remember exact details, if I'm not mistaken, pressure was supported > (it's basically sent by tablet as one byte). > You should have three section of device in xorg, and xorg will take > automatically one as mouse, one as tablet (weird, but working magic). > Could you write later to this list about results :) Yeah, so after updating [1] to the latest xf86-input-mouse (1.8.1), the tablet seems to work. The caveat is that I haven't found a way to detach ums(4) from the device without recompiling the kernel with ums excluded. A workaround is to use sysutils/uhidd which will emulate an uhid(4) device from a given ugen(4) device, so pointing the patched mouse driver to that emulation seems to work. The few minor problems (compared to Linux) are: no proximity events, no relative mode support, and too many events (i.e. the driver produces input events even if pointer's coordinates did not change). Finally, mav@ replied pointing to his original post at [2]. [1] http://people.freebsd.org/~mav/patch-zz-input-mouse9.1.7.1 [2] http://lists.freebsd.org/pipermail/freebsd-hardware/2011-July/006749.html