NetBSD Problem Report #38951

From www@NetBSD.org  Sat Jun 14 04:51:58 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id E5EC163B8E3
	for <gnats-bugs@gnats.netbsd.org>; Sat, 14 Jun 2008 04:51:57 +0000 (UTC)
Message-Id: <20080614045157.3E71863B842@narn.NetBSD.org>
Date: Sat, 14 Jun 2008 04:51:57 +0000 (UTC)
From: hsaliak@gmail.com
Reply-To: hsaliak@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Introduce trackpad support for trackpad on 14.1" ibooks 
X-Send-Pr-Version: www-1.0

>Number:         38951
>Category:       port-macppc
>Synopsis:       Introduce trackpad support for trackpad on 14.1" ibooks
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 14 04:55:00 +0000 2008
>Closed-Date:    Thu May 25 06:13:34 +0000 2017
>Last-Modified:  Thu May 25 14:45:01 +0000 2017
>Originator:     Kailash Sethuraman
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
NetBSD rodimus 4.0_STABLE NetBSD 4.0_STABLE (RODIMUS) #10: Sat Jun 14 12:27:18 SGT 2008  hsaliak@rodimus:/usr/src/sys/arch/macppc/compile/RODIMUS macppc

>Description:
Currently, the track pad for a 14.1" macppc is not recognized by the pbms driver. This is due to the product ID not being present in the driver.

This patch introduces the track pad driver support. I have also experimented a bit with the x sensors and y sensors value to make it have a fairly good control of the track pad. ( it isn't perfect though)


>How-To-Repeat:
Install the MacPPC port on a 14.1" ibook G4 and start X.org and notice the lack of trackpad support
>Fix:
Apply the following patch to the netbsd-4 branch:
Looking at -current code, it appears that a similar change needs to be made to it as well.

Index: dev/pbms.c
===================================================================
RCS file: /cvsroot/src/sys/arch/macppc/dev/pbms.c,v
retrieving revision 1.4
diff -b -u -r1.4 pbms.c
--- dev/pbms.c  12 Nov 2006 19:00:43 -0000      1.4
+++ dev/pbms.c  14 Jun 2008 04:34:58 -0000
@@ -240,6 +240,8 @@
        }
        /* 12 inch PowerBooks */
        POWERBOOK_TOUCHPAD(12, 0x030a, 69, 16, 52), /* XXX Not tested. */
+       /* 14.1 inch ibook */
+       POWERBOOK_TOUCHPAD(14, 0x030b, 69, 16, 57), /* XXX Not tested. */
        /* 15 inch PowerBooks */
        POWERBOOK_TOUCHPAD(15, 0x020e, 85, 16, 57), /* XXX Not tested. */
        POWERBOOK_TOUCHPAD(15, 0x020f, 85, 16, 57),

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 31 Oct 2016 06:20:17 +0000
State-Changed-Why:
it seems your PR was not noticed, but phx in r1.12 also added a similar
change. does it work well enough for you?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 25 May 2017 06:13:34 +0000
State-Changed-Why:
no feedback, similar change was added a long time ago, assume it's ok


From: Kailash Sethuraman <hsaliak@gmail.com>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, dholland@netbsd.org, 
	port-macppc-maintainer@netbsd.org
Subject: Re: port-macppc/38951 (Introduce trackpad support for trackpad on
 14.1" ibooks)
Date: Thu, 25 May 2017 07:43:35 -0700

 --001a114da65ce3c6c905505a3e51
 Content-Type: text/plain; charset="UTF-8"

 Yup, this is OK. I tried leaving feedback but it somehow didn't work.

 On May 24, 2017 11:13 PM, <dholland@netbsd.org> wrote:

 Synopsis: Introduce trackpad support for trackpad on 14.1" ibooks

 State-Changed-From-To: feedback->closed
 State-Changed-By: dholland@NetBSD.org
 State-Changed-When: Thu, 25 May 2017 06:13:34 +0000
 State-Changed-Why:
 no feedback, similar change was added a long time ago, assume it's ok

 --001a114da65ce3c6c905505a3e51
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"auto"><div>Yup, this is OK. I tried leaving feedback but it som=
 ehow didn&#39;t work.=C2=A0<br><div class=3D"gmail_extra"><br><div class=3D=
 "gmail_quote">On May 24, 2017 11:13 PM,  &lt;<a href=3D"mailto:dholland@net=
 bsd.org">dholland@netbsd.org</a>&gt; wrote:<br type=3D"attribution"><blockq=
 uote class=3D"quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
 padding-left:1ex"><div class=3D"quoted-text">Synopsis: Introduce trackpad s=
 upport for trackpad on 14.1&quot; ibooks<br>
 <br>
 </div>State-Changed-From-To: feedback-&gt;closed<br>
 State-Changed-By: dholland@NetBSD.org<br>
 State-Changed-When: Thu, 25 May 2017 06:13:34 +0000<br>
 State-Changed-Why:<br>
 no feedback, similar change was added a long time ago, assume it&#39;s ok<b=
 r>
 <br>
 <br>
 <br>
 </blockquote></div><br></div></div></div>

 --001a114da65ce3c6c905505a3e51--

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.