From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 18:15:07 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35581967 for ; Thu, 17 Apr 2014 18:15:07 +0000 (UTC) Received: from nm48-vm10.bullet.mail.bf1.yahoo.com (nm48-vm10.bullet.mail.bf1.yahoo.com [216.109.114.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DADAC10F6 for ; Thu, 17 Apr 2014 18:15:06 +0000 (UTC) Received: from [98.139.214.32] by nm48.bullet.mail.bf1.yahoo.com with NNFMP; 17 Apr 2014 18:13:14 -0000 Received: from [98.139.211.206] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 17 Apr 2014 18:13:14 -0000 Received: from [127.0.0.1] by smtp215.mail.bf1.yahoo.com with NNFMP; 17 Apr 2014 18:13:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1397758394; bh=wU00w+ir0nPddMevY4TXhSs4krvKtWLkn9MdGndWLis=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=lTPxLQktYO0NRcJtRQDgqzCT5vWE2vcElwuTmP8O+ba6HYsVKJyuT+B+jMHcgEZuX72XSdZNr2yoBv/jJxmx7CnADzK7g7H+aL+dfRbRlm6DZNocvE042ka7qi+oK0/R3cNQuABD1fOE/OAoCrSNsF6nKOSEtMnduMIGwh9wdVg= X-Yahoo-Newman-Id: 310191.25274.bm@smtp215.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: XsofXOIVM1kDRBHueeOEvOKz.K1XpsnQw.UnrnmOGXsaEoq FJS7u5YkPpqvx2UCkG7jKx_wKABf5.E_5YWOTA3emH7gYrCEBfI5zmtu4.ov CzqtAP7dNktWJ3oTFUsLrXraTwaJgi2Tf55xTnWEA20pIBtt_as3VQSFEK74 R_GtsXkmxVKSMwywtV223d1wODxSOqh3bl0Cn2K86l54dXF01fh_bMY6Sn7i 0sMONe5ZToDRt4AoYx.SzsQFR0N371qWw6Hzlvsh7hCWIIQjE4j1uYlsO648 MIhktj70Wq2zFiKbUxP3pJGvoitzDJsyqQZsngK7aM9Mwado5XgfopXpuhUm XQBtE_8LEidNo7DlUhRYtDWMBzThq6HsI6PJuoigSQARkRQ8L0i4QDr5026_ LUhDbsutn8IX.ssL4CtEXSX_xQiL0cBWXyS0H_b3CC.7O.jVUHivAMZvOS1W F5s0cGkqa256saOHrrVg9VJf1V2g59Cod1Z0l49MszYXVfvG29a.pvjyqR8V JYaD1NkDYapQJcnY2p.WPezSDUvc- X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- X-Rocket-Received: from [10.0.1.88] (Scoobi_doo@70.90.74.161 with plain [98.138.105.21]) by smtp215.mail.bf1.yahoo.com with SMTP; 17 Apr 2014 11:13:14 -0700 PDT Message-ID: <535019B8.7000000@yahoo.com> Date: Thu, 17 Apr 2014 14:13:12 -0400 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Subject: Re: ClickPad option with synaptics driver? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 18:15:07 -0000 On 04/15/2014 11:35, Ivan Rokotov wrote: > Hi freebsd-mobile members, > > (I'm reposting my question to x11 list since obviously there's not > much traffic there.) > > I'm trying to configure my Lenovo IdeaPad S400 Synaptics touchpad to > work properly. > > Environment: > * Lenovo IdeaPad S400 > * FreeBSD 10.0-RELEASE > * xf86-input-synaptics-1.7.2 compiled with 'WITH_NEW_XORG=yes' (to > enable Intel KMS driver) > * hw.psm.synaptics_support=1 in /boot/loader.conf > * dmesg | grep psm: > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model Synaptics Touchpad, device ID 0 > > Everything seems to work as expected, except ClickPad option. I > attached my Xorg log file. You can see from there what options I > enabled and how the touchpad is detected and configured. > > However, I'd say that the problem is deeper than Xorg level, because > no ClickPad capability is detected at all: > > [ 19.570] (--) synaptics: Touchpad0: Touchpad has extended capability bits > [ 19.570] (--) synaptics: Touchpad0: -> multifinger detection > [ 19.570] (--) synaptics: Touchpad0: -> palm detection > > Unlike this, in Linux, Xorg says: > > [ 22.776] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property > > So: is it possible at all to use ClickPad option with synaptics driver > on FreeBSD? If yes, could anybody share a success story? > > Ivan Looks like x11-drivers/xf86-input-synaptics only queries the ClickPad property on Linux: src/eventcomm.c: event_query_touch(InputInfoPtr pInfo): #ifdef EVIOCGPROP SYSCALL(rc = ioctl(pInfo->fd, EVIOCGPROP(sizeof(prop)), &prop)); if (rc >= 0 && BitIsOn(&prop, INPUT_PROP_SEMI_MT)) { xf86IDrvMsg(pInfo, X_INFO, "ignoring touch events for semi-multitouch device\n"); priv->has_semi_mt = TRUE; } if (rc >= 0 && BitIsOn(&prop, INPUT_PROP_BUTTONPAD)) { xf86IDrvMsg(pInfo, X_INFO, "found clickpad property\n"); para->clickpad = TRUE; } #endif EVIOCGPROP is a Linux ioctl. Someone'll have to write a patch to query the FreeBSD device for that property. I guess I'll see how hard it'll be to add that bit. Anthony > > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"