From nobody Sat Oct 15 18:01:04 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MqWJw3jw2z4fNtn for ; Sat, 15 Oct 2022 18:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MqWJw1ZMsz42d0 for ; Sat, 15 Oct 2022 18:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MqWJw0cWvz1BlP for ; Sat, 15 Oct 2022 18:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29FI14xk018450 for ; Sat, 15 Oct 2022 18:01:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29FI14cQ018449 for bugs@FreeBSD.org; Sat, 15 Oct 2022 18:01:04 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 267094] [patch] Enable Touchpad on Fujitsu Lifebook Date: Sat, 15 Oct 2022 18:01:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pmc@citylink.dinoex.sub.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665856864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MbpCUiv2OdxRaQmcEqSUrJaWW8HNolV/bxdV4CaxC1A=; b=CAvHCUX3oL9tVMI9Kl5Uwul1TrDRB6ISiNna2l4rZ05csdjlLWFuK55/iavJidAsw8IFZ+ GEh4Puocg0MCozJmrioQZqL1uHRMxiqBUj0KdWiWc0S7AHS5PySwvH9mfbQylRlbjNdMWa HLf+YIXRKq273Kz9lAV1h2ClhbUvGCQKkO/NahvWE7cy2HlTT+wkonz8vnbFpBZrSbHuHm 8mmZPh7SeULnx+SSKcYsYKmBVHdoFx6MXJ36ZzilicVOsWJeLljPAe7/0EX+0rmJZqSVdQ YqBlYBJPXqwCDKuNv+VZv6UmmhNT1R1hNLRddClI/yyzl3nKNszQRNSxWHGC1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665856864; a=rsa-sha256; cv=none; b=PE2/n+r37vG/SZwZAvankkFaFfiATWQ1Bbz4i2yeSpltSnCAKZZT6oBFlcjn99LMpk5pYh AgRD/furx/mJZFXRWTN08a+FT2H/N1lpxEp2oPOW3+7IY1QybCQy+LmurO2j1x+4Bj3XHS 37KIOuWBVSsW3r43o3VLxCNOj2h/2FClLFh+i7vCzeQYctk9r0h9cWz43U7t1WyO/bTpZ4 aOoZHf4QTWwN1EW1trfl1tQWYXbsXR49zBF+zgZXqvJ01jhddGJFDTs2L2fu+mppWb1CHZ Ygl7jcd0wr/xB1dVwFD9vaBcN009M5ifJ2aRpSFlVvjokT4+ve59GVL8rhPHJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267094 Bug ID: 267094 Summary: [patch] Enable Touchpad on Fujitsu Lifebook Product: Base System Version: 13.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pmc@citylink.dinoex.sub.org Created attachment 237347 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237347&action= =3Dedit patch to dev/hid/hmt.c The Fujitsu lifebook, model A3511, has a builtin touchpad attached to ig4ii= c0. This touchpad is detected and functional in X, but it works as a mouse, i.e. considerably sloppy. Here is the device chain: pci0 ig4iic0 iicbus0 iichid0 hidbus0 hms0 hconf0 The hmt driver gets also autoloaded into the kernel, but does not attach, because it does not find any buttons on the device, and, according to the c= ode of that driver, a touchpad without buttons must not exist - for whatever re= ason I don't know: if I remove that check in the code, then the driver attaches = and the thing works (obviousely without the buttons). But the buttons do exist. They are just not at the place where the driver expects them. The attached patch now simply changes a "1" into a "2", and t= hen the thing works. I did not figure out how "quirks" would be created in this hid infrastructu= re, neither do I know if this is a problem on our side or with the device. Important: the touchpad device identifies as "ELAN0D07:00 04F3:3078" --=20 You are receiving this mail because: You are the assignee for the bug.=