From nobody Sun Jul 03 03:06:36 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 7FDBC876239 for ; Sun, 3 Jul 2022 03:06:37 +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 4LbDNs1t4Sz3l11 for ; Sun, 3 Jul 2022 03:06:37 +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 20EB91C1F0 for ; Sun, 3 Jul 2022 03:06:37 +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 26336b8p035451 for ; Sun, 3 Jul 2022 03:06:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26336bRI035450 for bugs@FreeBSD.org; Sun, 3 Jul 2022 03:06:37 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] [patch][asmc] Add support for MacBookPro6,2 Date: Sun, 03 Jul 2022 03:06:36 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fbsdbug@edcrowe.com 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=1656817597; 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=T3Kuo8DQ6tqs0hgmmx1RHgcF4UCCF/ShMgUJhfNm2rY=; b=f3gS4BQxy7zQlcimzROzkP3IN2KyOelJn+xPUaiQTNiGuSKpJaTMHnXlH8Df8bzpDT+u1v dtc619ieg1GG6vlu63IZUzxYUQAl5ZXfPVaw93L1lJfyUQDKHn5SKGRePzeqvCuHdiHUUU 7kpJFWOtVMYXC5HgENy08GoSQAGWpRtj3a5lIe5UiJCDI3TWPOSw2N3LF5OewEJYHZj91c X7DRIzfCeDVbolqX2SBqa+n9B0/bvU+nzQdTyZUH59w/fcs+Qo3vZbkYBA7k8/AjB9oVt4 Li8obVoRCoQHwIskGjSViEOcWyn46eJsNjOeorrPP8NTPscaPPgnYE2PLnsfbA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656817597; a=rsa-sha256; cv=none; b=c9N1bNPzD1d568MXeFgqIxMFKjUIhf9nhrfG7MZ9zJCRa2XnoZwDY5VA5tGy9uj9JPN3gG Ru0SLZ3U/yEyG29i0YMr+gUvfG6WChX6U0N90jgIcgrBsKsrUV+Am7epOyH4tI8zpn7Jfu UEYhq38nOyXYBL0Gr189LLL/9WfS3aTolftPkWeKh+Z/uoYIuTPLwBdI8TfcrDe2UKo0ni 4w1lNsOWj4donv/bghHor/ipb6ZTtKo9aBR0P4f2FxMO/C1h6F9Vg5/HmcIzGScTr/610F jhJl4Te3r6vnT2xWUgKzB/rHbQVy83gmNlA64JEQfhCL3Ri0eW9hotOnsgqrjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265005 Bug ID: 265005 Summary: [patch][asmc] Add support for MacBookPro6,2 Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: fbsdbug@edcrowe.com Created attachment 235042 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235042&action= =3Dedit asmc driver patch file Add support for MacBookPro6,2 (Mid 2010, 15") to asmc driver. Ignores interrupt from ambient light sensor (referred to as ALSL from what I could find). Adds the number of an unknown interrupt to the log output. First patch submission. Please let me know if I should change/fix anything. P.S. The reason I choose to ignore the interrupt is that it triggers so often it fills the logs/console with messages; I am not aware of how to determine if= the light levels are going up or down to make it useful; if this interrupt exis= ts on other models, I didn't see any code for it; and this interrupt does not trigger on a MacBookPro9,2 that I tested the original asmc driver against. = I'm pretty sure it is specific to this model. --=20 You are receiving this mail because: You are the assignee for the bug.=