From nobody Sun Jul 10 04:16:41 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 99CF31CFBB81 for ; Sun, 10 Jul 2022 04:16:41 +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 4LgYcT23n9z425R for ; Sun, 10 Jul 2022 04:16:41 +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 4LgYcT17HCz1BJF for ; Sun, 10 Jul 2022 04:16:41 +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 26A4Gf9l003371 for ; Sun, 10 Jul 2022 04:16:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26A4Gfcs003370 for bugs@FreeBSD.org; Sun, 10 Jul 2022 04:16:41 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 265005] asmc(4): Add MacBookPro6,2 support Date: Sun, 10 Jul 2022 04:16:41 +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: 13.1-RELEASE X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fbsdbug@edcrowe.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback+ mfc-stable13? mfc-stable12? 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 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=1657426601; 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: in-reply-to:in-reply-to:references:references; bh=EaSjTIlAZXoHpMtdp0D/AsCieftGpbZPDJKSSA9qVH4=; b=c7X7z+zr6TG7DRISzQqmFYeqBqeyYCHWkM1nMGnPcd+Hknc0aPrschRfT7E7vAhwQr03yc tH5qS5shjV2VA/w2NroyVy2vGRVwW37BWu6qjiNAcwuHkGA2HT8zKsHd8yq1+Ds9fG/far tPowJDPwtsI9AjA0Pg5AHMxlDN3uts2ZYByqN0yH4Mr0OpRrIZ4RpyFgugzCOq0M48tEaX +M865zyj05iXOCkqRzRIudhKwCYh+wcp1hC+zJkSjg46LtAxgu1K46Q9Aq0dVecOLLB29s OYjZ7r0taienpI9Zfc412Vb9+pfPCsLR2L654XTxGIwyIp5OgJPE6HVzweJv4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657426601; a=rsa-sha256; cv=none; b=KrC+veG0dVJ47Pf7PeJCbRLgPZ3bEmg4wj/JzdCt5pJ89oUv8ajzaZnefhmTLv8wSSTZVn CIbDa77o1DhmkKTfDEnMM17Sm7gtj5bhmh/GoKWk10qbwA4Cz+2Gsv1ZzbcNRKRKkHV/b1 WzMtdgbFBtZ1VVlCT7b4MsxZUG776CqpxSa/VPhVYBjorQH4dkMImBr8SBnShNHmdjacqZ C1ngk1ItDAmrsROR0YV+IbtK9kDYFG1I0EmFa4q0waKDHF+7chSqT1Q0skb0e/crkJPExd 2oIeJTCNp2w8swSC+h3E47INXccKfNPOpAJZLBtbB3v5qa40IilADny0LA8saA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265005 --- Comment #4 from ed crowe --- Thank you both for the feed back. I will submit a few new options. I can confidently say the interrupt only triggers on a change of ambient li= ght - up or down. The reason it triggers so often (for me at least) is that in a low to mildly lighted room, the laptop's own display brightness will trigger the sensor. eg running top on what was a sparse white text on a black background console, or switching between a light background and a dark background window in an X11 session. I'm not sure how/if i can get much detail on this specific Apple product. I= did not want to look at any Linux(GPL) code that might exist for this driver. If you have any references on interrupt handling/masking and where that is handled, that would be helpful. I'll take a look at devd documentation.=20 I'm getting re-antiquated with freeBSD (I spent many days using 2.0-4.x. My= day jobs unfortunately took me elsewhere in Unix land). So please forgive my ignorance on freeBSD specifics. I really appreciate anyone even considering a patch for a 12 year old piece= of hardware. --=20 You are receiving this mail because: You are the assignee for the bug.=