From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 26 20:09:58 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 2E923635 for ; Thu, 26 Jun 2014 20:09:58 +0000 (UTC) Received: from nm48-vm2.bullet.mail.bf1.yahoo.com (nm48-vm2.bullet.mail.bf1.yahoo.com [216.109.115.157]) (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 CFA362359 for ; Thu, 26 Jun 2014 20:09:57 +0000 (UTC) Received: from [98.139.215.142] by nm48.bullet.mail.bf1.yahoo.com with NNFMP; 26 Jun 2014 20:08:04 -0000 Received: from [68.142.230.72] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 26 Jun 2014 20:08:04 -0000 Received: from [127.0.0.1] by smtp229.mail.bf1.yahoo.com with NNFMP; 26 Jun 2014 20:08:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1403813284; bh=J1VTAHWVZXXXVY4TCwCmL0YBhKUnYMLCaD7GIo2ERHQ=; 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:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=AWAgA/e5uSdAUw5dyEHvqC/UGkc2SdQ57nC/gRNeqkgZQ+HUOWXGIpKQEd4EsEoLzpTrkql/8G7PZS73L8Wps7GlwuGXrxmK/27lQoW9yLi0gnIyjih93+rkJ/xoUdXpVYKRPmmRaFw8bJozv1b4DaFF9oke7mUGY/mXrfZIFc4= X-Yahoo-Newman-Id: 390488.63160.bm@smtp229.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: DGeYo_cVM1n9MLlAlaY3qC3ef1n3jU_7UkAaDD8t41jd1gb 1FQQWnlaQ.Yjsg1z3ZLyHQoSFztkAxh2gs5tEAVhcTeego1FHbKwSNjvNd8E Klsg_sJhd_Nizr2pmfNAqdvDNr8TRMPLb5.ObjrTg2EKiSJFxoIx1QSDVYO8 bXM310__bfFNt4R8z4w8j6cn8E4Xdlt_aw9.yh5ZmnLyfdK_feSdwDpRkZIG GlVNf_Q19B5.GDq.RDuPVC0dH1tnWxI677nBvOYIHeQ_Dn2Mrw_OuDbbwWOi GwFf7jlbRQAHYBxim_iyj0XdwgjgebDBpKp1GGGsQB3QY6ohCTbM.AH3T0B0 5Ov1Qi2RDQOBM4SNeVNQ9HBWkC7rQnb89whaoiY1GgukxPzpzC_RBFAZi__5 NYP3nacQSLWswaiGncesouOAJK7YHFDF6fSC2mgwORFO0XKNVZND.CQcYOTP JD7uRl3.SoLOdlEryGTeb52SUIpVxYvbyRk0vk56DGkGq789l2VoNr6Xp_io kPqVY1SPNS.qGF9oinLbT_IR901pgghkrx2vnNCSeUAci59NENF_zucj7983 cYaLJ1.yB X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- X-Rocket-Received: from [64.100.76.67] (Scoobi_doo@64.100.76.67 with plain [98.138.105.21]) by smtp229.mail.bf1.yahoo.com with SMTP; 26 Jun 2014 20:08:04 +0000 UTC Message-ID: <53AC7DA4.80408@yahoo.com> Date: Thu, 26 Jun 2014 16:08:04 -0400 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Ivan Rokotov Subject: Re: [Patch] psm(4) ClickPad detection (was Re: Lenovo W540 so far) References: <539DA73B.7050709@metricspace.net> <1402931204.35984.YahooMailNeo@web140703.mail.bf1.yahoo.com> <58DCAA2E-44DA-48F3-87B3-366301F55138@metricspace.net> <53A02532.60201@metricspace.net> <53A03BAF.3020807@yahoo.com> <53A080D3.2000207@yahoo.com> <53A23DAF.7030201@yahoo.com> <1403185649.28371.YahooMailNeo@web140703.mail.bf1.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Eric McCorkle , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2014 20:09:58 -0000 On 06/19/2014 11:20, Ivan Rokotov wrote: > 2014-06-19 15:47 GMT+02:00 Anthony Jenkins : >> The keyboard not working bugs me - you might try doing a 'make >> buildworld/installworld' as per /usr/src/UPDATING (or just copy >> /usr/src/sys/sys/mouse.h to /usr/include/sys/mouse.h) and rebuild >> x11-drivers/xf86-input-{mouse|keyboard|synaptics}. > Thank you, this was the problem. Sorry, I overlooked that I have to > copy the new mouse.h to /usr/include/sys before rebuilding the > synaptics driver. Now (with patched kernel and patched driver) I have > everything as before: clickpad property is detected during boot, and > working keyboard and touchpad in X (without real click possibility - > as far as I understand, it's expected). > > So now I can move to the further tests. :) > >> Is your X server compiled with devd(8) support (experimental) or hald support? > Default options: > [x] AIGLX Compile with Accelerated Indirect GLX support > [x] SUID Install the Xorg server with setuid bit set > -------------------------------- CONF ------------------------------ > (*) HAL Compile with HAL config support > ( ) DEVD Use devd for autoconfiguration of input devices (experi) > >> I'll probably need your entire /var/log/Xorg.0.log to see why it's not working. >> Can you kill your X server, then run > So I guess it's not needed for now. > > I. Quick status update: I can't (yet) get xorg-server to use the Synaptics driver when both xf86-input-synaptics *and* xf86-input-mouse are installed; the "" fake device apparently probes for /dev/psm0 and loads the xf86-input-mouse driver. I'm not sure how other OSes handle this. I'll try booting Kubuntu sometime and see what its logfile says. Really, if the OS vendor configures X.org to use its own hardware detection subsystem, I (e.g. udev, devd, hald, etc.) believe X.org shouldn't have any default devices and should disable any default drivers. X.org is essentially cutting in front of the Synaptics driver, which could better handle our synaptics device. Also, nowadays who actually has a true PS/2 mouse? Synaptics should be the default driver for the PS/2 device. Who would I whine at for this stuff - the FreeBSD X team? :-) Anthony