From owner-freebsd-bugs@freebsd.org Wed Sep 26 21:50:05 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E59B10B77A0 for ; Wed, 26 Sep 2018 21:50:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3B4078FEA9 for ; Wed, 26 Sep 2018 21:50:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F393510B779D; Wed, 26 Sep 2018 21:50:04 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B961B10B779C for ; Wed, 26 Sep 2018 21:50:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BB968FEA5 for ; Wed, 26 Sep 2018 21:50:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9AE221FD57 for ; Wed, 26 Sep 2018 21:50:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8QLo36V091615 for ; Wed, 26 Sep 2018 21:50:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8QLo3TX091614 for bugs@FreeBSD.org; Wed, 26 Sep 2018 21:50:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 231058] no support for active PS/2 multiplexing results in erratic behaviour of Synaptics touchpad on HP 8560w Date: Wed, 26 Sep 2018 21:50:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wulf@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2018 21:50:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231058 --- Comment #6 from Vladimir Kondratyev --- (In reply to Michael Figiel from comment #3) > I've attached acpi PS2M section from the HP 8560w, it lists two id > strings starting with SYN -- maybe both devices are Synaptics' ? I doubt it. My trackpoint-less HP laptop has exactly the same list of CIDS. > I can't disable single ports ... so I always get data from both devices. You can filter out unwanted data inside read_aux_data_no_wait() routine with dropping read_data() result if previous read_status() invocation has return= ed port number of port that should be disabled. > This amounts to hidden multiplexing -- the data streams of both devices w= ill be interleaved, at the level of three bytes. Fortunately, according to Synaptics docs, driver could be modified to suppo= rt 3bytes packets. Bit6 of 1-st byte is always 0 while bit6 of 4-th byte is al= ways 1. This fact can be used to do a proper assembly of single 6 byte packet f= rom two 3 byte ones. > I think, with this special hardware there are only two viable solutions: 3) Switch touchpad to absolute mode with packetsize reduced to 3 bytes and = use hidden multiplexing. I would like to avoid massive psm.c refactoring as it currently supports only one device at time. > But if you think that's not worth the effort Really I hate 0x46 hack. I spent 2 weekends trying to find a proper initialization way of HP touchpad and did not succeed. :( > If you want any logs/traces I'd be happy to provide them.=20 1. Trackpoint name as it was detected by Linux 2. Short snippets of dmesg or systemlog reflecting both trackpad and trackp= oint touches made with debug.psm.loglevel=3D5 inserted in to /boot/loader.conf I'll make 3-byte packetsize patch to test and will post it here than. Note = I'll be AFK for next two weeks so it can take some time. --=20 You are receiving this mail because: You are the assignee for the bug.=